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

Autoresume default on #467

Merged
merged 4 commits into from
Jul 20, 2023
Merged

Autoresume default on #467

merged 4 commits into from
Jul 20, 2023

Conversation

mvpatel2000
Copy link
Collaborator

As much as possible, we want to turn on autoresume when we specify all criteria. This avoids cases where users turn on watchdog but do not turn on autoresume, resulting in a very bad user experience (restart from scratch...).

This PR turns on autoresume by default when all criteria are met.

scripts/train/train.py Outdated Show resolved Hide resolved
scripts/train/train.py Show resolved Hide resolved
@mvpatel2000 mvpatel2000 requested a review from vchiley July 19, 2023 15:56
Copy link
Contributor

@vchiley vchiley left a comment

Choose a reason for hiding this comment

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

Given autoresume=False is the composer default, I'd throw a warnings.warn msg telling the user we are changing it to True if the correct conditions are met; else throw a warnings.warn that the conditions are not met (optional).

@mvpatel2000 mvpatel2000 merged commit ef8d414 into main Jul 20, 2023
10 checks passed
@mvpatel2000 mvpatel2000 deleted the mvpatel2000/autoresume-default branch July 20, 2023 18: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.

None yet

3 participants