-
Notifications
You must be signed in to change notification settings - Fork 6.1k
[LoRA] don't break offloading for incompatible lora ckpts. #5085
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
Conversation
Wait one sec, double-checking if this works. Think there might still be an error |
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.
This still doesn't solve examples where an incorrect LoRA version is loaded. E.g. this: #5060 (comment)
still fails. Think we need to go a bit deeper here
…fix/lora-offloadingh
Feel free to merge it. Like how it turned out! |
* don't break offloading for incompatible lora ckpts. * debugging * better condition. * fix * fix * fix * fix --------- Co-authored-by: Patrick von Platen <[email protected]>
…ce#5085) * don't break offloading for incompatible lora ckpts. * debugging * better condition. * fix * fix * fix * fix --------- Co-authored-by: Patrick von Platen <[email protected]>
…ce#5085) * don't break offloading for incompatible lora ckpts. * debugging * better condition. * fix * fix * fix * fix --------- Co-authored-by: Patrick von Platen <[email protected]>
Addresses: #5060 (comment).
This PR will also follow another refactoring PR (potentially if needed after the
peft
integration) taking inspiration from #5076.