Skip to content

Commit 6815adb

Browse files
committed
docstring for use_torchrun and nproc_per_node
1 parent c253d0b commit 6815adb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/sagemaker/remote_function/client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,12 @@ def remote(
278278
max_wait_time_in_seconds (int): Timeout in seconds waiting for spot training job.
279279
After this amount of time Amazon SageMaker will stop waiting for managed spot training
280280
job to complete. Defaults to ``None``.
281+
282+
use_torchrun (bool): Specifies whether to use torchrun for distributed training.
283+
Defaults to ``False``.
284+
285+
nproc_per_node (int): Specifies the number of processes per node for distributed training.
286+
Defaults to ``1``.
281287
"""
282288

283289
def _remote(func):

0 commit comments

Comments
 (0)