Skip to content

Commit 258db5a

Browse files
fix(transformers): keep torch pins platform-specific
The CUDA 13 wheel cannot serve CPU, CUDA 12, ROCm, or macOS builds. Preserve their existing platform-specific pins while updating the CUDA 13 pin. Assisted-by: Codex:gpt-5
1 parent eda43e1 commit 258db5a

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

backend/python/transformers/requirements-cpu.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
torch==2.12.1+cu130
1+
torch==2.7.1
22
llvmlite==0.43.0
33
numba==0.60.0
44
accelerate

backend/python/transformers/requirements-cublas12.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
torch==2.12.1+cu130
1+
torch==2.7.1
22
accelerate
33
llvmlite==0.43.0
44
numba==0.60.0

backend/python/transformers/requirements-hipblas.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--extra-index-url https://download.pytorch.org/whl/rocm7.0
2-
torch==2.12.1+cu130
2+
torch==2.10.0+rocm7.0
33
accelerate
44
transformers>=5.14.1
55
llvmlite==0.43.0

backend/python/transformers/requirements-mps.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
torch==2.12.1+cu130
1+
torch==2.7.1
22
llvmlite==0.43.0
33
numba==0.60.0
44
accelerate

0 commit comments

Comments
 (0)