Unverified Commit 43346adc authored by Dhruv Nair's avatar Dhruv Nair Committed by GitHub
Browse files

Install accelerate from PyPI in PR test runner (#5721)

install acclerate from pypi
parent 6110d7c9
...@@ -72,7 +72,7 @@ jobs: ...@@ -72,7 +72,7 @@ jobs:
run: | run: |
apt-get update && apt-get install libsndfile1-dev libgl1 -y apt-get update && apt-get install libsndfile1-dev libgl1 -y
python -m pip install -e .[quality,test] 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 - name: Environment
run: | run: |
...@@ -115,7 +115,7 @@ jobs: ...@@ -115,7 +115,7 @@ jobs:
run: | run: |
python -m pytest -n 2 --max-worker-restart=0 --dist=loadfile \ python -m pytest -n 2 --max-worker-restart=0 --dist=loadfile \
--make-reports=tests_${{ matrix.config.report }} \ --make-reports=tests_${{ matrix.config.report }} \
examples/test_examples.py examples/test_examples.py
- name: Failure short reports - name: Failure short reports
if: ${{ failure() }} if: ${{ failure() }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment