-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Allow disabling automatic stopping after max_steps or max_epochs #8877
Allow disabling automatic stopping after max_steps or max_epochs #8877
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8877 +/- ##
======================================
Coverage 88% 88%
======================================
Files 176 178 +2
Lines 14808 14858 +50
======================================
+ Hits 13036 13098 +62
+ Misses 1772 1760 -12 |
7583fd8
to
ab6d6e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for working on this @EricWiener !
2087404
to
729930a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@EricWiener more spots doing comparisons with max_epochs
need to be upated:
652c597
to
abd1131
Compare
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
abd1131
to
a239358
Compare
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once comments are applied, LGTM ! Neat work !
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work so far, I have only some minor comments now :)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
for more information, see https://pre-commit.ci
What does this PR do?
Adds the ability to disable automatic stopping by passing
max_epochs < 0
and leavingmax_steps = None
.Fixes #8818
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:
Did you have fun?