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

Fix model saving in new format #198

Merged
merged 6 commits into from
Dec 6, 2023

Conversation

tastelikefeet
Copy link
Collaborator

  1. Add requires_grad=True to extra_state_keys
  2. Add save logic to LoRA.modules_to_save

@Jintao-Huang Jintao-Huang merged commit c6bf657 into modelscope:main Dec 6, 2023
2 checks passed
tastelikefeet added a commit that referenced this pull request Dec 6, 2023
(cherry picked from commit c6bf657)
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

Successfully merging this pull request may close these issues.

None yet

2 participants