Skip to content

Commit e11219a

Browse files
committed
tests: install accelerate from main
1 parent 55f63f7 commit e11219a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/pr_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
run: |
6868
apt-get update && apt-get install libsndfile1-dev libgl1 -y
6969
python -m pip install -e .[quality,test]
70+
python -m pip install git+https://github.com/huggingface/accelerate.git
7071
7172
- name: Environment
7273
run: |

.github/workflows/push_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
run: |
6464
apt-get update && apt-get install libsndfile1-dev libgl1 -y
6565
python -m pip install -e .[quality,test]
66+
python -m pip install git+https://github.com/huggingface/accelerate.git
6667
6768
- name: Environment
6869
run: |

.github/workflows/push_tests_mps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
${CONDA_RUN} python -m pip install --upgrade pip
4141
${CONDA_RUN} python -m pip install -e .[quality,test]
4242
${CONDA_RUN} python -m pip install torch torchvision torchaudio
43-
${CONDA_RUN} python -m pip install accelerate --upgrade
43+
${CONDA_RUN} python -m pip install git+https://github.com/huggingface/accelerate.git
4444
${CONDA_RUN} python -m pip install transformers --upgrade
4545
4646
- name: Environment

0 commit comments

Comments
 (0)