-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Fix mypy typing errors in pytorch_lightning/callbacks/model_checkpoint.py #13617
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
carmocca
merged 24 commits into
Lightning-AI:master
from
Jungwon-Lee:typing_model_checkpoint
Jul 20, 2022
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
970e5fa
Remove callbacks.model_checkpoint in pyproject.toml
Jungwon-Lee fd6f244
fix mypy errors in model_checkpoint.py
Jungwon-Lee 3f9a068
Merge branch 'master' into typing_model_checkpoint
Jungwon-Lee efd5f63
fix pep-error line for ckecking Union[int, bool] variable is True
Jungwon-Lee 3bc6308
Merge branch 'typing_model_checkpoint' of https://github.com/BongYang…
Jungwon-Lee 776574f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 27fdfbd
Self review
carmocca 0639746
Self review
carmocca a6cfc2c
Merge branch 'master' into typing_model_checkpoint
carmocca 673f2f1
Support tensors to reduce_bool_decision
carmocca e3da8ae
Fix dtype
carmocca 75fbd3d
Standardize tensor annotation
carmocca 3963931
Keep int dtype
carmocca 9ba9c78
Merge branch 'master' into typing_model_checkpoint
carmocca 5f3e8e6
Merge branch 'master' into typing_model_checkpoint
carmocca 3cf4302
Merge branch 'master' into typing_model_checkpoint
carmocca 7c3c8a7
assert dirpath not None
carmocca c2311bf
Undo reduce_bool_decision change. Cast to bool
carmocca 5c0074b
Merge branch 'master' into typing_model_checkpoint
carmocca bf9e4cb
Unused import
carmocca 77c46c0
Merge branch 'master' into typing_model_checkpoint
carmocca a2bd6a0
Merge branch 'master' into typing_model_checkpoint
carmocca 9e4626a
Merge branch 'master' into typing_model_checkpoint
otaj 953a087
empty
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
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.