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

Do not save checkpoints for eval runs #154

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lopatovsky
Copy link
Contributor

Motivation:
Currently both train and eval modes are saving checkpoints, and best checkpoint. This was causing some troubles on our side when we implemented parallel validation runs that were then overwriting the checkpoints from the train run.

This change is passing a boolean flag save_checkpoint into post interaction function, which is set to False in case it is called from eval mode.

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