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 dataspace.safetensors from darask0/MOSS-Image_4-step_adapter_lora: direct link, hf CLI and curl.
- Browser
- Download file 65.8 kB
-
https://huggingface.co/darask0/MOSS-Image_4-step_adapter_lora/resolve/main/dataspace.safetensors
- Command line
-
hf download hf://darask0/MOSS-Image_4-step_adapter_lora/dataspace.safetensors
-
curl -L -o dataspace.safetensors https://huggingface.co/darask0/MOSS-Image_4-step_adapter_lora/resolve/main/dataspace.safetensors
65.8 kB
- Xet hash:
- a68aa5bd685608e0a991320251f9215fe614ecc2812aa8fd33ffff0b68d5a30a
- Size of remote file:
- 65.8 kB
- SHA256:
- d19f0e695bb26886cfce57441fd412f358e159d6eec8555ec1a71daaf30a7968
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.