Stability-AI / StableCascade

Official Code for Stable Cascade
MIT License
6.53k stars 530 forks source link

If float32 download option is selected, subsequent code fails #48

Open lutusp opened 7 months ago

lutusp commented 7 months ago

I executed the download script "models/download_models.sh" with these arguments: "essential big-big float32". This doesn't download the "bf16" variants. This in turn causes the inference/text_to_image.ipynb script to fail, because it expects the "bf16" variants to be present and doesn't manage the exception.

Some users may want only one or the other variant of the weights, not both, but this may trigger an unmanaged exception.