Skip to content

Commit d7be38f

Browse files
committed
add a comment
1 parent a1d4b3d commit d7be38f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

torchtune/_cli/run.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ def _run_distributed(self, args: argparse.Namespace, is_builtin: bool):
8888
# Have to reset the argv so that the recipe can be run with the correct arguments
8989
args.training_script = args.recipe
9090
args.training_script_args = args.recipe_args
91+
# torchtune built-in recipes are specified with an absolute posix path, but
92+
# custom recipes are specified as a relative module dot path and need to be
93+
# run with python -m
9194
args.module = not is_builtin
9295
run(args)
9396

0 commit comments

Comments
 (0)