Instructions to use stabilityai/sdxl-vae with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/sdxl-vae 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-vae", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
6f5909a
-
Revert "update vae weights"
This reverts commit 4eec565eb7167a2252e2a48e0898565b8025661d.c1b803c
-
Update config.json
0cbce97 -
Update diffusers weights (#8)
- update diffusers (3d898e2c0d7cd33cec31b3b9039288818151759b) - correct scaling factor (8987d138a8df8401b9cf382172eb052ec7a06521) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>acf5ce6 -
update vae weights
Robin Rombach4eec565
-
Update scaling_factor for SDXL (#4)
- Update scaling_factor for SDXL (622c174bdf80e696015d450354fa1c103c417383) Co-authored-by: madebyollin <madebyollin@users.noreply.huggingface.co>e6e6fee
-
Add Diffusers weights (#3)
- add diffusers weights (c931cf301bb9c9182618768372e9ef343d026407)95f3fcb
-
Initial commit
Co-authored-by: Tim Dockhorn <timudk@users.noreply.huggingface.co>f85c107