mycodeiscat / ControlNet-LLLite-diffusers

GNU General Public License v3.0
5 stars 0 forks source link

TypeError: ControlNetLLLite.get_hacked_forward.<locals>.forward() missing 1 required positional argument: 'lora_weight' #2

Open christopher5106 opened 2 months ago

christopher5106 commented 2 months ago

Hi I tried to run the notebook as well as the code, loading of the controlnet and pipeline are ok, but I get, during pipeline inference, the following error:

TypeError: ControlNetLLLite.get_hacked_forward.<locals>.forward() missing 1 required positional argument: 'lora_weight'

Error occurs both in the code and in the example notebook. I tried to downgrade to diffusers 0.22 but same.

mycodeiscat commented 2 months ago

Hi, Thanks for opening an issue. I'll look into it today.

nationalflag commented 2 months ago

same error

hahaha-cc commented 2 months ago

same error

mycodeiscat commented 1 month ago

Hi everyone, Diffusers has changed implementation of Lora Layers in 0.27.* versions. For now I recommend downgrading to 0.26. I am working on support for the latest version

mycodeiscat commented 1 month ago

Fixed for 0.27.2 Please notify me if this issue persists.