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
- Draw Things
- DiffusionBee
AttributeError: 'generator' object has no attribute 'image_embeddings'
#26
by MohamedRashad - opened
I have this error and i don't why its happening
It seems like github repo kashif/diffusers pushed new commits to wuerstchen-v3 branch which broke something.
To fix it I just did:
# remove the updated broken one, guessing it will eventually get fixed once it is merged
pip uninstall diffusers
# install an older one by referencing an earlier commit in that branch
pip install git+https://github.com/kashif/diffusers.git@a3dc213