This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch release/v1.3
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to refs/heads/release/v1.3 by this push:
new 177ed20102 fix(deps, pyamber, v1.3): pin the CPU torch wheel on all
Linux platforms (#9398)
177ed20102 is described below
commit 177ed20102d42813bc9a15bb1781d6370ddc822f
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Nov 10 05:07:37 2026 +0000
fix(deps, pyamber, v1.3): pin the CPU torch wheel on all Linux platforms
(#9398)
### What changes were proposed in this PR?
Automated backport of #9397 to `release/v1.3`.
Source: 5647f440c7b3ddd86906ba000277fbcb2a564c22 ยท [automation
run](https://github.com/apache/texera/actions/runs/42753979902)
### Any related issues, documentation, discussions?
Backport of #9397. Originally linked #9396.
### How was this PR tested?
Release-branch CI runs on this branch once the build is fixed and this
PR is marked ready for review.
### Was this PR authored or co-authored using generative AI tooling?
No.
Co-authored-by: Meng Wang <[email protected]>
---
amber/operator-requirements.txt | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/amber/operator-requirements.txt b/amber/operator-requirements.txt
index c0a8f37f17..7c441c4d5f 100644
--- a/amber/operator-requirements.txt
+++ b/amber/operator-requirements.txt
@@ -20,10 +20,11 @@ plotly==5.24.1
praw==7.6.1
pillow==12.3.0
-# Pin torch to the CPU wheel on Linux x86_64 to avoid the NVIDIA CUDA deps.
+# Pin torch to the CPU wheel on Linux: PyPI's Linux wheels, x86_64 and aarch64
+# alike, depend on the NVIDIA CUDA libraries.
--extra-index-url https://download.pytorch.org/whl/cpu
-torch==2.13.0+cpu ; platform_system == "Linux" and platform_machine == "x86_64"
-torch==2.13.0 ; platform_system != "Linux" or platform_machine != "x86_64"
+torch==2.13.0+cpu ; platform_system == "Linux"
+torch==2.13.0 ; platform_system != "Linux"
scikit-learn==1.7.2
transformers==5.10.1