Open YuzhiChen001 opened 1 month ago
From version 0.19.3 to 0.27.0, Diffusers underwent significant changes, resulting in many error with ImportError.
Can you update your diffusers to 0.25.0 ? By the way, if USE_PEFT_BACKEND: scale_lora_layers(self, lora_scale) and if USE_PEFT_BACKEND: unscale_lora_layers(self, lora_scale) is not important, you can remove them and try
nice work! I want to know if USE_PEFT_BACKEND is important and indispensable?It appears in the following two places:
if USE_PEFT_BACKEND: scale_lora_layers(self, lora_scale)
andif USE_PEFT_BACKEND: unscale_lora_layers(self, lora_scale)
My diffusers version is 0.19.3 ,which can not support PEFT,but it is difficult to update diffusers on my code. Any help would be greatly appreciated!