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
96fc0950
Unverified
Commit
96fc0950
authored
Mar 02, 2026
by
Hanjie Qiu
Committed by
GitHub
Mar 02, 2026
Browse files
[All Reduce] Change default backend of Flashinfer All Reduce to trtllm (#35793)
Signed-off-by:
hjjq
<
hanjieq@nvidia.com
>
parent
1b82b433
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
vllm/envs.py
vllm/envs.py
+5
-2
No files found.
vllm/envs.py
View file @
96fc0950
...
@@ -168,7 +168,7 @@ if TYPE_CHECKING:
...
@@ -168,7 +168,7 @@ if TYPE_CHECKING:
VLLM_FLASHINFER_MOE_BACKEND
:
Literal
[
"throughput"
,
"latency"
,
"masked_gemm"
]
=
(
VLLM_FLASHINFER_MOE_BACKEND
:
Literal
[
"throughput"
,
"latency"
,
"masked_gemm"
]
=
(
"latency"
"latency"
)
)
VLLM_FLASHINFER_ALLREDUCE_BACKEND
:
Literal
[
"auto"
,
"trtllm"
,
"mnnvl"
]
=
"
auto
"
VLLM_FLASHINFER_ALLREDUCE_BACKEND
:
Literal
[
"auto"
,
"trtllm"
,
"mnnvl"
]
=
"
trtllm
"
VLLM_FLASHINFER_WORKSPACE_BUFFER_SIZE
:
int
=
394
*
1024
*
1024
VLLM_FLASHINFER_WORKSPACE_BUFFER_SIZE
:
int
=
394
*
1024
*
1024
VLLM_XGRAMMAR_CACHE_MB
:
int
=
0
VLLM_XGRAMMAR_CACHE_MB
:
int
=
0
VLLM_MSGPACK_ZERO_COPY_THRESHOLD
:
int
=
256
VLLM_MSGPACK_ZERO_COPY_THRESHOLD
:
int
=
256
...
@@ -1297,9 +1297,12 @@ environment_variables: dict[str, Callable[[], Any]] = {
...
@@ -1297,9 +1297,12 @@ environment_variables: dict[str, Callable[[], Any]] = {
# Flashinfer fused allreduce backend.
# Flashinfer fused allreduce backend.
# "auto" will default to "mnnvl", which performs mostly same/better than "trtllm".
# "auto" will default to "mnnvl", which performs mostly same/better than "trtllm".
# But "mnnvl" backend does not support fuse with quantization.
# But "mnnvl" backend does not support fuse with quantization.
# TODO: Default is "trtllm" right now because "mnnvl" has issues with cudagraph:
# https://github.com/vllm-project/vllm/issues/35772
# Should switch back to "auto" if the issue is resolved.
"VLLM_FLASHINFER_ALLREDUCE_BACKEND"
:
env_with_choices
(
"VLLM_FLASHINFER_ALLREDUCE_BACKEND"
:
env_with_choices
(
"VLLM_FLASHINFER_ALLREDUCE_BACKEND"
,
"VLLM_FLASHINFER_ALLREDUCE_BACKEND"
,
"
auto
"
,
"
trtllm
"
,
[
"auto"
,
"trtllm"
,
"mnnvl"
],
[
"auto"
,
"trtllm"
,
"mnnvl"
],
),
),
# Control the workspace buffer size for the FlashInfer backend.
# Control the workspace buffer size for the FlashInfer 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