Skip to content

Commit

Permalink
rename test
Browse files Browse the repository at this point in the history
  • Loading branch information
muellerzr committed Sep 12, 2023
1 parent 60ea398 commit af68b87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/accelerate/test_utils/scripts/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def test_split_between_processes_tensor():
state.wait_for_everyone()


def test_breakpoint():
def test_trigger():
accelerator = Accelerator()
# should start with being false
assert accelerator.check_trigger() is False
Expand Down Expand Up @@ -605,8 +605,8 @@ def main():
training_check()

if state.local_process_index == 0:
print("\n**Breakpoint test**")
test_breakpoint()
print("\n**Breakpoint trigger test**")
test_trigger()


if __name__ == "__main__":
Expand Down

0 comments on commit af68b87

Please sign in to comment.