Skip to content

Commit b1b92f4

Browse files
Don't install accelerate and transformers from source (#3415)
1 parent 7f6373d commit b1b92f4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/push_tests_fast.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ jobs:
6262
run: |
6363
apt-get update && apt-get install libsndfile1-dev -y
6464
python -m pip install -e .[quality,test]
65-
python -m pip install -U git+https://github.com/huggingface/transformers
66-
python -m pip install git+https://github.com/huggingface/accelerate
6765
6866
- name: Environment
6967
run: |
@@ -137,8 +135,8 @@ jobs:
137135
${CONDA_RUN} python -m pip install --upgrade pip
138136
${CONDA_RUN} python -m pip install -e .[quality,test]
139137
${CONDA_RUN} python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
140-
${CONDA_RUN} python -m pip install git+https://github.com/huggingface/accelerate
141-
${CONDA_RUN} python -m pip install -U git+https://github.com/huggingface/transformers
138+
${CONDA_RUN} python -m pip install accelerate --upgrade
139+
${CONDA_RUN} python -m pip install transformers --upgrade
142140
143141
- name: Environment
144142
shell: arch -arch arm64 bash {0}

0 commit comments

Comments
 (0)