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
fd8e4a76
"vllm/vscode:/vscode.git/clone" did not exist on "676a99982fe9aabe72fd52a91e08988a653a7359"
Commit
fd8e4a76
authored
Dec 24, 2025
by
zhuwenwen
Browse files
update flash_mla_with_kvcache
set VLLM_USE_PIECEWISE=0
parent
1871c26c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
vllm/attention/ops/flashmla.py
vllm/attention/ops/flashmla.py
+2
-2
vllm/envs.py
vllm/envs.py
+1
-1
No files found.
vllm/attention/ops/flashmla.py
View file @
fd8e4a76
...
@@ -160,8 +160,8 @@ def flash_mla_with_kvcache(
...
@@ -160,8 +160,8 @@ def flash_mla_with_kvcache(
else
:
else
:
if
current_platform
.
is_rocm
():
if
current_platform
.
is_rocm
():
out
,
softmax_lse
=
flash_mla_cuda
.
fwd_kvcache_mla
(
out
,
softmax_lse
=
flash_mla_cuda
.
fwd_kvcache_mla
(
q
,
k_cache
,
block_table
,
cache_seqlens
,
head_dim_v
,
tile_scheduler_metadata
,
q
,
k_cache
,
head_dim_v
,
cache_seqlens
,
block_table
,
softmax_scale
,
num_splits
,
softmax_scale
,
causal
,
is_fp8_kvcache
,
causal
,
tile_scheduler_metadata
,
num_splits
,
is_fp8_kvcache
,
indices
)
indices
)
else
:
else
:
out
,
softmax_lse
=
torch
.
ops
.
_flashmla_C
.
fwd_kvcache_mla
(
out
,
softmax_lse
=
torch
.
ops
.
_flashmla_C
.
fwd_kvcache_mla
(
...
...
vllm/envs.py
View file @
fd8e4a76
...
@@ -1657,7 +1657,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
...
@@ -1657,7 +1657,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
(
"true"
,
"1"
)),
(
"true"
,
"1"
)),
# vLLM will use piecewise
# vLLM will use piecewise
"VLLM_USE_PIECEWISE"
:
"VLLM_USE_PIECEWISE"
:
lambda
:
(
os
.
environ
.
get
(
"VLLM_USE_PIECEWISE"
,
"
Tru
e"
).
lower
()
in
lambda
:
(
os
.
environ
.
get
(
"VLLM_USE_PIECEWISE"
,
"
Fals
e"
).
lower
()
in
(
"true"
,
"1"
)),
(
"true"
,
"1"
)),
# vllm will use encoding_dsv32.py for dpsk-v32
# vllm will use encoding_dsv32.py for dpsk-v32
"VLLM_USE_V32_ENCODE"
:
"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