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

Only keep meta and state_dict when publish model. #9356

Merged
merged 3 commits into from
Dec 19, 2022

Conversation

RangiLyu
Copy link
Member

Motivation

The checkpoint saved by mmengine contains more keys (e.g. message_hub, param_scheduler). These parts are very large and may take dozens or even hundreds of MB.

Modification

Pop the keys except for meta and state_dict.

ZwwWayne
ZwwWayne previously approved these changes Nov 21, 2022
@ZwwWayne ZwwWayne added this to the 3.0.0rc5 milestone Nov 23, 2022
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

4 participants