Skip to content

Commit 063a261

Browse files
authored
Merge pull request #232 from hihaluemen/fix/gpu-ci-transformers-compat
[WS1][CI] Pin Transformers 5.13.1 for Torch 2.4 GPU CI
2 parents 6df029a + 82c3d80 commit 063a261

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎ci/run_gpu_ci.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ TORCH_INDEX_URL="${TORCH_INDEX_URL:-https://download.pytorch.org/whl/cu124}"
186186
# --no-build-isolation: torch must be visible to setup.py, else the extension is silently skipped.
187187
# --no-deps: keep the pinned torch; do not let the editable install re-resolve it.
188188
"$PY" -m pip install --no-build-isolation --no-deps -e .
189-
"$PY" -m pip install --no-cache-dir numpy tabulate accelerate transformers pytest
189+
"$PY" -m pip install --no-cache-dir numpy tabulate accelerate "transformers==5.13.1" pytest
190190
nvidia-smi
191191
# Fail fast if _C did not build or cannot launch, instead of silently using native fallbacks.
192192
"$PY" scripts/ci_smoke.py

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies = [
1717
"tabulate",
1818
"numpy",
1919
"accelerate",
20-
"transformers",
20+
"transformers==5.13.1",
2121
]
2222

2323
[project.optional-dependencies]

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def get_cmdclass():
179179
"tabulate",
180180
"numpy",
181181
"accelerate",
182-
"transformers",
182+
"transformers==5.13.1",
183183
],
184184
ext_modules=get_extensions(),
185185
cmdclass=get_cmdclass(),

0 commit comments

Comments
 (0)