Skip to content

Commit

Permalink
tmp add test
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Apr 24, 2024
1 parent 431db93 commit 5ccb854
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test_openvino.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
matrix:
python-version: [3.8, 3.11]
os: [ubuntu-latest]
transformers: ["4.39.3", "4.40.1"]

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -31,6 +32,7 @@ jobs:
run: |
python -m pip install --upgrade pip
# install PyTorch CPU version to avoid installing CUDA packages on GitHub runner without GPU
pip install transformers==${{ matrix.transformers }}
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install .[openvino,openvino-tokenizers,tests,diffusers] onnxruntime
- name: Test with Pytest
Expand Down

0 comments on commit 5ccb854

Please sign in to comment.