-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Fix mypy typing errors in pytorch_lightning/strategies/tpu_spawn.py #13813
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
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
88766a6
Remove tpy_spawn in pyproject.toml
Jungwon-Lee 972ffc2
Add assert before step
Jungwon-Lee 35b2d72
fix mypy error in tpu-spawn.py
Jungwon-Lee bec228a
fix is_distribued check world_size
Jungwon-Lee a1d1c2a
check source.instance is DataLoader, List
Jungwon-Lee 2efebe1
Update strategy.py suggestion
Jungwon-Lee f992165
Add checking self.accelerator is none
Jungwon-Lee dc3894a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6848700
undo Step type check
awaelchli 8b0c161
Merge branch 'master' into typing_tpu_spawn
awaelchli c4554a6
update validation of dataloaders
awaelchli 92280e6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 9e6dff4
Merge branch 'master' into typing_tpu_spawn
awaelchli 446786a
update
awaelchli 4727920
Merge branch 'master' into typing_tpu_spawn
carmocca 929d624
Fix docstring
carmocca 485998d
Merge branch 'master' into typing_tpu_spawn
bdfbcf0
make mypy happier
ffbd23c
update broadcast obj to TBroadcast
Jungwon-Lee 99790c2
Merge branch 'Lightning-AI:master' into typing_tpu_spawn
Jungwon-Lee f525150
Merge branch 'Lightning-AI:master' into typing_tpu_spawn
Jungwon-Lee dfa50ef
Merge branch 'master' into typing_tpu_spawn
Jungwon-Lee 3ee844e
make pre-commit not complain
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
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.