From f6a4bf0dbfc2d86eba8743c9d12c450cde49847b Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Fri, 26 Dec 2025 09:58:58 -0600 Subject: [PATCH 1/4] chore: py-torch-2.7.1 --- spack-environment/packages.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index 28a59f08..b3a5a113 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -502,7 +502,7 @@ packages: - '@0.10.2:' py-torch: require: - - '@2.5.1' + - '@2.7.1:' - -mkldnn py-vector: require: From 65072968c6e857a984beec07cc3dc93ba8d7c87d Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Sun, 4 Jan 2026 18:20:31 -0600 Subject: [PATCH 2/4] fix: hide warning on aarch64 --- spack-environment/packages.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index b3a5a113..19d89a3a 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -504,6 +504,9 @@ packages: require: - '@2.7.1:' - -mkldnn + - # avoid compilation error in third_party/XNNPACK/src/f16-avgpool/f16-avgpool-9p8x-minmax-neonfp16arith-c8.c + spec: cxxflags=-Wno-error=incompatible-pointer-types + when: 'target=aarch64:' py-vector: require: - '@1.5.1:' From bccdbe0cce73b18989bc70c25e0fc2014685b2d4 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Sun, 4 Jan 2026 18:34:10 -0600 Subject: [PATCH 3/4] fix: comments Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- spack-environment/packages.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index 19d89a3a..e693e976 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -504,8 +504,8 @@ packages: require: - '@2.7.1:' - -mkldnn - - # avoid compilation error in third_party/XNNPACK/src/f16-avgpool/f16-avgpool-9p8x-minmax-neonfp16arith-c8.c - spec: cxxflags=-Wno-error=incompatible-pointer-types + # avoid compilation error in third_party/XNNPACK/src/f16-avgpool/f16-avgpool-9p8x-minmax-neonfp16arith-c8.c + - spec: cxxflags=-Wno-error=incompatible-pointer-types when: 'target=aarch64:' py-vector: require: From e5e73e94b7e15772cbd02e30c1bd1faaf6fbdc52 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Sun, 18 Jan 2026 22:52:05 -0600 Subject: [PATCH 4/4] fix: pytorch: require: ~xnnpack when: aarch64 --- spack-environment/packages.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spack-environment/packages.yaml b/spack-environment/packages.yaml index e693e976..27164a55 100644 --- a/spack-environment/packages.yaml +++ b/spack-environment/packages.yaml @@ -505,7 +505,7 @@ packages: - '@2.7.1:' - -mkldnn # avoid compilation error in third_party/XNNPACK/src/f16-avgpool/f16-avgpool-9p8x-minmax-neonfp16arith-c8.c - - spec: cxxflags=-Wno-error=incompatible-pointer-types + - spec: ~xnnpack when: 'target=aarch64:' py-vector: require: