Skip to content

Save ckpt error #18

Open
Open
@SxJyJay

Description

@SxJyJay

During training, I found the training procedure crashes when running

consolidated_model_state_dict = {key: val.to(save_dtype) for key, val in model.state_dict().items()}

And the error is:
AssertionError: FSDP assumes model.norm.weight is in the state_dict but the state_dict only has odict_keys

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions