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
Download text_encoder_2/model.safetensors from stabilityai/sdxl-turbo: direct link, hf CLI and curl.
- Browser
- Download file 2.78 GB
-
https://huggingface.co/stabilityai/sdxl-turbo/resolve/ef0d007d296a24f621ab6d376e7055eb6116877b/text_encoder_2/model.safetensors
- Command line
-
hf download hf://stabilityai/sdxl-turbo@ef0d007d296a24f621ab6d376e7055eb6116877b/text_encoder_2/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/stabilityai/sdxl-turbo/resolve/ef0d007d296a24f621ab6d376e7055eb6116877b/text_encoder_2/model.safetensors
2.78 GB
- Xet hash:
- 7e9b3158c95706058e24fdecaf4dd2fa45bf8f84b6132c06a217d879f6438ff1
- Size of remote file:
- 2.78 GB
- SHA256:
- fa5b2e6f4c2efc2d82e4b8312faec1a5540eabfc6415126c9a05c8436a530ef4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.