Skip to content

Commit 634b8f6

Browse files
committed
fixed string length, sagemaker_remote/job.py
1 parent 020f29b commit 634b8f6

File tree

1 file changed

+2
-1
lines changed
  • src/sagemaker/remote_function

1 file changed

+2
-1
lines changed

src/sagemaker/remote_function/job.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@
200200
fi
201201
202202
printf "INFO: Invoking remote function with torchrun inside conda environment: $conda_env.\\n"
203-
$conda_exe run -n $conda_env torchrun --nproc_per_node $NPROC_PER_NODE -m sagemaker.remote_function.invoke_function "$@"
203+
$conda_exe run -n $conda_env torchrun --nproc_per_node $NPROC_PER_NODE \
204+
-m sagemaker.remote_function.invoke_function "$@"
204205
else
205206
printf "INFO: No conda env provided. Invoking remote function with torchrun\\n"
206207
torchrun --nproc_per_node $NPROC_PER_NODE -m sagemaker.remote_function.invoke_function "$@"

0 commit comments

Comments
 (0)