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

feature: loss watchdog for terminating training runs that are failing #899

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

kallewoof
Copy link
Contributor

This adds a loss watchdog, which will stop the trainer if the loss exceeds the given threshold for more than loss_watchdog_patience steps (in a row). It is useful to prevent using a bunch of resources to keep training when the model has broken down.

Copy link
Collaborator

@winglian winglian left a comment

Choose a reason for hiding this comment

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

lgtm

@winglian winglian merged commit 58ec8b1 into axolotl-ai-cloud:main Dec 4, 2023
4 checks passed
@kallewoof kallewoof deleted the 202311-loss-watchdog branch December 4, 2023 13:49
mkeoliya pushed a commit to mkeoliya/axolotl that referenced this pull request Dec 15, 2023
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

2 participants