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
8364249c
Commit
8364249c
authored
Dec 03, 2025
by
zhuwenwen
Browse files
set VLLM_USE_OPT_RESHAPE_AND_CACHE=1 for qwen3-30b
parent
d533c559
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vllm/model_executor/model_loader/utils.py
vllm/model_executor/model_loader/utils.py
+4
-4
No files found.
vllm/model_executor/model_loader/utils.py
View file @
8364249c
...
...
@@ -269,8 +269,8 @@ def get_model_architecture(
os
.
environ
[
'VLLM_USE_LIGHTOP_MOE_SUM'
]
=
'1'
if
not
envs
.
is_set
(
"VLLM_USE_FUSE_SILU_AND_MUL"
):
os
.
environ
[
'VLLM_USE_FUSE_SILU_AND_MUL'
]
=
'1'
#
if not envs.is_set("VLLM_USE_OPT_RESHAPE_AND_CACHE"):
#
os.environ['VLLM_USE_OPT_RESHAPE_AND_CACHE'] = '1'
if
not
envs
.
is_set
(
"VLLM_USE_OPT_RESHAPE_AND_CACHE"
):
os
.
environ
[
'VLLM_USE_OPT_RESHAPE_AND_CACHE'
]
=
'1'
if
architectures
in
[[
'DeepseekV32ForCausalLM'
]]:
if
not
envs
.
is_set
(
"VLLM_USE_V32_ENCODE"
):
...
...
@@ -305,8 +305,8 @@ def get_model_architecture(
os
.
environ
[
'VLLM_USE_LIGHTOP_MOE_SUM'
]
=
'1'
if
not
envs
.
is_set
(
"VLLM_USE_FUSE_SILU_AND_MUL"
):
os
.
environ
[
'VLLM_USE_FUSE_SILU_AND_MUL'
]
=
'1'
#
if not envs.is_set("VLLM_USE_OPT_RESHAPE_AND_CACHE"):
#
os.environ['VLLM_USE_OPT_RESHAPE_AND_CACHE'] = '1'
if
not
envs
.
is_set
(
"VLLM_USE_OPT_RESHAPE_AND_CACHE"
):
os
.
environ
[
'VLLM_USE_OPT_RESHAPE_AND_CACHE'
]
=
'1'
if
architectures
in
[[
'DeepseekV32ForCausalLM'
]]:
if
not
envs
.
is_set
(
"VLLM_USE_V32_ENCODE"
):
...
...
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