Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
muellerzr committed Oct 30, 2023
1 parent 2ab2b1e commit 631e824
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/accelerate/test_utils/scripts/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ def __len__(self):
assert isinstance(
dl.batch_sampler, CustomBatchSampler
), "Custom sampler was changed after calling `prepare_data_loader`"
state._reset_state()


def mock_training(length, batch_size, generator):
Expand Down

0 comments on commit 631e824

Please sign in to comment.