Skip to content

Commit

Permalink
test debug
Browse files Browse the repository at this point in the history
  • Loading branch information
drewnutt committed Jul 8, 2024
1 parent da2aa72 commit c355145
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_example_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ def test_pytorch_iterdataset():
np.testing.assert_allclose(labels[0,-1], 0.162643)

# ensure it works with more than 1 worker
m.examples.reset()
torch_loader = torch.utils.data.DataLoader(
m, batch_size=None, num_workers=2)
iterator = iter(torch_loader)
Expand Down

0 comments on commit c355145

Please sign in to comment.