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

462 checkpointing dev #473

Merged
merged 7 commits into from
Apr 23, 2024
Merged

462 checkpointing dev #473

merged 7 commits into from
Apr 23, 2024

Conversation

Pale-Blue-Dot-97
Copy link
Owner

This PR adds full checkpointing support to Trainer.

New functionality:

  • To use checkpointing, set checkpoint_experiment to true in the config.
  • To reload an experiment, set resume to true and add the experiment to reload to the config in exp_name.

Note

The early stopper will now also use the checkpointing function. This means it'll save a checkpoint that includes the model state dict, rather than just saving the weights.

@Pale-Blue-Dot-97 Pale-Blue-Dot-97 added enhancement New feature or request testing New tests needed python Pull requests that update Python code labels Apr 23, 2024
@Pale-Blue-Dot-97 Pale-Blue-Dot-97 self-assigned this Apr 23, 2024
@Pale-Blue-Dot-97 Pale-Blue-Dot-97 merged commit e18b40c into beta Apr 23, 2024
2 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python Pull requests that update Python code testing New tests needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant