[ROCm] [CI] Fix ROCm CI for v0.26.0 (#5528)

Signed-off-by: tjtanaa <tunjian.tan@embeddedllm.com>
This commit is contained in:
TJian authored and GitHub committed 2026-07-30 11:27:32 +08:00
1 parent daec3a6a49
commit d50ea9fccc
6 files changed
+178 -1

No files matched your search

+14
View File
@@ -75,7 +75,21 @@ class RocmOmniPlatform(OmniPlatform, RocmPlatform):
cls,
selected_backend: str | None,
head_size: int,
allow_trtllm_default: bool = False,
) -> str:
"""Get the diffusion attention backend class path for ROCm platform.
ROCm supports FLASH_ATTN via the aiter library, and SDPA as fallback.
Args:
selected_backend: User-selected backend name (e.g., "FLASH_ATTN",
"TORCH_SDPA"). If None, uses platform default.
head_size: Attention head size.
allow_trtllm_default: Does not support TRTLLM backend;
arg accepted for signature parity but unused.
Returns:
Fully qualified class path of the selected backend.
"""
from vllm._aiter_ops import is_aiter_found_and_supported
# Check if aiter is available for Flash Attention support