File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 24
24
# This also ensures that the test fails if dependencies break for Python 3.7
25
25
python-version : ["3.9", "3.12"]
26
26
os : ["ubuntu-22.04", "windows-latest"]
27
- transformers-version : ["4.45.* "]
27
+ transformers-version : ["latest "]
28
28
openvino : ["openvino openvino-tokenizers"]
29
29
nncf : ["nncf"]
30
30
include :
@@ -35,12 +35,12 @@ jobs:
35
35
nncf : " nncf"
36
36
- python-version : " 3.12"
37
37
os : " ubuntu-22.04"
38
- transformers-version : " 4.45.* "
38
+ transformers-version : " latest "
39
39
openvino : " --pre -U openvino openvino-tokenizers --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly"
40
40
nncf : " nncf"
41
41
- python-version : " 3.12"
42
42
os : " ubuntu-22.04"
43
- transformers-version : " 4.45.* "
43
+ transformers-version : " latest "
44
44
openvino : " --pre -U openvino openvino-tokenizers --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly"
45
45
nncf : " git+https://github.com/openvinotoolkit/nncf.git"
46
46
61
61
# Install openvino manually to prevent dependency conflicts when .[openvino] pins
62
62
# optimum or transformers to a specific version
63
63
pip install ${{ matrix.openvino }}
64
- pip install transformers==${{ matrix.transformers-version }}
65
64
pip install .[tests]
66
65
66
+ - if : ${{ matrix.transformers-version != 'latest' }}
67
+ run : pip install transformers==${{ matrix.transformers-version }}
68
+
67
69
- name : Pip freeze
68
70
run : pip freeze
69
71
You can’t perform that action at this time.
0 commit comments