-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[Unified Checkpoint] Add split param and refactor code #9240
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nto add_split_param
|
Thanks for your contribution! |
DrownFish19
reviewed
Oct 11, 2024
| return state_dict, shard_file, sharded_index | ||
|
|
||
|
|
||
| def load_unified_optimizer_split_param(args, model, optimizer, resume_from_checkpoint): |
Collaborator
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.
这个函数是不是和load_unified_optimizer_locally大部分逻辑相似
Contributor
Author
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.
目前初步开发中,后续会修改
…nto add_split_param
PR types
New features
PR changes
Others
Description