Add XPU MLA Sparse backend for DeepSeek v3.2 (#33230)

Signed-off-by: Zhang, Wuxun <wuxun.zhang@intel.com>
This commit is contained in:
Wuxun Zhang
2026-03-11 19:19:15 +08:00
committed by GitHub
parent 40c0461f24
commit e584dce52b
9 changed files with 940 additions and 24 deletions
+2 -1
View File
@@ -61,7 +61,8 @@ class XPUPlatform(Platform):
dtype = attn_selector_config.dtype
if attn_selector_config.use_sparse:
raise NotImplementedError("Sparse Attention is not supported on XPU.")
logger.info_once("Using XPU MLA Sparse backend.")
return AttentionBackendEnum.XPU_MLA_SPARSE.get_path()
if attn_selector_config.use_mla:
logger.info_once("Using Triton MLA backend on V1 engine.")
return AttentionBackendEnum.TRITON_MLA.get_path()