Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
byi8220 committed Sep 3, 2024
1 parent 3235e99 commit dff2666
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,8 @@ def main():
test_stateful_dataloader_save_state(accelerator)

# Dataloader after pickling
loader = DataLoader(DummyIterableDataset(), shuffle=False, batch_size=BATCH_SIZE, num_workers=NUM_WORKERS)
iterable_loader = create_dataloader(accelerator, dataset_size=NUM_ELEMENTS, batch_size=BATCH_SIZE, iterable=True)
loader = DataLoader(DummyIterableDataset(iterable_loader), shuffle=False, batch_size=BATCH_SIZE, num_workers=NUM_WORKERS)
test_pickled_dataloader(loader, accelerator)

accelerator.end_training()
Expand Down

0 comments on commit dff2666

Please sign in to comment.