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
Update README.md
Browse files
README.md
CHANGED
|
@@ -65,8 +65,8 @@ aesthetic prompts. Specifically, Stable Cascade (30 inference steps) was compare
|
|
| 65 |
steps), SDXL (50 inference steps), SDXL Turbo (1 inference step) and Würstchen v2 (30 inference steps).
|
| 66 |
|
| 67 |
## Code Example
|
|
|
|
| 68 |
```shell
|
| 69 |
-
#install `diffusers` from this branch while the PR is WIP
|
| 70 |
pip install git+https://github.com/kashif/diffusers.git@wuerstchen-v3
|
| 71 |
```
|
| 72 |
|
|
|
|
| 65 |
steps), SDXL (50 inference steps), SDXL Turbo (1 inference step) and Würstchen v2 (30 inference steps).
|
| 66 |
|
| 67 |
## Code Example
|
| 68 |
+
Iinstall `diffusers` from this branch while the PR is WIP.
|
| 69 |
```shell
|
|
|
|
| 70 |
pip install git+https://github.com/kashif/diffusers.git@wuerstchen-v3
|
| 71 |
```
|
| 72 |
|