[CI/Build][BugFix][The Rock] Make supports_mm_prefix return False for ROCm attn and unified attn since Prefix-LM not implemented (#52395)
Signed-off-by: Randall Smith <Randall.Smith@amd.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Andreas Karatzas <akaratza@amd.com>
rasmith committed
Sep 28, 2026 at 18:30 UTC
8a497d75572f8241f15182d55f8d704e39773085
2 files changed
+4
-2
vllm/v1/attention/backends/rocm_aiter_unified_attn.py
+2
-1
@@ -83,7 +83,8 @@ class RocmAiterUnifiedAttentionBackend(RocmAttentionBackend):
83
84
@classmethod
85
def supports_mm_prefix(cls) -> bool:
86
- return True
86
+ # Not implemented
87
+ return False
88
89
@classmethod
90
def supports_sink(cls) -> bool:
vllm/v1/attention/backends/rocm_attn.py
+2
-1
@@ -193,7 +193,8 @@ class RocmAttentionBackend(AttentionBackend):
193
194
@classmethod
195
def supports_mm_prefix(cls) -> bool:
196
- return True
196
+ # Not implemented
197
+ return False
198
199
@classmethod
200
def supports_sink(cls) -> bool: