Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f540d08

Browse files
author
Guang Yang
committedJun 3, 2025·
Transformers version bump
1 parent 34cece4 commit f540d08

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed
 

‎.github/workflows/test_models.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,19 @@ jobs:
5151
python-version: ${{ matrix.python-version }}
5252
- name: Install dependencies for ExecuTorch
5353
run: |
54+
pip install '.[tests]'
5455
if [ "${{ matrix.executorch-version }}" == "nightly" ]; then
55-
export NIGHTLY_VERSION=dev20250507
56+
export NIGHTLY_VERSION=dev20250527
5657
pip install executorch==0.7.0.${NIGHTLY_VERSION} \
5758
torch==2.8.0.${NIGHTLY_VERSION} \
5859
torchvision==0.22.0.${NIGHTLY_VERSION} \
5960
torchaudio==2.6.0.${NIGHTLY_VERSION} \
6061
torchao==0.12.0.${NIGHTLY_VERSION} \
6162
--extra-index-url "https://download.pytorch.org/whl/nightly/cpu"
63+
pip install transformers==4.52.4
6264
else
6365
pip install executorch==${{ matrix.executorch-version }}
6466
fi
65-
pip install '.[tests]'
66-
if [ "${{ matrix.test-modeling }}" == "gemma3" ]; then
67-
git clone https://github.com/huggingface/transformers.git
68-
pushd transformers
69-
git checkout a57274466f7f72efaa2662d1738cdaf28ae8071f
70-
pip install -e .
71-
popd
72-
fi
7367
pip list
7468
- name: Run tests
7569
run: |

‎setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
INSTALL_REQUIRE = [
1515
"optimum~=1.24",
1616
"executorch>=0.6.0",
17-
"transformers==4.51.0",
17+
"transformers==4.51.3",
1818
]
1919

2020
TESTS_REQUIRE = [

0 commit comments

Comments
 (0)
Please sign in to comment.