Skip to content

Stable Cascade Diffusers not working with FP16 #6970

@FurkanGozukara

Description

@FurkanGozukara

You know that there is a demo released here : https://huggingface.co/spaces/multimodalart/stable-cascade

I am using it locally. Works perfectly fine

But I have to change float type to float16 from bfloat16 on Kaggle

That is where error starts


\venv\lib\site-packages\diffusers\utils\pil_utils.py:43: RuntimeWarning: invalid value encountered in cast
  images = (images * 255).round().astype("uint8")

I tested on my local computer and fp16 fails - bf16 works

I tested float32 on Kaggle and works but ultra slow

the error causing file : kashif@d67eba0#commitcomment-138598496

Metadata

Metadata

Labels

bugSomething isn't workingstaleIssues that haven't received updates

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions