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
155d41d1
Commit
155d41d1
authored
Apr 12, 2025
by
zhuwenwen
Browse files
set MOE_NN to default value of 0
parent
e19ddc39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/model_executor/layers/fused_moe/layer.py
vllm/model_executor/layers/fused_moe/layer.py
+2
-1
No files found.
vllm/model_executor/layers/fused_moe/layer.py
View file @
155d41d1
...
...
@@ -527,7 +527,8 @@ class FusedMoE(torch.nn.Module):
if
quant_config
is
None
:
# 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
:
self
.
use_nn_moe
=
False
...
...
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