Skip to content

[BUG]: ChatGPT can't load the optimizer weights saved before on Multi-GPU Zero2 mode #3250

Description

@hijkzzz

🐛 Describe the bug

The root cause is that the state_dict does not match.
We should gather the optimizer weights before save funciton.

Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions