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
25e16eea
Commit
25e16eea
authored
Jan 17, 2026
by
zhuwenwen
Browse files
set VLLM_USE_FLASH_ATTN_FP8=1 and VLLM_USE_FLASH_MLA_FP8=1
parent
a50ece3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/envs.py
vllm/envs.py
+2
-2
No files found.
vllm/envs.py
View file @
25e16eea
...
@@ -1069,7 +1069,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
...
@@ -1069,7 +1069,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
# If set, vLLM will use FLASH ATTN fp8 attention optimizations.
# If set, vLLM will use FLASH ATTN fp8 attention optimizations.
"VLLM_USE_FLASH_ATTN_FP8"
:
"VLLM_USE_FLASH_ATTN_FP8"
:
lambda
:
bool
(
int
(
os
.
getenv
(
"VLLM_USE_FLASH_ATTN_FP8"
,
"
0
"
))),
lambda
:
bool
(
int
(
os
.
getenv
(
"VLLM_USE_FLASH_ATTN_FP8"
,
"
1
"
))),
# If set, vLLM will use FLASH MLA attention optimizations.
# If set, vLLM will use FLASH MLA attention optimizations.
"VLLM_USE_FLASH_MLA"
:
"VLLM_USE_FLASH_MLA"
:
...
@@ -1077,7 +1077,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
...
@@ -1077,7 +1077,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
# If set, vLLM will use FLASH MLA fp8 attention optimizations.
# If set, vLLM will use FLASH MLA fp8 attention optimizations.
"VLLM_USE_FLASH_MLA_FP8"
:
"VLLM_USE_FLASH_MLA_FP8"
:
lambda
:
bool
(
int
(
os
.
getenv
(
"VLLM_USE_FLASH_MLA_FP8"
,
"
0
"
))),
lambda
:
bool
(
int
(
os
.
getenv
(
"VLLM_USE_FLASH_MLA_FP8"
,
"
1
"
))),
# flag to control vllm to use optimized kernels
# flag to control vllm to use optimized kernels
"VLLM_USE_OPT_OP"
:
"VLLM_USE_OPT_OP"
:
...
...
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