Skip to content

Commit

Permalink
bring back custom_sampler_check
Browse files Browse the repository at this point in the history
  • Loading branch information
anw90 committed Dec 22, 2023
1 parent 47c4b09 commit 4978303
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/accelerate/test_utils/scripts/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,9 +653,7 @@ def main():
dl_preparation_check()
if state.distributed_type != DistributedType.XLA:
central_dl_preparation_check()
# Skip this test because the TorchXLA's MpDeviceLoaderWrapper does not
# have the 'batch_sampler' attribute.
custom_sampler_check()
custom_sampler_check()

# Trainings are not exactly the same in DeepSpeed and CPU mode
if state.distributed_type == DistributedType.DEEPSPEED:
Expand Down

0 comments on commit 4978303

Please sign in to comment.