From e47beeb21707dfe7e22ddcfd5bb526914547f120 Mon Sep 17 00:00:00 2001 From: xingchensong Date: Wed, 27 Dec 2023 17:13:35 +0800 Subject: [PATCH] [tools] refine doc for ssh_launcher --- tools/ssh_launcher.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tools/ssh_launcher.py b/tools/ssh_launcher.py index 8d1318e7b..ee7d8fc3d 100644 --- a/tools/ssh_launcher.py +++ b/tools/ssh_launcher.py @@ -21,14 +21,7 @@ num_nodes=2 python3 tools/ssh_launcher.py -n ${num_nodes} -H hostfile ' NCCL_SOCKET_IFNAME=eth0 bash run.sh \ --stage 4 --stop_stage 4 \ - --data_type shard --train_set train \ - --train_engine ${engine} \ - --dir ${dir} \ - --tensorboard_dir ${tensorboard_dir} \ - --job_id 2023 \ - --train_config ${train_config} \ --HOST_NODE_ADDR ${HOST_NODE_ADDR}:26555 \ - ${checkpoint:+--checkpoint $checkpoint} \ --num_nodes ${num_node} ' ``` @@ -45,7 +38,8 @@ ``` NOTE: -Ensure SSH passwordless login is enabled between different machines. +1. Ensure SSH passwordless login is enabled between different machines. +2. HOST_NODE_ADDR is automatically parsed in function `submit()` and passed to ENV """