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
4145e50d
Unverified
Commit
4145e50d
authored
Feb 05, 2026
by
Matthew Bonanni
Committed by
GitHub
Feb 05, 2026
Browse files
[Bugfix] Fix DSV3.2 NVFP4 (#33932)
Signed-off-by:
Matthew Bonanni
<
mbonanni@redhat.com
>
parent
20f5d185
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vllm/model_executor/layers/attention/mla_attention.py
vllm/model_executor/layers/attention/mla_attention.py
+4
-2
No files found.
vllm/model_executor/layers/attention/mla_attention.py
View file @
4145e50d
...
...
@@ -530,7 +530,7 @@ class MLAAttention(nn.Module, AttentionLayerBase):
scale
=
self
.
_k_scale
,
)
if
fp8_attention
:
if
fp8_attention
and
self
.
kv_cache_dtype
!=
"fp8_ds_mla"
:
kv_cache
=
kv_cache
.
view
(
current_platform
.
fp8_dtype
())
# Sparse MLA impls only support forward_mqa (decode-style attention)
...
...
@@ -614,7 +614,7 @@ class MLAAttention(nn.Module, AttentionLayerBase):
# Convert from (N, B, L) to (B, N, L)
mqa_ql_nope
=
mqa_ql_nope
.
transpose
(
0
,
1
)
if
fp8_attention
:
if
fp8_attention
and
self
.
impl
.
supports_quant_query_input
:
assert
mqa_ql_nope
.
shape
[
0
]
==
mqa_q_pe
.
shape
[
0
]
assert
mqa_ql_nope
.
shape
[
1
]
==
mqa_q_pe
.
shape
[
1
]
mqa_q
=
self
.
_decode_concat_quant_fp8_op
(
...
...
@@ -1885,6 +1885,8 @@ class MLACommonImpl(MLAAttentionImpl[M], Generic[M]):
self
.
indexer
=
indexer
self
.
q_pad_num_heads
=
q_pad_num_heads
self
.
supports_quant_query_input
=
True
# Use flashinfer's optimized concat_mla_k kernel when available.
# The kernel is optimized for DeepSeek V3 dimensions:
# num_heads=128, nope_dim=128, rope_dim=64
...
...
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