File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 2323 # Testing lower and upper bound of supported Python versions
2424 # This also ensures that the test fails if dependencies break for Python 3.7
2525 python-version : ["3.8", "3.12"]
26- optimum : ['optimum', 'git+https://github.com/huggingface/optimum.git']
2726 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"
2832
2933 runs-on : ${{ matrix.os }}
3034
4145 # optimum or transformers to a specific version
4246 # Install PyTorch CPU to prevent unnecessary downloading/installing of CUDA packages
4347 pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
44- pip install .[tests] openvino ${{ matrix.optimum}}
48+ pip install transformers==${{ matrix.transformers-version }}
49+ pip install .[tests] openvino
4550
4651 - name : Pip freeze
4752 run : pip freeze
You can’t perform that action at this time.
0 commit comments