Skip to content

Commit

Permalink
[tools] refine doc for ssh_launcher (#2265)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingchensong authored Jan 2, 2024
1 parent 04d7761 commit e988fab
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tools/ssh_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
'
```
Expand All @@ -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
"""

Expand Down

0 comments on commit e988fab

Please sign in to comment.