Skip to content

Commit

Permalink
bump tests transformers version
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Oct 24, 2024
1 parent 16aa96c commit 9e6adb7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test_openvino_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# This also ensures that the test fails if dependencies break for Python 3.7
python-version: ["3.9", "3.12"]
os: ["ubuntu-22.04", "windows-latest"]
transformers-version: ["4.45.*"]
transformers-version: ["latest"]
openvino: ["openvino openvino-tokenizers"]
nncf: ["nncf"]
include:
Expand All @@ -35,12 +35,12 @@ jobs:
nncf: "nncf"
- python-version: "3.12"
os: "ubuntu-22.04"
transformers-version: "4.45.*"
transformers-version: "latest"
openvino: "--pre -U openvino openvino-tokenizers --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly"
nncf: "nncf"
- python-version: "3.12"
os: "ubuntu-22.04"
transformers-version: "4.45.*"
transformers-version: "latest"
openvino: "--pre -U openvino openvino-tokenizers --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly"
nncf: "git+https://github.com/openvinotoolkit/nncf.git"

Expand All @@ -61,9 +61,11 @@ jobs:
# Install openvino manually to prevent dependency conflicts when .[openvino] pins
# optimum or transformers to a specific version
pip install ${{ matrix.openvino }}
pip install transformers==${{ matrix.transformers-version }}
pip install .[tests]
- if: ${{ matrix.transformers-version != 'latest' }}
run: pip install transformers==${{ matrix.transformers-version }}

- name: Pip freeze
run: pip freeze

Expand Down

0 comments on commit 9e6adb7

Please sign in to comment.