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 ·
3941f47
1
Parent(s): 91704ab
Update vae/config.json
Browse files- vae/config.json +1 -1
vae/config.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
| 21 |
"layers_per_block": 2,
|
| 22 |
"norm_num_groups": 32,
|
| 23 |
"out_channels": 3,
|
| 24 |
-
"sample_size":
|
| 25 |
"scaling_factor": 0.13025,
|
| 26 |
"up_block_types": [
|
| 27 |
"UpDecoderBlock2D",
|
|
|
|
| 21 |
"layers_per_block": 2,
|
| 22 |
"norm_num_groups": 32,
|
| 23 |
"out_channels": 3,
|
| 24 |
+
"sample_size": 1024,
|
| 25 |
"scaling_factor": 0.13025,
|
| 26 |
"up_block_types": [
|
| 27 |
"UpDecoderBlock2D",
|