Instructions to use darask0/MOSS-Image_4-step_adapter_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use darask0/MOSS-Image_4-step_adapter_lora 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("darask0/MOSS-Image_4-step_adapter_lora") 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 images/training/init.jpg from darask0/MOSS-Image_4-step_adapter_lora: direct link, hf CLI and curl.
- Browser
- Download file 390 kB
-
https://huggingface.co/darask0/MOSS-Image_4-step_adapter_lora/resolve/main/images/training/init.jpg
- Command line
-
hf download hf://darask0/MOSS-Image_4-step_adapter_lora/images/training/init.jpg
-
curl -L -o init.jpg https://huggingface.co/darask0/MOSS-Image_4-step_adapter_lora/resolve/main/images/training/init.jpg
390 kB

- Xet hash:
- 2fa1938e5e8a640ef6747949079f0c148edde30eb16e6ffe34120ae6d1a1a703
- Size of remote file:
- 390 kB
- SHA256:
- cd9c128e6d91d429b7dd6354415758a6cb5219241c7217a3d77a36345489426e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.