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

- Xet hash:
- ccc7f0d15e7544e21c5b766ded65f6afb290cc03c2b2c99fc5def6532a846b33
- Size of remote file:
- 3 MB
- SHA256:
- 497ef95e91d88acc78f648fbd9501ab53c08ced34c84a4442eb2fa1cde9e23df
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.