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
6c749399
Unverified
Commit
6c749399
authored
Apr 09, 2026
by
Richard Zou
Committed by
GitHub
Apr 09, 2026
Browse files
[BugFix] fix tests/kernels/moe/test_moe_layer.py (#39404)
Signed-off-by:
Richard Zou
<
zou3519@gmail.com
>
parent
91eea723
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/layers/fused_moe/runner/moe_runner_base.py
...model_executor/layers/fused_moe/runner/moe_runner_base.py
+1
-1
No files found.
vllm/model_executor/layers/fused_moe/runner/moe_runner_base.py
View file @
6c749399
...
...
@@ -40,7 +40,7 @@ from vllm.utils.torch_utils import (
def
get_layer_from_name
(
layer_name
:
str
)
->
torch
.
nn
.
Module
:
forward_context
:
ForwardContext
=
get_forward_context
()
if
layer_name
==
"from_forward_context"
:
if
not
HAS_OPAQUE_TYPE
and
layer_name
==
"from_forward_context"
:
all_moe_layers
=
forward_context
.
all_moe_layers
assert
all_moe_layers
is
not
None
moe_layer_index
=
forward_context
.
moe_layer_index
...
...
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