Skip to content

How to export a ZeRO checkpoint for PyTorch. #506

Closed

Description

@yanring

I noticed that ZeRO currently provides apis for save&load checkpoints, but it seems to only be used in scripts that also use ZeRO. So is there a way to export the model as a generic PyTorch .pth file?

Thanks!

Activity

  1. gongjingcs commented on Jan 6, 2021

    @gongjingcs

    I noticed that ZeRO currently provides apis for save&load checkpoints, but it seems to only be used in scripts that also use ZeRO. So is there a way to export the model as a generic PyTorch .pth file?

    Thanks!

    Hello, I have the same doubts. I used zero to pretrain a model, but did not use zero in finetune, so how do I load this model?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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