Instructions to use stabilityai/sdxl-turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/sdxl-turbo 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/sdxl-turbo", dtype=torch.bfloat16, device_map="cuda") 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
Commit History
-
onnx (#15)
- add model (a219435f4666d3a133324785b8169e31b90261ff) Co-authored-by: Ella Charlaix <echarlaix@users.noreply.huggingface.co>fbda352
-
Add diffusers weights (#4)
- add diffusers weighst (51e1b905f0d644efa6685a6912a45c72962be30b) - correct scheduler (647e47abb87343a8a42170b6f73255d72443ef70) - correct scheduler (62f39588cb2d6e3fe28ad8662d16236229eb87be) - add diffusers example (8594b431d382cc5e0d8ba577e6470e71851250a4)3a98214