Skip to content

Commit

Permalink
remove torch 2
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea committed Dec 8, 2023
1 parent 728aaa2 commit 905d5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/data/test_packing.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def test_auto_packing_with_streaming_dataloader(tmp_path: Path):
# Gets copied per worker and we cannot check the waste for child processes.
'num_workers': 0,
'pin_memory': False,
'prefetch_factor': None if using_torch_2() else 2,
'prefetch_factor': None,
'persistent_workers': False,
'timeout': 0,
})
Expand Down

0 comments on commit 905d5e2

Please sign in to comment.