-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Changed max_steps
default from None to -1
#9460
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
Merged
rohitgr7
merged 33 commits into
Lightning-AI:master
from
EricWiener:feature/clean_up_max_steps_epochs
Oct 25, 2021
Merged
Changes from 30 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
5ff0694
Changed max_steps to default to -1
EricWiener 93900eb
Update fit_loop max_epoch's docstring
EricWiener f14ea3b
Changes fit_loop signature to have max_epochs = -1, min_epochs = 0
EricWiener 04b5207
Added deprecation warning + is_max_limit_reached util
EricWiener bf1594f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 953dced
Remove checking if max_epochs is less than -1
EricWiener b718212
Remove `Optional` from `max_steps` signature
EricWiener 868d914
Update trainer docstring for max_steps
EricWiener 75f3e77
Make is_max_limit_reached private
EricWiener 6ec1c47
Move max_steps validation to training_epoch_loop
EricWiener 4b68bfa
Moved max_epochs logic into fit_loop
EricWiener c803c7d
Updated logic for checking max_epochs in fit_loop
EricWiener dce15b5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1cc4642
Checkpoint connector passes mypy
EricWiener 43d0156
Cleaned up checkpoint connector if
EricWiener 0500ffe
Removed ClosureResult from bad merge
EricWiener 47dc657
Changed positive int to non-negative int
EricWiener a834a57
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 49fb7cc
fix expected values in trainer test
awaelchli a554e14
update cli tests
awaelchli c5017da
update utility function signature and docstring
awaelchli 0af12ae
move max_epochs=None parsing back to trainer
awaelchli f751354
update epoch loop signature and deprecation message
awaelchli a83a8a3
update fit loop max_steps signature and deprecation message
awaelchli c14bad2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4a327dd
rebase and update tests
rohitgr7 8a2b729
fix issues
rohitgr7 33ccd90
mypy
rohitgr7 a8662f9
update changelog
awaelchli eefcdee
update mypy and error msg
rohitgr7 abf24d3
Merge branch 'master' into feature/clean_up_max_steps_epochs
rohitgr7 8cb57ff
Merge branch 'master' into feature/clean_up_max_steps_epochs
rohitgr7 e8b6436
Merge branch 'master' into feature/clean_up_max_steps_epochs
rohitgr7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.