File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -51,25 +51,19 @@ jobs:
51
51
python-version : ${{ matrix.python-version }}
52
52
- name : Install dependencies for ExecuTorch
53
53
run : |
54
+ pip install '.[tests]'
54
55
if [ "${{ matrix.executorch-version }}" == "nightly" ]; then
55
- export NIGHTLY_VERSION=dev20250507
56
+ export NIGHTLY_VERSION=dev20250527
56
57
pip install executorch==0.7.0.${NIGHTLY_VERSION} \
57
58
torch==2.8.0.${NIGHTLY_VERSION} \
58
59
torchvision==0.22.0.${NIGHTLY_VERSION} \
59
60
torchaudio==2.6.0.${NIGHTLY_VERSION} \
60
61
torchao==0.12.0.${NIGHTLY_VERSION} \
61
62
--extra-index-url "https://download.pytorch.org/whl/nightly/cpu"
63
+ pip install transformers==4.52.4
62
64
else
63
65
pip install executorch==${{ matrix.executorch-version }}
64
66
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
73
67
pip list
74
68
- name : Run tests
75
69
run : |
Original file line number Diff line number Diff line change 14
14
INSTALL_REQUIRE = [
15
15
"optimum~=1.24" ,
16
16
"executorch>=0.6.0" ,
17
- "transformers==4.51.0 " ,
17
+ "transformers==4.51.3 " ,
18
18
]
19
19
20
20
TESTS_REQUIRE = [
You can’t perform that action at this time.
0 commit comments