Skip to content

Commit dfbcaf1

Browse files
committed
add test with lower version of supported transformers
1 parent 054cff9 commit dfbcaf1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test_openvino_basic.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
# This also ensures that the test fails if dependencies break for Python 3.7
2525
python-version: ["3.8", "3.12"]
2626
os: ["ubuntu-22.04", "windows-latest"]
27+
transformers-version: ["4.42.*"]
28+
include:
29+
- transformers-version: "4.36.0"
30+
python-version: "3.12"
31+
os: "ubuntu-22.04"
2732

2833
runs-on: ${{ matrix.os }}
2934

@@ -40,6 +45,7 @@ jobs:
4045
# optimum or transformers to a specific version
4146
# Install PyTorch CPU to prevent unnecessary downloading/installing of CUDA packages
4247
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
48+
pip install transformers==${{ matrix.transformers-version }}
4349
pip install .[tests] openvino
4450
4551
- name: Pip freeze

0 commit comments

Comments
 (0)