Instructions to use akhaliq/MOSS-Image-SFT-4-steps with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use akhaliq/MOSS-Image-SFT-4-steps with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OpenMOSS-Team/MOSS-Image-SFT", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("akhaliq/MOSS-Image-SFT-4-steps") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download showcase/vs_darask_shanghai.png from akhaliq/MOSS-Image-SFT-4-steps: direct link, hf CLI and curl.
- Browser
- Download file 2.97 MB
-
https://huggingface.co/akhaliq/MOSS-Image-SFT-4-steps/resolve/main/showcase/vs_darask_shanghai.png
- Command line
-
hf download hf://akhaliq/MOSS-Image-SFT-4-steps/showcase/vs_darask_shanghai.png
-
curl -L -o vs_darask_shanghai.png https://huggingface.co/akhaliq/MOSS-Image-SFT-4-steps/resolve/main/showcase/vs_darask_shanghai.png
2.97 MB

- Xet hash:
- 2cf1da8cbabb40eb525296f4cbe4b8a827ccab61f0609f34e8f455eb795c79e9
- Size of remote file:
- 2.97 MB
- SHA256:
- 6b2285c8276e12223720754c3c32fb3f33b0b8d1cf2d02bf5a23af942e9be88b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.