Instructions to use stabilityai/stable-diffusion-xl-base-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/stable-diffusion-xl-base-1.0 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") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Commit History
fix-readme (#109) 4621659
Add flax/jax weights (#95) 76d28af
Update readme (spelling errors) (#78) f898a3e
Update model_index.json bf71498
Update model_index.json d95724c
Update vae/config.json 3941f47
[Diffusers] Re-instate 0.9 VAE as default VAE (#30) 91704ab
Upload sd_xl_base_1.0_0.9vae.safetensors 47cd530
Delete sd_xl_base_1.0_0.9vae.safetensors cd44add
openvino-model (#19) ddee3a9
add weights with 0.9 vae 70a5a6a
Robin Rombach commited on
Update README.md ffd13a1
[Diffusers docs] Correct some diffusers code snippet (#16) 4793ae4
Update README.md 43d0fa6
Update README.md (#3) eef8a74
License, tags and diffusers updates (#2) 8e77bf0
add weights f298da3
Robin Rombach commited on
update license d5d78e4
Robin Rombach commited on