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
25a9d4b3
Commit
25a9d4b3
authored
Mar 12, 2026
by
王敏
Browse files
[fix]添加VLLM_USE_LIGHTOP_FUSED_TOPP_TOPK控制lightop topp_topk融合算子开关
parent
806ca2be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
vllm/envs.py
vllm/envs.py
+6
-0
No files found.
vllm/envs.py
View file @
25a9d4b3
...
...
@@ -309,6 +309,7 @@ if TYPE_CHECKING:
VLLM_USE_LIGHTOP_FILL_MOE_ALIGN
:
bool
=
False
VLLM_USE_LIGHTOP_RMS_ROPE_CONCAT
:
bool
=
False
VLLM_USE_CUDA_GRAPH_SIZES
:
bool
=
False
VLLM_USE_LIGHTOP_FUSED_TOPP_TOPK
:
bool
=
False
def
get_default_cache_root
():
...
...
@@ -1934,6 +1935,11 @@ environment_variables: dict[str, Callable[[], Any]] = {
"VLLM_USE_CUDA_GRAPH_SIZES"
:
lambda
:
(
os
.
getenv
(
"VLLM_USE_CUDA_GRAPH_SIZES"
,
"False"
).
lower
()
in
(
"true"
,
"1"
)),
#If set to 1/True, enable fused topk topk kernel in lightop
"VLLM_USE_LIGHTOP_FUSED_TOPP_TOPK"
:
lambda
:
(
os
.
environ
.
get
(
"VLLM_USE_LIGHTOP_FUSED_TOPP_TOPK"
,
"False"
).
lower
()
in
(
"true"
,
"1"
)),
}
# --8<-- [end:env-vars-definition]
...
...
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