Skip to content

Commit b7cb126

Browse files
[PyTorch-nightly-test] Fix Wav2Vec2 LM & Phoneme tests (huggingface#15272)
* [PyTorch-nightly-test] Fix Wav2Vec2 LM & Phoneme tests * Update .github/workflows/self-nightly-scheduled.yml * change lines * Apply suggestions from code review
1 parent 6ac7753 commit b7cb126

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/self-nightly-scheduled.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ jobs:
3333
3434
- name: Install dependencies
3535
run: |
36-
apt -y update && apt install -y libsndfile1-dev git
36+
apt -y update && apt install -y libsndfile1-dev git espeak-ng
3737
pip install --upgrade pip
3838
pip install .[integrations,sklearn,testing,onnxruntime,sentencepiece,torch-speech,vision,timm]
39+
pip install https://github.com/kpu/kenlm/archive/master.zip
3940
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html -U
4041
4142
- name: Are GPUs recognized by our DL frameworks
@@ -100,9 +101,10 @@ jobs:
100101
101102
- name: Install dependencies
102103
run: |
103-
apt -y update && apt install -y libsndfile1-dev git
104+
apt -y update && apt install -y libsndfile1-dev git espeak-ng
104105
pip install --upgrade pip
105106
pip install .[integrations,sklearn,testing,onnxruntime,sentencepiece,torch-speech,vision,timm]
107+
pip install https://github.com/kpu/kenlm/archive/master.zip
106108
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html -U
107109
108110
- name: Are GPUs recognized by our DL frameworks
@@ -152,10 +154,11 @@ jobs:
152154
153155
- name: Install dependencies
154156
run: |
155-
apt -y update && apt install -y libaio-dev
157+
apt -y update && apt install -y libaio-dev libsndfile1-dev git espeak-ng
156158
pip install --upgrade pip
157159
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html -U
158160
pip install .[testing,deepspeed]
161+
pip install https://github.com/kpu/kenlm/archive/master.zip
159162
pip install git+https://github.com/microsoft/DeepSpeed
160163
161164
- name: Are GPUs recognized by our DL frameworks
@@ -193,11 +196,12 @@ jobs:
193196
194197
- name: Install dependencies
195198
run: |
196-
apt -y update && apt install -y libaio-dev
199+
apt -y update && apt install -y libaio-dev libsndfile1-dev git espeak-ng
197200
pip install --upgrade pip
198201
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html -U
199202
rm -rf ~/.cache/torch_extensions/ # shared between conflicting builds
200203
pip install .[testing,fairscale]
204+
pip install https://github.com/kpu/kenlm/archive/master.zip
201205
pip install git+https://github.com/microsoft/DeepSpeed # testing bleeding edge
202206
203207
- name: Are GPUs recognized by our DL frameworks

0 commit comments

Comments
 (0)