-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
in peft finetune, only the trainable parameters need to be saved #27825
Conversation
@younesbelkada @pacman100 please help review 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.
LGTM, what do you think @pacman100 ?
@sywangyi can you try to merge your branch with upstream main? Perhaps it will fix the current failing CI |
04c92a2
to
1c782b5
Compare
@younesbelkada I have rebased to main. the code quality check failure is not related with the PR |
@sywangyi can you try to re-run |
1c782b5
to
4a23a73
Compare
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 principle this looks good! Would like to hear @pacman100 's thoughts before a core maintainer approval
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. |
@pacman100 could you help review the PR? Thanks. |
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.
Thank you @sywangyi for enabling only the trainable parameters to be saved during intermediate checkpointing when using PEFT with DeepSpeed, LGTM! 🚀
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 enabling this!
4a23a73
to
bdfc628
Compare
to reduce the storage size and also save the time of checkpoint saving while using deepspeed for training Signed-off-by: Wang, Yi <[email protected]>
…gingface#27825) to reduce the storage size and also save the time of checkpoint saving while using deepspeed for training Signed-off-by: Wang, Yi <[email protected]>
to reduce the storage size and also save the time of checkpoint saving while using deepspeed for training
What does this PR do?
Fixes # (issue)
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.