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
e5497373
Commit
e5497373
authored
May 08, 2025
by
zhuwenwen
Browse files
set MOE_NN=1
parent
ee405280
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/model_executor/layers/fused_moe/layer.py
vllm/model_executor/layers/fused_moe/layer.py
+2
-2
No files found.
vllm/model_executor/layers/fused_moe/layer.py
View file @
e5497373
...
@@ -524,8 +524,8 @@ class FusedMoE(torch.nn.Module):
...
@@ -524,8 +524,8 @@ 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'
#
self.use_nn_moe = os.environ.get('MOE_NN') == '1'
else
:
else
:
self
.
use_nn_moe
=
False
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