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/race_infographic_v1.gif from akhaliq/MOSS-Image-SFT-4-steps: direct link, hf CLI and curl.
- Browser
- Download file 1.07 MB
-
https://huggingface.co/akhaliq/MOSS-Image-SFT-4-steps/resolve/main/showcase/race_infographic_v1.gif
- Command line
-
hf download hf://akhaliq/MOSS-Image-SFT-4-steps/showcase/race_infographic_v1.gif
-
curl -L -o race_infographic_v1.gif https://huggingface.co/akhaliq/MOSS-Image-SFT-4-steps/resolve/main/showcase/race_infographic_v1.gif
1.07 MB

- Xet hash:
- 5c5f545bbe7edb896d2ce0e33e37d0eedf5526e8e157204040c648fdb06dda8e
- Size of remote file:
- 1.07 MB
- SHA256:
- 9e2af70f7644888c4929689f6b92f68961c325b698c9b01f489e883eefba6e75
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.