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

Remove curriculum learning error when duration less than saved timestamp #1406

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

b-chu
Copy link
Contributor

@b-chu b-chu commented Jul 29, 2024

A run may crash after a checkpoint successfully saves but before an iteration is incremented. This can occur when checkpoint_saver is defined in terms of ba, so the checkpoint event happens before the iteration increment check happens. In the scenario of a crash, the resumption would also fail because the timestamp saved is greater than the duration of the current datamix. This change emits a warning instead of always erroring.

@b-chu b-chu requested a review from a team as a code owner July 29, 2024 14:12
Copy link
Contributor

@snarayan21 snarayan21 left a comment

Choose a reason for hiding this comment

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

mind providing an example of when this would be necessary? i'm finding it hard to follow

@b-chu b-chu enabled auto-merge (squash) July 29, 2024 15:29
@b-chu b-chu merged commit 6d5d016 into main Jul 29, 2024
9 checks passed
@b-chu b-chu deleted the cl-fix branch July 29, 2024 15:54
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