Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Oct 7, 2024
1 parent e5a65f2 commit a60d150
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test_bettertransformer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@ jobs:

- name: Install dependencies (stable)
run: |
pip uninstall -y opencv-python
pip install opencv-python-headless
pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install .[tests]
- name: Install headless opencv
run: |
pip uninstall -y opencv-python
pip install opencv-python-headless
- name: Test with pytest (parallel)
working-directory: tests
run: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test_export_onnx_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@ jobs:

- name: Install dependencies
run: |
pip uninstall -y opencv-python
pip install opencv-python-headless
pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip install .[tests,exporters] git+https://github.com/huggingface/accelerate.git
- name: Install headless opencv
run: |
pip uninstall -y opencv-python
pip install opencv-python-headless
- name: Test with pytest (parallel)
working-directory: tests
run: |
Expand Down

0 comments on commit a60d150

Please sign in to comment.