Instructions to use stabilityai/stable-cascade with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stabilityai/stable-cascade 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-cascade", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Replaced `c_in` with `in_channels`
#17
by EtienneDosSantos - opened
- decoder/config.json +1 -1
decoder/config.json
CHANGED
|
@@ -42,7 +42,7 @@
|
|
| 42 |
1280,
|
| 43 |
1280
|
| 44 |
],
|
| 45 |
-
"
|
| 46 |
"c_out": 4,
|
| 47 |
"c_pixels": 3,
|
| 48 |
"c_r": 64,
|
|
|
|
| 42 |
1280,
|
| 43 |
1280
|
| 44 |
],
|
| 45 |
+
"in_channels": 4,
|
| 46 |
"c_out": 4,
|
| 47 |
"c_pixels": 3,
|
| 48 |
"c_r": 64,
|