Skip to content

Commit

Permalink
Fix accelerate tests command (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgugger authored Jul 18, 2022
1 parent be4b74f commit eebeb59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/accelerate/commands/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_command_parser(subparsers=None):


def test_command(args):
script_name = os.path.sep.join(__file__.split(os.path.sep)[:-2] + ["test_utils", "test_script.py"])
script_name = os.path.sep.join(__file__.split(os.path.sep)[:-2] + ["test_utils", "scripts", "test_script.py"])

test_args = f"""
--config_file={args.config_file} {script_name}
Expand Down

0 comments on commit eebeb59

Please sign in to comment.