haofanwang / Lora-for-Diffusers

The most easy-to-understand tutorial for using LoRA (Low-Rank Adaptation) within diffusers framework for AI Generation Researchers🔥
MIT License
739 stars 46 forks source link

It seems that the safetensors to bin converter is not working with diffuser 0.15.0. #13

Open sanbuphy opened 1 year ago

sanbuphy commented 1 year ago

When I tried to load the converted file using load_attn_procs in version 0.15.0, an error occurred. However, it worked fine when I downgraded to version 0.14.0. But even after conversion, the size of the resulting bin file is still less than half and get bad images with loading the inference bin results.(the speed of .bin inference will be very slow!!!!)

matrixssy commented 1 year ago

Me too, Have you solved it yet?

sanbuphy commented 1 year ago

Me too, Have you solved it yet?

I just down the version

matrixssy commented 1 year ago

Me too, Have you solved it yet?

I just down the version

down the version can avoid the error, but I get bad images or the same effect as without the lora version