We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 987530c commit 1af42d7Copy full SHA for 1af42d7
tests/trainer/test_dataloaders.py
@@ -803,8 +803,12 @@ def _user_worker_init_fn(_):
803
pass
804
805
806
+@RunIf(max_torch="1.8.9")
807
def test_missing_worker_init_fn():
- """ Test that naive worker seed initialization leads to undesired random state in subprocesses. """
808
+ """
809
+ Test that naive worker seed initialization leads to undesired random state in subprocesses.
810
+ PyTorch 1.9+ does not have this issue.
811
812
dataset = NumpyRandomDataset()
813
814
seed_everything(0)
0 commit comments