Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
0860087a
Unverified
Commit
0860087a
authored
Jun 17, 2025
by
Conroy Cheers
Committed by
GitHub
Jun 17, 2025
Browse files
[Fix] Fall back to Gloo when NCCL backend is unavailable (#19641)
Signed-off-by:
conroy-cheers
<
conroy@corncheese.org
>
parent
6bc7b573
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
vllm/distributed/parallel_state.py
vllm/distributed/parallel_state.py
+7
-0
No files found.
vllm/distributed/parallel_state.py
View file @
0860087a
...
...
@@ -938,6 +938,13 @@ def init_distributed_environment(
assert
distributed_init_method
is
not
None
,
(
"distributed_init_method must be provided when initializing "
"distributed environment"
)
if
not
torch
.
distributed
.
is_backend_available
(
backend
):
logger
.
warning
(
"Distributed backend %s is not available; "
"falling back to gloo."
,
backend
)
assert
torch
.
distributed
.
is_gloo_available
(),
(
"Fallback Gloo backend is not available."
)
backend
=
"gloo"
# this backend is used for WORLD
torch
.
distributed
.
init_process_group
(
backend
=
backend
,
...
...
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