Xpu/vllm 0.26 fixes (#5476)

Signed-off-by: Joshna Medisetty <joshna.medisetty@intel.com>
Co-authored-by: Chendi.Xue <chendi.xue@intel.com>
This commit is contained in:
Joshna-MedisettyandChendi.Xue authored and GitHub committed 2026-07-29 08:15:36 +08:00
1 parent 23bb4395bb
commit 7fa40681ff
3 files changed
+5 -1

No files matched your search

+2
View File
@@ -109,6 +109,7 @@ class OmniPlatform(Platform):
cls,
selected_backend: str | None,
head_size: int,
allow_trtllm_default: bool = False,
) -> str:
"""Get the diffusion attention backend class path for this platform.
@@ -119,6 +120,7 @@ class OmniPlatform(Platform):
selected_backend: User-selected backend name (e.g., "FLASH_ATTN",
"TORCH_SDPA", "SAGE_ATTN"). If None, uses platform default.
head_size: Attention head size.
allow_trtllm_default: Whether TRTLLM may be chosen as the default.
Returns:
Fully qualified class path of the selected backend.