-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Auto-set DataLoader.worker_init_fn with seed_everything
#6960
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
41 commits
Select commit
Hold shift + click to select a range
18e61ee
example
awaelchli 588f581
auto add worker fn
awaelchli bf92793
Revert "example"
awaelchli 49f3200
revert
awaelchli 74893bd
typo
awaelchli 49c1a64
flake
awaelchli 50d35ad
add worker_id
awaelchli 873584e
typo
awaelchli b71d16c
workers argument in seed_everyting
awaelchli 23f28f3
add global rank for worker_init_fn
awaelchli 59416c9
include torch.manual_seed
awaelchli 3b247b8
fix env var access
awaelchli 5ed6791
ddp test
awaelchli 08e5524
suggestion by r.kern
awaelchli b7828ec
incorporate seedsequence for torch and stdlib seed
awaelchli f97997f
Merge branch 'master' into feature/worker_init_fn
awaelchli b3af3d1
strict assert
awaelchli e4cda36
strict assert
awaelchli 2f461e7
remove print statement
awaelchli 398ddef
fix global rank issues
awaelchli becb26b
unused import
awaelchli c9bfc55
Merge branch 'master' into feature/worker_init_fn
awaelchli a999b95
ignore coverage for worker function
awaelchli 896bed7
Update tests/trainer/test_dataloaders.py
awaelchli 5b656aa
Update pytorch_lightning/trainer/data_loading.py
awaelchli 69deaf8
Update pytorch_lightning/trainer/data_loading.py
awaelchli 60e0669
update req
awaelchli 2eb979e
Merge remote-tracking branch 'origin/feature/worker_init_fn' into fea…
awaelchli 9e0ac38
32-bit seeding for pytorch prior 1.7
awaelchli e56d1b0
flake8
awaelchli e8844b8
test duplicates
awaelchli cc9f818
update docs
awaelchli 4d6d56b
Update requirements.txt
carmocca 0a62d55
Update requirements.txt
carmocca 1fa020f
Update requirements.txt
carmocca 2124ef5
Update requirements.txt
carmocca 4456bf8
change default
awaelchli 708581a
remove sanity test
awaelchli fd59239
unused import
awaelchli 99799a0
Revert "remove sanity test"
awaelchli 8514821
better sanity check
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
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.