Skip to content

Commit

Permalink
does this work with iterable dsets?
Browse files Browse the repository at this point in the history
  • Loading branch information
byi8220 committed Sep 3, 2024
1 parent 99f2afe commit 3235e99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def main():
test_stateful_dataloader_save_state(accelerator)

# Dataloader after pickling
loader = DataLoader(dataset, shuffle=False, batch_size=BATCH_SIZE, num_workers=NUM_WORKERS)
loader = DataLoader(DummyIterableDataset(), shuffle=False, batch_size=BATCH_SIZE, num_workers=NUM_WORKERS)
test_pickled_dataloader(loader, accelerator)

accelerator.end_training()
Expand Down

0 comments on commit 3235e99

Please sign in to comment.