[CPU] upgrade dependent torch ver to PT2.12 (#21456)

Co-authored-by: Ma Mingfei <mingfei.ma@intel.com>
This commit is contained in:
Zaili Wang
2026-06-04 11:04:11 +08:00
committed by GitHub
co-authored by Ma Mingfei
parent 29d23e198f
commit 3b7a258f63
11 changed files with 18 additions and 22 deletions
+5 -5
View File
@@ -56,14 +56,14 @@ dependencies = [
"tabulate",
"tiktoken",
"timm==1.0.16",
"torch==2.9.0",
"torchao==0.14.1",
"torchaudio==2.9.0",
"torchvision==0.24.0",
"torch==2.12.0",
"torchao==0.17.0",
"torchaudio==2.11.0",
"torchvision==0.27.0",
"tqdm",
"mistral_common>=1.11.0",
"transformers==5.8.1",
"triton==3.5.0",
"triton==3.7.0",
"uvicorn",
"uvloop",
"xgrammar==0.2.1",
@@ -330,9 +330,9 @@ except:
is_intel_amx_backend_available = False
try:
# move torch._C._cpu._is_amx_tile_supported() from cpu_has_amx_support
# move torch.cpu._is_amx_tile_supported() from cpu_has_amx_support
# to support torch compile
is_amx_tile_supported = torch._C._cpu._is_amx_tile_supported()
is_amx_tile_supported = torch.cpu._is_amx_tile_supported()
except:
is_amx_tile_supported = False
+2 -2
View File
@@ -305,9 +305,9 @@ except:
is_intel_amx_backend_available = False
try:
# move torch._C._cpu._is_amx_tile_supported() from cpu_has_amx_support
# move torch.cpu._is_amx_tile_supported() from cpu_has_amx_support
# to support torch compile
is_amx_tile_supported = torch._C._cpu._is_amx_tile_supported()
is_amx_tile_supported = torch.cpu._is_amx_tile_supported()
except:
is_amx_tile_supported = False