Instructions to use latent-consistency/lcm-sdxl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use latent-consistency/lcm-sdxl with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("latent-consistency/lcm-sdxl", torch_dtype=torch.bfloat16, device_map="cuda") 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
- Xet hash:
- a070b69880a97df8f2b4bc8074ff58d0c9184eac8140d6de288d7b36647eb84d
- Size of remote file:
- 5.14 GB
- SHA256:
- e906040f7a2f484cf6c4fcef93bfa3cead8c245a87d02c825a1554bad9c7204a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.