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

Fix resuming PeftModel checkpoints in Trainer #24274

Commits on Jun 14, 2023

  1. Fix resuming checkpoints for PeftModels

    Fix an error occurred when resuming a PeftModel from a training checkpoint. That was caused since PeftModel.pre_trained saves only adapter-related data while _load_from_checkpoint was expecting a torch sved model. This PR fix this issue and allows the adapter checkpoint to be loaded.
    
    Resolves: huggingface#24252
    llohann-speranca committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    dae3c92 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2023

  1. fix last comment

    younesbelkada committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    e01a4aa View commit details
    Browse the repository at this point in the history
  2. fix nits

    younesbelkada committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    5a35cb9 View commit details
    Browse the repository at this point in the history