Skip to content

Commit bdc1102

Browse files
Reorder install commands
1 parent 5005854 commit bdc1102

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test_openvino_full.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@ jobs:
5151
with:
5252
python-version: ${{ matrix.python-version }}
5353

54-
- name: Install lowest compatible transformers version
55-
if: ${{ matrix.transformers-version != 'latest' }}
56-
run: pip install transformers==${{ matrix.transformers-version }}
57-
5854
- name: Install dependencies
5955
run: |
6056
python -m pip install --upgrade pip
6157
# Install PyTorch CPU to prevent unnecessary downloading/installing of CUDA packages
6258
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
6359
pip install .[tests]
6460
61+
- name: Install lowest compatible transformers version
62+
if: ${{ matrix.transformers-version != 'latest' }}
63+
run: pip install transformers==${{ matrix.transformers-version }}
64+
6565
- name: Install openvino-nightly
6666
if: ${{ matrix.openvino == 'ov-nightly' }}
6767
run: pip install --pre -U openvino openvino-tokenizers --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly

0 commit comments

Comments
 (0)