Skip to content

Commit cb1b16c

Browse files
committed
add QueryLenSupport
Signed-off-by: ganyi <[email protected]>
1 parent 4b817cd commit cb1b16c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vllm/v1/attention/backends/mla/rocm_aiter_mla.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
MLACommonImpl,
1919
MLACommonMetadata,
2020
MLACommonMetadataBuilder,
21+
QueryLenSupport,
2122
)
2223
from vllm.v1.attention.backends.utils import AttentionCGSupport
2324
from vllm.v1.kv_cache_interface import AttentionSpec
@@ -82,6 +83,7 @@ class AiterMLAMetadataBuilder(MLACommonMetadataBuilder[AiterMLAMetadata]):
8283
cudagraph_support: ClassVar[AttentionCGSupport] = (
8384
AttentionCGSupport.UNIFORM_SINGLE_TOKEN_DECODE
8485
)
86+
query_len_support: ClassVar[QueryLenSupport] = QueryLenSupport.VARLEN
8587

8688
def __init__(
8789
self,

0 commit comments

Comments
 (0)