Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[LoRA] parse metadata from LoRA and save metadata #11324
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
base: main
Are you sure you want to change the base?
[LoRA] parse metadata from LoRA and save metadata #11324
Changes from 5 commits
5139de1
d8a305e
ba546bc
25f826e
61d3708
e98fb84
2f1c326
d390d4d
201bd7b
a771982
42bb6bc
7ec4ef4
7f59ca0
ded2fd6
d5b3037
bee9e00
a9f5088
7716303
0ac1a39
4b51bbf
e2ca95a
7a2ba69
e0449c2
918aef1
4bd325c
e8bec86
aa5cb3c
7bb6c9f
116306e
ae0580a
f6fde6f
cbb4071
87417b2
55a41bf
16dba2d
023c0fe
67bceda
83a8995
d336486
4f2d90c
42a0d1c
9c32dc2
5d578c9
1c37845
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
In light of previous comment, I see that the metadata is being added to the state dict as well as the safetensors metadata. A little confused as to what the intention is with adding the metadata to state dict
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.
Because it's not used.
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 is a safetensors feature, no? So why do we have to check with hasattr if the method exists?
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.
Indeed. Will remove.