Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
1908caad
Unverified
Commit
1908caad
authored
Jul 04, 2023
by
Hongxin Liu
Committed by
GitHub
Jul 04, 2023
Browse files
[cli] hotfix launch command for multi-nodes (#4165)
parent
2ac24040
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
colossalai/cli/launcher/run.py
colossalai/cli/launcher/run.py
+1
-3
No files found.
colossalai/cli/launcher/run.py
View file @
1908caad
...
...
@@ -164,9 +164,7 @@ def get_launch_command(
]
else
:
# extra launch args for torch distributed launcher with torch >= 1.9
default_torchrun_rdzv_args
=
dict
(
rdzv_backend
=
"c10d"
,
rdzv_endpoint
=
f
"
{
master_addr
}
:
{
master_port
}
"
,
rdzv_id
=
"colossalai-default-job"
)
default_torchrun_rdzv_args
=
dict
(
master_addr
=
master_addr
,
master_port
=
master_port
)
# update rdzv arguments
for
key
in
default_torchrun_rdzv_args
.
keys
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment