[XPU]Fix xpu spec decoding UTs, avoid using cuda graph (#25847)

Signed-off-by: Kunshang Ji <kunshang.ji@intel.com>
This commit is contained in:
Kunshang Ji
2025-09-29 05:15:10 +00:00
committed by GitHub
parent 219cfbe7f6
commit 143844fa43
3 changed files with 7 additions and 4 deletions
+2
View File
@@ -1143,6 +1143,8 @@ def get_attn_backend_list_based_on_platform() -> list[str]:
print("Skip FLASH_ATTN on ROCm as aiter is not installed")
return attn_backend_list
elif current_platform.is_xpu():
return ["FLASH_ATTN", "TRITON_ATTN"]
else:
raise ValueError("Unsupported platform")