[XPU] Enable XPU eplb (#44987)

Signed-off-by: mayuyuace <qiming1.zhang@intel.com>
Signed-off-by: Qiming Zhang <qiming1.zhang@intel.com>
This commit is contained in:
Qiming Zhang
2026-09-17 13:19:13 +08:00
committed by GitHub
parent 2743dc4f92
commit e6b1a5e5e3
16 changed files with 267 additions and 109 deletions
+1 -1
View File
@@ -935,7 +935,7 @@ def hf_runner():
def _default_block_size() -> int:
if torch.xpu.is_available():
if current_platform.is_xpu():
return 64
if current_platform.is_cpu():
return 128