Instructions to use Muapi/lcm-lora-weights-stable-diffusion-acceleration-module with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Muapi/lcm-lora-weights-stable-diffusion-acceleration-module with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Muapi/lcm-lora-weights-stable-diffusion-acceleration-module") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 132 Bytes
3362c04 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:bbe4cb2ceeb8a8303a7a1c14adc4ac715b91184311437071e71632bde01c2d8b
size 2666477
|