Skip to content

Commit

Permalink
updated params
Browse files Browse the repository at this point in the history
  • Loading branch information
bhimrazy committed Sep 9, 2024
1 parent 53b360c commit 0c7cf3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/streaming/test_combined.py
Original file line number Diff line number Diff line change
Expand Up @@ -964,15 +964,15 @@ def test_combined_dataset_dataloader_states(tmpdir):
# Verify remaining batches in the first epoch
count = 0
for _ in dataloader:
# assert dataloader.current_epoch == 1, "Current epoch should be 1"
assert dataloader.current_epoch == 1, "Current epoch should be 1"
count += 1
assert count == 15, "There should be atleast 15 batches remaining in the first epoch"
assert not dataloader.restore

# Verify batches in the second epoch
count = 0
for _ in dataloader:
# assert dataloader.current_epoch == 2, "Current epoch should be 2"
assert dataloader.current_epoch == 2, "Current epoch should be 2"
count += 1
assert count >= 25, "There should be at least 25 batches in the second epoch"

Expand Down

0 comments on commit 0c7cf3e

Please sign in to comment.