Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tools] refine doc for ssh_launcher #2265

Merged
merged 1 commit into from
Jan 2, 2024
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
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
Loading