Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/sagemaker_training/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ def _get_by_runner_type(
)
elif identifier is RunnerType.SMDataParallel:
return mpi.WorkerRunner(
user_entry_point, args, env_vars, processes_per_host, env.master_hostname
user_entry_point,
args,
env_vars,
processes_per_host,
env.master_hostname,
env.current_host,
)
elif identifier is RunnerType.MPI and env.is_master:
num_processes = _mpi_param_value(mpi_args, env, params.MPI_NUM_PROCESSES)
Expand Down