Skip to content

Commit 9e6adb7

Browse files
committed
bump tests transformers version
1 parent 16aa96c commit 9e6adb7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/test_openvino_basic.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# This also ensures that the test fails if dependencies break for Python 3.7
2525
python-version: ["3.9", "3.12"]
2626
os: ["ubuntu-22.04", "windows-latest"]
27-
transformers-version: ["4.45.*"]
27+
transformers-version: ["latest"]
2828
openvino: ["openvino openvino-tokenizers"]
2929
nncf: ["nncf"]
3030
include:
@@ -35,12 +35,12 @@ jobs:
3535
nncf: "nncf"
3636
- python-version: "3.12"
3737
os: "ubuntu-22.04"
38-
transformers-version: "4.45.*"
38+
transformers-version: "latest"
3939
openvino: "--pre -U openvino openvino-tokenizers --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly"
4040
nncf: "nncf"
4141
- python-version: "3.12"
4242
os: "ubuntu-22.04"
43-
transformers-version: "4.45.*"
43+
transformers-version: "latest"
4444
openvino: "--pre -U openvino openvino-tokenizers --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly"
4545
nncf: "git+https://github.com/openvinotoolkit/nncf.git"
4646

@@ -61,9 +61,11 @@ jobs:
6161
# Install openvino manually to prevent dependency conflicts when .[openvino] pins
6262
# optimum or transformers to a specific version
6363
pip install ${{ matrix.openvino }}
64-
pip install transformers==${{ matrix.transformers-version }}
6564
pip install .[tests]
6665
66+
- if: ${{ matrix.transformers-version != 'latest' }}
67+
run: pip install transformers==${{ matrix.transformers-version }}
68+
6769
- name: Pip freeze
6870
run: pip freeze
6971

0 commit comments

Comments
 (0)