Fix pre-commit (and XPU) on main (#28556)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2025-11-12 14:13:41 +00:00
committed by GitHub
parent 10138c92a5
commit 54aecd9ed5
2 changed files with 1 additions and 3 deletions

View File

@@ -64,8 +64,6 @@ class XPUPlatform(Platform):
if use_sparse:
raise NotImplementedError("Sparse Attention is not supported on XPU.")
if not use_v1:
raise ValueError("XPU backend only supports V1.")
if selected_backend == AttentionBackendEnum.TRITON_ATTN:
logger.info_once("Using Triton backend.")
return AttentionBackendEnum.TRITON_ATTN.get_path()