From 0d5667bfd6b6103c04877d3c7f0460a502a1ea33 Mon Sep 17 00:00:00 2001 From: "Wang, Yi A" Date: Fri, 26 Sep 2025 11:15:10 +0000 Subject: [PATCH 1/2] add xpu torch 2.9 Signed-off-by: Wang, Yi A --- build-variants.json | 3 ++- docs/build-variants.md | 1 + versions.nix | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/build-variants.json b/build-variants.json index 6b365aef..a6dd9119 100644 --- a/build-variants.json +++ b/build-variants.json @@ -29,7 +29,8 @@ "torch29-cxx11-rocm64-x86_64-linux" ], "xpu": [ - "torch28-cxx11-xpu20251-x86_64-linux" + "torch28-cxx11-xpu20251-x86_64-linux", + "torch28-cxx11-xpu20252-x86_64-linux" ] } } diff --git a/docs/build-variants.md b/docs/build-variants.md index 0a2248ff..39b5c975 100644 --- a/docs/build-variants.md +++ b/docs/build-variants.md @@ -36,6 +36,7 @@ available. This list will be updated as new PyTorch versions are released. ## XPU x86_64-linux - `torch28-cxx11-xpu20251-x86_64-linux` +- `torch29-cxx11-xpu20252-x86_64-linux` ## Universal diff --git a/versions.nix b/versions.nix index bfe24514..abc4079f 100644 --- a/versions.nix +++ b/versions.nix @@ -55,6 +55,13 @@ systems = [ "aarch64-darwin" ]; bundleBuild = true; } + { + torchVersion = "2.9"; + xpuVersion = "2025.2.1"; + cxx11Abi = true; + systems = [ "x86_64-linux" ]; + bundleBuild = true; + } { torchVersion = "2.9"; cudaVersion = "12.6"; From 3571054e102124ba72ac2e41272321b24455a9fa Mon Sep 17 00:00:00 2001 From: "Wang, Yi A" Date: Mon, 29 Sep 2025 09:22:57 +0000 Subject: [PATCH 2/2] fix typo Signed-off-by: Wang, Yi A --- build-variants.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-variants.json b/build-variants.json index a6dd9119..86e49cdc 100644 --- a/build-variants.json +++ b/build-variants.json @@ -30,7 +30,7 @@ ], "xpu": [ "torch28-cxx11-xpu20251-x86_64-linux", - "torch28-cxx11-xpu20252-x86_64-linux" + "torch29-cxx11-xpu20252-x86_64-linux" ] } }