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
e31946f8
Unverified
Commit
e31946f8
authored
Nov 05, 2025
by
Xiaozhu Meng
Committed by
GitHub
Nov 06, 2025
Browse files
[flashinfer] fix FI all2all with FI cutlass moe (#28166)
Signed-off-by:
Xiaozhu
<
mxz297@gmail.com
>
parent
bde50393
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vllm/model_executor/layers/fused_moe/flashinfer_cutlass_prepare_finalize.py
...r/layers/fused_moe/flashinfer_cutlass_prepare_finalize.py
+3
-1
No files found.
vllm/model_executor/layers/fused_moe/flashinfer_cutlass_prepare_finalize.py
View file @
e31946f8
...
@@ -233,12 +233,13 @@ def flashinfer_alltoall_dispatch(
...
@@ -233,12 +233,13 @@ def flashinfer_alltoall_dispatch(
max_num_token
=
(
max_num_token
=
(
max
(
global_num_tokens_cpu
)
if
global_num_tokens_cpu
is
not
None
else
x
.
shape
[
0
]
max
(
global_num_tokens_cpu
)
if
global_num_tokens_cpu
is
not
None
else
x
.
shape
[
0
]
)
)
orig_topk_weights_dtype
=
topk_weights
.
dtype
alltoall_info
,
topk_ids
,
topk_weights
,
_
=
(
alltoall_info
,
topk_ids
,
topk_weights
,
_
=
(
MnnvlMoe
.
mnnvl_moe_alltoallv_prepare_without_allgather
(
MnnvlMoe
.
mnnvl_moe_alltoallv_prepare_without_allgather
(
topk_ids
,
topk_ids
,
topk_weights
,
topk_weights
,
None
,
None
,
all2all_manager
.
prepare_workspace
,
all2all_manager
.
prepare_workspace
_tensor
,
max_num_token
,
max_num_token
,
ep_rank
,
ep_rank
,
ep_size
,
ep_size
,
...
@@ -247,6 +248,7 @@ def flashinfer_alltoall_dispatch(
...
@@ -247,6 +248,7 @@ def flashinfer_alltoall_dispatch(
top_k
,
top_k
,
)
)
)
)
topk_weights
=
topk_weights
.
view
(
dtype
=
orig_topk_weights_dtype
)
x
,
x_sf
=
moe_kernel_quantize_input
(
x
,
x_sf
=
moe_kernel_quantize_input
(
x
,
x
,
...
...
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