Replies: 3 comments 5 replies
-
cc @sayakpaul |
Beta Was this translation helpful? Give feedback.
-
I checked the I don't see any LoRA refactoring affecting that class in the first. Could you point me to a version here the class ever support LoRA loading? |
Beta Was this translation helpful? Give feedback.
-
Hi @sayakpaul thanks I actually did the same before posting and since I couldn't find something obvious, I've been looking at how the add_adapter was inherited. 0.25.1 does support the loading. If nothing obvious arises I could try a per commit test until breaks. Or maybe it's something with pedt dependencies ? |
Beta Was this translation helpful? Give feedback.
-
Hello!
Finetuning a VAE with a lora, using AutoencoderDL class, is somehow broken starting from 0.26.0. I am not filing a bug since I'm not sure whether there's actually a new appropriate way of doing this.
We're doing:
The error is
AttributeError: 'AutoencoderKL' object has no attribute 'add_adapter'
FTR, this issue is reported in a couple places (but might be 'niche'):
From looking at the diffusers codebase, there was a lora refactor between 0.25.1 and 0.26.0 (between Jan 17 2024 and Jan 31 2024) but I couldn't quite find nor understand where the critical change was and how to mitigate it.
Most importantly, maybe the above is not the proper way of finetuning a VAE with lora anymore, and I would be grateful for any help on getting it to work again.
(Our usage is custom img2img models, that do require a ft of the VAE)
Beta Was this translation helpful? Give feedback.
All reactions