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
6e4a93e3
Unverified
Commit
6e4a93e3
authored
May 09, 2025
by
Isotr0py
Committed by
GitHub
May 09, 2025
Browse files
[Bugfix][CPU] Fix broken AVX2 CPU TP support (#17252)
Signed-off-by:
Isotr0py
<
2037008807@qq.com
>
parent
217db4ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/distributed/device_communicators/cpu_communicator.py
vllm/distributed/device_communicators/cpu_communicator.py
+2
-1
No files found.
vllm/distributed/device_communicators/cpu_communicator.py
View file @
6e4a93e3
...
...
@@ -22,7 +22,8 @@ class CpuCommunicator(DeviceCommunicatorBase):
super
().
__init__
(
cpu_group
,
device
,
device_group
,
unique_name
)
self
.
dist_module
=
torch
.
distributed
if
current_platform
.
get_cpu_architecture
()
==
CpuArchEnum
.
X86
:
if
(
current_platform
.
get_cpu_architecture
()
==
CpuArchEnum
.
X86
)
\
and
hasattr
(
torch
.
ops
.
_C
,
"init_shm_manager"
):
self
.
dist_module
=
_CPUSHMDistributed
(
self
)
def
all_reduce
(
self
,
input_
):
...
...
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