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
Use SDXL in Automatic1111 RC1.5.1 Web UI
#10
by swumagic - opened
This is unhelpful. The checkpoint just crashes my ui.
This is unhelpful. The checkpoint just crashes my ui.
git pull
Upgrade it
NOW it ok.
This is unhelpful. The checkpoint just crashes my ui.
git clong https://github.com/swumagic/stable-diffusion-webui.git
git pull
Upgrade it
NOW it ok.
I recommend using the fp16 VAE
https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/tree/main
Use fp16 fixed VAE, don't use --no-half-vae 。make sure you've set --medvram --xformers。
can't find instructions on how to use the XL model in A111. nothing listed on any of the relevant repo's. where are the instructions?