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
2c560dc5
Commit
2c560dc5
authored
Jan 16, 2026
by
zhuwenwen
Browse files
update custom_all_reduce
parent
d4df43b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
vllm/distributed/device_communicators/custom_all_reduce.py
vllm/distributed/device_communicators/custom_all_reduce.py
+1
-4
No files found.
vllm/distributed/device_communicators/custom_all_reduce.py
View file @
2c560dc5
...
@@ -271,10 +271,7 @@ class CustomAllreduce:
...
@@ -271,10 +271,7 @@ class CustomAllreduce:
if
envs
.
VLLM_CUSTOM_CACHE
:
if
envs
.
VLLM_CUSTOM_CACHE
:
return
self
.
all_reduce
(
input
,
registered
=
True
)
return
self
.
all_reduce
(
input
,
registered
=
True
)
else
:
else
:
if
not
self
.
fully_connected
:
return
self
.
all_reduce
(
input
,
registered
=
False
)
return
self
.
all_reduce
(
input
,
registered
=
False
)
else
:
return
self
.
all_reduce
(
input
,
registered
=
True
)
else
:
else
:
# If warm up, mimic the allocation pattern since custom
# If warm up, mimic the allocation pattern since custom
# allreduce is out-of-place.
# allreduce is out-of-place.
...
...
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