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
241ea5cd
Commit
241ea5cd
authored
Oct 02, 2025
by
zhuwenwen
Browse files
update fused_moe.py
parent
1faf662d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/model_executor/layers/fused_moe/fused_moe.py
vllm/model_executor/layers/fused_moe/fused_moe.py
+2
-0
No files found.
vllm/model_executor/layers/fused_moe/fused_moe.py
View file @
241ea5cd
...
@@ -1259,6 +1259,7 @@ def inplace_fused_experts(
...
@@ -1259,6 +1259,7 @@ def inplace_fused_experts(
block_shape
:
Optional
[
List
[
int
]]
=
None
,
#noqa: UP006
block_shape
:
Optional
[
List
[
int
]]
=
None
,
#noqa: UP006
w1_bias
:
Optional
[
torch
.
Tensor
]
=
None
,
w1_bias
:
Optional
[
torch
.
Tensor
]
=
None
,
w2_bias
:
Optional
[
torch
.
Tensor
]
=
None
,
w2_bias
:
Optional
[
torch
.
Tensor
]
=
None
,
use_nn_moe
:
Optional
[
bool
]
=
False
,
)
->
None
:
)
->
None
:
fused_experts_impl
(
hidden_states
,
w1
,
w2
,
topk_weights
,
topk_ids
,
True
,
fused_experts_impl
(
hidden_states
,
w1
,
w2
,
topk_weights
,
topk_ids
,
True
,
activation
,
apply_router_weight_on_input
,
use_fp8_w8a8
,
activation
,
apply_router_weight_on_input
,
use_fp8_w8a8
,
...
@@ -1293,6 +1294,7 @@ def inplace_fused_experts_fake(
...
@@ -1293,6 +1294,7 @@ def inplace_fused_experts_fake(
block_shape
:
Optional
[
List
[
int
]]
=
None
,
#noqa: UP006
block_shape
:
Optional
[
List
[
int
]]
=
None
,
#noqa: UP006
w1_bias
:
Optional
[
torch
.
Tensor
]
=
None
,
w1_bias
:
Optional
[
torch
.
Tensor
]
=
None
,
w2_bias
:
Optional
[
torch
.
Tensor
]
=
None
,
w2_bias
:
Optional
[
torch
.
Tensor
]
=
None
,
use_nn_moe
:
Optional
[
bool
]
=
False
,
)
->
None
:
)
->
None
:
pass
pass
...
...
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