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

Add checkpointing and hot start #197

Merged
merged 4 commits into from
Sep 30, 2024
Merged

Add checkpointing and hot start #197

merged 4 commits into from
Sep 30, 2024

Conversation

relf
Copy link
Owner

@relf relf commented Sep 30, 2024

This PR adds the ability to restart from previous saved iteration (checkpoint) either to complete to the max nb of iterations after an interruption or even to continue the optimization for an extended number of iterations after max_iters is reached.
This behaviour is controlled by the hot_start integer parameter which has to be set at least to 0 to enable the checkpointing and optionally set to n_iters > 0 to trigger n_iters iterations after max_iters is reached.

@relf relf merged commit ebdde79 into master Sep 30, 2024
14 checks passed
@relf relf deleted the checkpointing branch September 30, 2024 15:38
@relf relf mentioned this pull request Nov 8, 2024
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant