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
a7668e46
Commit
a7668e46
authored
Sep 03, 2025
by
zhuwenwen
Browse files
[fix]fix tests of v1 and worker
parent
4a62a3eb
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
tests/worker/test_model_runner.py
tests/worker/test_model_runner.py
+1
-1
vllm/model_executor/layers/fused_moe/layer.py
vllm/model_executor/layers/fused_moe/layer.py
+0
-1
No files found.
tests/worker/test_model_runner.py
View file @
a7668e46
...
@@ -32,7 +32,7 @@ def test_deepseek_mla_attn_backend_module():
...
@@ -32,7 +32,7 @@ def test_deepseek_mla_attn_backend_module():
trust_remote_code
=
True
,
trust_remote_code
=
True
,
enable_chunked_prefill
=
False
,
enable_chunked_prefill
=
False
,
)
)
assert
model_runner
.
attn_backend
.
__name__
==
"TritonMLABackend"
assert
model_runner
.
attn_backend
.
__name__
==
"FlashMLABackend"
#
"TritonMLABackend"
@
pytest
.
mark
.
parametrize
(
"batch_size"
,
list
(
range
(
1
,
257
,
3
)))
@
pytest
.
mark
.
parametrize
(
"batch_size"
,
list
(
range
(
1
,
257
,
3
)))
...
...
vllm/model_executor/layers/fused_moe/layer.py
View file @
a7668e46
...
@@ -799,7 +799,6 @@ class FusedMoE(torch.nn.Module):
...
@@ -799,7 +799,6 @@ class FusedMoE(torch.nn.Module):
if
quant_config
is
None
:
if
quant_config
is
None
:
# Not considering quant for now, temporarily
# Not considering quant for now, temporarily
self
.
use_nn_moe
=
int
(
os
.
environ
.
get
(
'MOE_NN'
,
1
))
==
1
self
.
use_nn_moe
=
int
(
os
.
environ
.
get
(
'MOE_NN'
,
1
))
==
1
# self.use_nn_moe = os.environ.get('MOE_NN') == '1'
else
:
else
:
self
.
use_nn_moe
=
False
self
.
use_nn_moe
=
False
...
...
Prev
1
2
Next
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