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 ·
2c4b5b9
1
Parent(s): b6361ff
Add license metadata (#9)
Browse files- Add license metadata (d5f666b87644284177f7da3949bef4a9effbfb5d)
Co-authored-by: Omar Sanseviero <osanseviero@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
---
|
| 2 |
pipeline_tag: text-to-image
|
| 3 |
inference: false
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
# SDXL-Turbo Model Card
|
|
|
|
| 1 |
---
|
| 2 |
pipeline_tag: text-to-image
|
| 3 |
inference: false
|
| 4 |
+
license: other
|
| 5 |
+
license_name: sai-nc-community
|
| 6 |
+
license_link: https://huggingface.co/stabilityai/sdxl-turbo/blob/main/LICENSE.TXT
|
| 7 |
---
|
| 8 |
|
| 9 |
# SDXL-Turbo Model Card
|