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

Fix checkpointing and early stopping errors #164

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

rphly
Copy link

@rphly rphly commented Nov 21, 2024

created this pr so that epoch checkpointing works as intended.

also found another bug where global steps was being updated twice, once before and once after syncing gradients.
This causes +2 to the progress bar and also early stopping due to args.max_train_steps

@rphly
Copy link
Author

rphly commented Nov 21, 2024

@yisol

@rphly rphly changed the title fix epoch checkpointing Fix checkpointing and early stopping errors Nov 21, 2024
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