Skip to content

Commit

Permalink
Install accelerate from PyPI in PR test runner (huggingface#5721)
Browse files Browse the repository at this point in the history
install acclerate from pypi
  • Loading branch information
DN6 authored Nov 9, 2023
1 parent 6110d7c commit 43346ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
run: |
apt-get update && apt-get install libsndfile1-dev libgl1 -y
python -m pip install -e .[quality,test]
python -m pip install git+https://github.com/huggingface/accelerate.git
python -m pip install accelerate
- name: Environment
run: |
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
run: |
python -m pytest -n 2 --max-worker-restart=0 --dist=loadfile \
--make-reports=tests_${{ matrix.config.report }} \
examples/test_examples.py
examples/test_examples.py
- name: Failure short reports
if: ${{ failure() }}
Expand Down

0 comments on commit 43346ad

Please sign in to comment.