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
f8cf43ae
Commit
f8cf43ae
authored
Sep 26, 2025
by
zhuwenwen
Browse files
update VLLM_USE_LIGHTOP and VLLM_USE_OPT_CAT
parent
f70d0ec6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
vllm/model_executor/model_loader/utils.py
vllm/model_executor/model_loader/utils.py
+10
-1
No files found.
vllm/model_executor/model_loader/utils.py
View file @
f8cf43ae
...
@@ -190,14 +190,23 @@ def get_model_architecture(
...
@@ -190,14 +190,23 @@ def get_model_architecture(
else
:
else
:
os
.
environ
[
'LM_NN'
]
=
'1'
os
.
environ
[
'LM_NN'
]
=
'1'
if
(
architectures
==
[
'DeepseekV3ForCausalLM'
]
or
architectures
==
[
'DeepSeekMTPModel'
]
)
:
if
architectures
in
[
[
'DeepseekV3ForCausalLM'
]
,
[
'DeepSeekMTPModel'
]
]
:
if
not
envs
.
is_set
(
"VLLM_USE_LIGHTOP"
):
if
not
envs
.
is_set
(
"VLLM_USE_LIGHTOP"
):
os
.
environ
[
'VLLM_USE_LIGHTOP'
]
=
'1'
os
.
environ
[
'VLLM_USE_LIGHTOP'
]
=
'1'
if
not
envs
.
is_set
(
"VLLM_USE_OPT_CAT"
):
os
.
environ
[
'VLLM_USE_OPT_CAT'
]
=
'1'
if
os
.
getenv
(
'GEMM_PAD'
)
!=
'1'
:
if
os
.
getenv
(
'GEMM_PAD'
)
!=
'1'
:
os
.
environ
[
'GEMM_PAD'
]
=
'0'
os
.
environ
[
'GEMM_PAD'
]
=
'0'
if
os
.
getenv
(
'FA_PAD'
)
!=
'1'
:
if
os
.
getenv
(
'FA_PAD'
)
!=
'1'
:
os
.
environ
[
'FA_PAD'
]
=
'0'
os
.
environ
[
'FA_PAD'
]
=
'0'
else
:
if
architectures
in
[[
'DeepseekV3ForCausalLM'
],
[
'DeepSeekMTPModel'
]]:
if
not
envs
.
is_set
(
"VLLM_USE_LIGHTOP"
):
os
.
environ
[
'VLLM_USE_LIGHTOP'
]
=
'1'
if
not
envs
.
is_set
(
"VLLM_USE_OPT_CAT"
):
os
.
environ
[
'VLLM_USE_OPT_CAT'
]
=
'1'
# awq相关配置
# awq相关配置
try
:
try
:
if
os
.
getenv
(
'AWQ_MOE_SZ'
)
==
None
:
if
os
.
getenv
(
'AWQ_MOE_SZ'
)
==
None
:
...
...
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