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

Ephemeral checkpoints #397

Merged
merged 3 commits into from
Dec 13, 2023
Merged

Ephemeral checkpoints #397

merged 3 commits into from
Dec 13, 2023

Conversation

epwalsh
Copy link
Member

@epwalsh epwalsh commented Dec 12, 2023

For example, suppose you want to keep your checkpoints at every 1000 steps, but you also want to save a temporary checkpoint every 100 steps in case your job fails. In that case you would set save_interval=1000 and save_interval_ephemeral=100.

For example, suppose you want to keep your checkpoints at every 1000 steps, but you also want to save
a temporary checkpoint every 100 steps in case your job fails. In that case you would
set `save_interval=1000` and `save_interval_ephemeral=100`.
Copy link
Contributor

@2015aroras 2015aroras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@epwalsh
Copy link
Member Author

epwalsh commented Dec 13, 2023

FYI @dirkgr

@epwalsh epwalsh merged commit e2d77c4 into main Dec 13, 2023
10 checks passed
@epwalsh epwalsh deleted the epwalsh/ephemeral-checkpoints branch December 13, 2023 18:10
@dirkgr
Copy link
Member

dirkgr commented Dec 13, 2023

Oh hell yeah!

@dirkgr dirkgr restored the epwalsh/ephemeral-checkpoints branch December 14, 2023 21:42
@epwalsh epwalsh deleted the epwalsh/ephemeral-checkpoints branch March 5, 2024 21:29
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.

None yet

3 participants