diff --git a/src/accelerate/commands/test.py b/src/accelerate/commands/test.py index 3792336795b..41da7559679 100644 --- a/src/accelerate/commands/test.py +++ b/src/accelerate/commands/test.py @@ -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}