Skip to content

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`.
@epwalsh epwalsh requested a review from 2015aroras December 12, 2023 00:47
Copy link
Collaborator

@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
@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.

3 participants