Instructions to use stabilityai/stable-diffusion-x4-upscaler with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/stable-diffusion-x4-upscaler 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-x4-upscaler", 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 link to weights
74173db -
Update README.md
5f4e4bb -
Update README.md
2b9e9b4 -
Update README.md
878f497 -
Update README.md
1bcdd56
-
Delete 512-base-ema.ckpt
cc86988 -
Delete 512-depth-ema.ckpt
3ac31b7 -
Delete 512-inpainting-ema.ckpt
5ae2114 -
Delete 768-v-ema.ckpt
fd14386 -
Duplicate from stabilityai/stable-diffusion-2
Co-authored-by: Robin Rombach <rromb@users.noreply.huggingface.co>5440e1b