-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[LoRA PEFT] fix LoRA loading so that correct alphas are parsed #6225
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello Sayak, thank you for the fixes to be inline with the pre PEFT integration without the need to save the config. I have shared some comments offline wrt tests of the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the adjustments!
Do we need to update the following scripts too?
examples/wuerstchen/text_to_image/train_text_to_image_lora_prior.py
examples/research_projects/lora/train_text_to_image_lora.py
examples/consistency_distillation/train_lcm_distill_lora_sdxl_wds.py
examples/consistency_distillation/train_lcm_distill_lora_sd_wds.py
(possibly also with regard to init_lora_weights="gaussian"
)
checking thanks for the heads up! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot Sayak!
…ngface#6225) * initialize alpha too. * add: test * remove config parsing * store rank * debug * remove faulty test
…ngface#6225) * initialize alpha too. * add: test * remove config parsing * store rank * debug * remove faulty test
…ngface#6225) * initialize alpha too. * add: test * remove config parsing * store rank * debug * remove faulty test
What does this PR do?
Simplifies #6135
Fixes #6087
Do go through #6135 (comment) for the full context.