-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Fix mypy errors attributed to pytorch_lightning.core.module.py
#13603
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
awaelchli
merged 67 commits into
Lightning-AI:master
from
jxtngx:lightningmodule/code-quality/type-hints
Aug 19, 2022
Merged
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
bfabd0a
remove module from pyproject toml
jxtngx 56b69ec
add error report
jxtngx 9741a1d
fix _param_requires_grad_state
jxtngx 41f8fbf
fix all: Function is missing a return type annotation
jxtngx 7f2b74a
fix all: Function is missing a type annotation
jxtngx 9ea9b96
fix: Return value expected
jxtngx bb85416
fix: return type of a generator function should be "Generator"
jxtngx 97ea817
fix: Missing positional argument
jxtngx 9a5fe10
undo change in log_grad_norm
jxtngx a5f261f
Merge branch 'Lightning-AI:master' into lightningmodule/code-quality/…
jxtngx 80c45ea
update lr_schedulers; add LRSchedulerPLType
jxtngx 90cc952
Delete module_typehint_errors.md
jxtngx 43a77a1
add ignores
jxtngx dec3ee4
add Tuple
jxtngx 8737df1
pre-commit & mypy conflict
jxtngx 6b287d1
add ignore
jxtngx d36232f
remove type hints
jxtngx 3ece027
update ignores from CI checks
jxtngx 66e662e
update ignores
jxtngx 73f2fc8
revert to original lr_scheduler_step and ignore
jxtngx c6bcfc0
Merge branch 'Lightning-AI:master' into lightningmodule/code-quality/…
jxtngx e9a9d5b
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx 273594c
import pl
jxtngx ddb260c
make bagua.py match upstream
jxtngx 4572dbd
update to match upstream
jxtngx abf5b43
update
jxtngx f48821b
update
jxtngx 736cbeb
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx 205e546
clean
jxtngx 4b5ec09
Update src/pytorch_lightning/core/module.py
jxtngx ca4f160
update
jxtngx f53509e
update
jxtngx 38aeef8
resolve merge conflicts
jxtngx 2e6bec2
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx cf4aeb1
update lightningmodule.logger
jxtngx 2d4a5db
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx d2742ce
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx df17937
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx f839283
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx 049ace9
update
jxtngx 4ddf841
update
jxtngx 024906c
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx d59f1cc
promote DeviceDtypeModuleMixin.device to torch.device
jxtngx fd94b0d
resolve redundant cast
jxtngx 669464f
update
jxtngx b0989f3
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx 1d9520d
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx db8a9e2
update
jxtngx 2fb7fd2
update
jxtngx 8a8e86f
update
jxtngx d92a63a
resolve merge conflicts
jxtngx afc43cd
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx e2753c6
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx 058e018
resolve merge conflicts
jxtngx 9c49f8c
resolve merge conflicts
jxtngx 57ebb77
Merge branch 'master' into lightningmodule/code-quality/type-hints
jxtngx 849e6a7
Self suggestions
carmocca d606a02
fix merge conflict
jxtngx f954534
update
jxtngx b9ed56e
update
jxtngx dc76adc
move module_optimizers to types file
awaelchli 87730f9
Revert "move module_optimizers to types file"
awaelchli f65d3ec
Merge branch 'master' into lightningmodule/code-quality/type-hints
awaelchli 2eb738b
ignore trainer assignment
awaelchli ea4eb49
ignore mypy bug
awaelchli d0692d0
avoid ignore for split_x
awaelchli c1bf538
fix tuple
awaelchli 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
Oops, something went wrong.
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.