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

- Xet hash:
- d9fc2bdb023a2a1ff3b867ce1b315db3fa274e73f42b48e234959cf05fe5f6b4
- Size of remote file:
- 1.29 MB
- SHA256:
- 410fa511e96279ee6b5fb4792b4807cf33ab9e1f2a4805d0cdb689c6ff8f2758
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.