Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USE_PEFT_BACKEND #23

Open
YuzhiChen001 opened this issue May 14, 2024 · 2 comments
Open

USE_PEFT_BACKEND #23

YuzhiChen001 opened this issue May 14, 2024 · 2 comments

Comments

@YuzhiChen001
Copy link

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)
and
if 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!

@YuzhiChen001
Copy link
Author

From version 0.19.3 to 0.27.0, Diffusers underwent significant changes, resulting in many error with ImportError.

@ShenZhang-Shin
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants