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
d18f4e73
Unverified
Commit
d18f4e73
authored
Mar 27, 2024
by
youkaichao
Committed by
GitHub
Mar 27, 2024
Browse files
[Bugfix] [Hotfix] fix nccl library name (#3661)
parent
82c540be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/model_executor/parallel_utils/pynccl.py
vllm/model_executor/parallel_utils/pynccl.py
+2
-2
No files found.
vllm/model_executor/parallel_utils/pynccl.py
View file @
d18f4e73
...
@@ -39,9 +39,9 @@ if so_file:
...
@@ -39,9 +39,9 @@ if so_file:
f
"Loading nccl from environment variable VLLM_NCCL_SO_PATH=
{
so_file
}
"
)
f
"Loading nccl from environment variable VLLM_NCCL_SO_PATH=
{
so_file
}
"
)
else
:
else
:
if
torch
.
version
.
cuda
is
not
None
:
if
torch
.
version
.
cuda
is
not
None
:
so_file
=
"libnccl.so"
so_file
=
"libnccl.so
.2
"
elif
torch
.
version
.
hip
is
not
None
:
elif
torch
.
version
.
hip
is
not
None
:
so_file
=
"librccl.so"
so_file
=
"librccl.so
.2
"
else
:
else
:
raise
ValueError
(
"NCCL only supports CUDA and ROCm backends."
)
raise
ValueError
(
"NCCL only supports CUDA and ROCm backends."
)
logger
.
debug
(
f
"Loading nccl from library
{
so_file
}
"
)
logger
.
debug
(
f
"Loading nccl from library
{
so_file
}
"
)
...
...
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