[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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user