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
b2c3fc5d
Unverified
Commit
b2c3fc5d
authored
Feb 21, 2025
by
Isotr0py
Committed by
GitHub
Feb 20, 2025
Browse files
[Bugfix][CPU] Fix cpu all-reduce using native pytorch implementation (#13586)
parent
839b27c6
Changes
1
Hide 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 @
b2c3fc5d
...
@@ -30,4 +30,5 @@ class CpuCommunicator(DeviceCommunicatorBase):
...
@@ -30,4 +30,5 @@ class CpuCommunicator(DeviceCommunicatorBase):
pass
pass
def
all_reduce
(
self
,
input_
):
def
all_reduce
(
self
,
input_
):
return
self
.
dist_module
.
all_reduce
(
input_
,
group
=
self
.
device_group
)
self
.
dist_module
.
all_reduce
(
input_
,
group
=
self
.
device_group
)
return
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