-
Notifications
You must be signed in to change notification settings - Fork 3.6k
remove dataloader patching on the LightningModule #9764
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
57 commits
Select commit
Hold shift + click to select a range
874614f
draft
awaelchli 6d6b3ea
draft
awaelchli a10c526
clean up
awaelchli a1c5537
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 5c36fbc
check availability of val/test dataloader
awaelchli 84086e6
availability check / property
awaelchli 5d93ee4
hack around on tpu test
awaelchli 7b19d5e
fix test_dataloaders_reset_and_attach test
awaelchli 1fc7c2a
wip
awaelchli 3e05cfc
specify error message in test
awaelchli 35bb187
fix scale batch size test
awaelchli 37dddfc
remove patch_loader_code check from is_overridden util
awaelchli e8b8dcb
remove patch_loader_code reference from plugins registry
awaelchli 91c24db
add is_module method
awaelchli 5af46ce
update tests for is_module() check
awaelchli 921e5d8
Merge branch 'master' into feature/remove-dataloader-patching
awaelchli a8d4a26
update tests
awaelchli 8da6bfc
fix unused imports
awaelchli 791ee39
update unit tests to use attach data function
awaelchli 54c1086
use dataloader from trainer
awaelchli 28b95ee
fix test not using the right dataloader
awaelchli 5d76890
fix test
awaelchli 8d8f817
fix test
awaelchli 7881a5d
remove redundant fixme comment
awaelchli 7916083
remove comment
awaelchli 062de83
Merge branch 'master' into feature/remove-dataloader-patching
awaelchli 7ec1b5c
update
awaelchli 66e1e47
Merge branch 'master' into feature/remove-dataloader-patching
awaelchli abc8bf6
rename dataloader source
awaelchli 5587ea4
typing dataloaders
awaelchli 4baa4da
add docs
awaelchli 6cca816
update changelog
awaelchli caa869b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ccbe477
add unit tests
awaelchli 3628ba6
Merge remote-tracking branch 'origin/feature/remove-dataloader-patchi…
awaelchli 909489c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8dbb918
delete methods
awaelchli bcd376e
Merge remote-tracking branch 'origin/feature/remove-dataloader-patchi…
awaelchli c496779
address fixme
awaelchli ff906c1
val sanity
rohitgr7 fb0f347
val sanity
rohitgr7 2f2a431
is_available
awaelchli f3bb2fb
simplify
awaelchli a68bbe3
use call_hook() for LightningModule
awaelchli 02d01e4
Merge branch 'master' into feature/remove-dataloader-patching
awaelchli c355a9d
ensure model has a trainer in unit tests
awaelchli 3052405
fix deepspeed dl request
rohitgr7 535f423
Apply suggestions from code review
awaelchli 5f9b699
Update pytorch_lightning/utilities/model_helpers.py
awaelchli 2e0496e
rename is_available
awaelchli c264368
Merge branch 'master' into feature/remove-dataloader-patching
awaelchli c56eb60
resolve merge error
awaelchli 7fc97ed
address reviews
awaelchli c194b44
rename reqest -> dataloader
awaelchli 7883b22
update predict check
awaelchli b8e8034
fix bug in example
awaelchli 4fb6081
add datamodules test() and predict() calls, otherwise loops get skipp…
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
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
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.