-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add back meta-device assign=True
loading in merge_lora
#1250
Conversation
This reverts commit d8dc97e.
merge_lora
merge_lora
assign=True
loading in merge_lora
@awaelchli Do you want to review this again or am I good to merge this? |
@carmocca I lost a bit track of the intermediate changes that happened between my commit and this revert. But I'm good with merging if we're confident it was fixed properly. Ultimately, what needs to work is being able to merge a base model in float16 and a lora checkpoint in bfloat16, or vice versa. Which I think is covered in this test now: https://github.com/Lightning-AI/litgpt/pull/1251/files |
This reverts commit d8dc97e.