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/launch_video.mp4 from akhaliq/MOSS-Image-SFT-4-steps: direct link, hf CLI and curl.
- Browser
- Download file 805 kB
-
https://huggingface.co/akhaliq/MOSS-Image-SFT-4-steps/resolve/main/showcase/launch_video.mp4
- Command line
-
hf download hf://akhaliq/MOSS-Image-SFT-4-steps/showcase/launch_video.mp4
-
curl -L -o launch_video.mp4 https://huggingface.co/akhaliq/MOSS-Image-SFT-4-steps/resolve/main/showcase/launch_video.mp4
805 kB
- Xet hash:
- 5cc3e361c97af8c3b45369a9dcfcfc3f4205ac2caaae5e7139d01382157d6b5e
- Size of remote file:
- 805 kB
- SHA256:
- d3796e0ed144c87584e9176aaa87fe8bcd9a16ff9a54686e44741460e846f96f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.