Closed Thomas-MMJ closed 1 year ago
using the development version it works, so this is for the unleased version
Hi @Thomas-MMJ ! Just curious: What do you mean with "development version"?
Best regards Marc
It means when i checked out from head, vs using a pip install version it worked. That said, it no longer works because now
Hi @Thomas-MMJ ! Just curious: What do you mean with "development version"?
Best regards Marc
I meant when i built from source code from head (the main development branch) it worked, but not on the version installed via pip install diffusers.
That said, it no longer works because they are now using a frozendict which prevents substitution of the traced unet.
Describe the bug
when running the traced UNet example from
https://github.com/huggingface/diffusers/blob/main/docs/source/optimization/fp16.mdx
the error - RuntimeError: expected scalar type Half but found Float
occurs in the section
Reproduction
Logs
System Info
diffusers
version: 0.3.0