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
I posted a comparison of this LoRA on MOSS and my 4 step LoRA for Krea 2 Turbo, and great job AK! Your LoRA applied to MOSS wins in my opinion :)
🚀 1
#5 opened 3 days ago
by
lvladikov
I need workflow
1
#4 opened 3 days ago
by
hassansolangi
Error on executing pipe.load_lora_weights(...)
2
#2 opened 4 days ago
by
aaa3579