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/compare-3.jpg from darask0/MOSS-Image_4-step_adapter_lora: direct link, hf CLI and curl.
- Browser
- Download file 759 kB
-
https://huggingface.co/darask0/MOSS-Image_4-step_adapter_lora/resolve/main/images/compare-3.jpg
- Command line
-
hf download hf://darask0/MOSS-Image_4-step_adapter_lora/images/compare-3.jpg
-
curl -L -o compare-3.jpg https://huggingface.co/darask0/MOSS-Image_4-step_adapter_lora/resolve/main/images/compare-3.jpg
759 kB

- Xet hash:
- 323dedf2d71faf4dcda139d96934feb18e5f6309c277f912227bf083488ad1a4
- Size of remote file:
- 759 kB
- SHA256:
- 5d4c25546dd2f69244dd68d3f1009a042a42dbd7129ef82c609ffd9bc3d6f7d2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.