This is an automated email from the ASF dual-hosted git repository.
xuang7 pushed a commit to branch release/v1.2
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to refs/heads/release/v1.2 by this push:
new 1ac6a88b5b chore(deps): bump torch from 2.8.0 to 2.12.0+cpu in /amber
[release/v1.2 backport] (#5867)
1ac6a88b5b is described below
commit 1ac6a88b5bc29ff403c4656eb87365e53718897a
Author: Xinyuan Lin <[email protected]>
AuthorDate: Sun Jun 21 21:30:14 2026 -0700
chore(deps): bump torch from 2.8.0 to 2.12.0+cpu in /amber [release/v1.2
backport] (#5867)
### What changes were proposed in this PR?
Backport of apache/texera#5809 to `release/v1.2`: bump torch from 2.8.0
to 2.12.0+cpu in /amber.
Clean cherry-pick (operator-requirements.txt + LICENSE-binary-python).
**Risk:** 🟡 Minor within torch 2.x; large ML dependency.
### Any related issues, documentation, discussions?
Backports apache/texera#5809 (merged to `main`). No `release/*` label is
added — this PR *is* the backport, and a release label would trigger a
backport-of-a-backport precheck. CI stacks auto-select from the
file-based labels.
### How was this PR tested?
Mirrors the change already merged and CI-validated on `main`
(apache/texera#5809); verified the backport diff equals the original
bump and applies onto `release/v1.2`. Manual verification:
Installed amber requirements (CPU wheel resolves on Linux x86_64) and
ran a workflow using a torch-backed Python operator.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 4.8 [1M context])
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
---
amber/LICENSE-binary-python | 2 +-
amber/operator-requirements.txt | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/amber/LICENSE-binary-python b/amber/LICENSE-binary-python
index fc1514110c..e87887d51d 100644
--- a/amber/LICENSE-binary-python
+++ b/amber/LICENSE-binary-python
@@ -327,7 +327,7 @@ Python packages:
- sympy==1.14.0
- threadpoolctl==3.6.0
- tifffile==2026.6.1
- - torch==2.8.0
+ - torch==2.12.0
- zstandard==0.25.0
--------------------------------------------------------------------------------
diff --git a/amber/operator-requirements.txt b/amber/operator-requirements.txt
index fa01c46a5e..3487fdbde5 100644
--- a/amber/operator-requirements.txt
+++ b/amber/operator-requirements.txt
@@ -23,8 +23,8 @@ pybase64==1.3.2
# Pin torch to the CPU wheel on Linux x86_64 to avoid the NVIDIA CUDA deps.
--extra-index-url https://download.pytorch.org/whl/cpu
-torch==2.8.0+cpu ; platform_system == "Linux" and platform_machine == "x86_64"
-torch==2.8.0 ; platform_system != "Linux" or platform_machine != "x86_64"
+torch==2.12.0+cpu ; platform_system == "Linux" and platform_machine == "x86_64"
+torch==2.12.0 ; platform_system != "Linux" or platform_machine != "x86_64"
scikit-learn==1.5.0
transformers==5.0.0rc3