From b7cb126ccce4d5ac1abb44a27b4644c08ff42430 Mon Sep 17 00:00:00 2001 From: Patrick von Platen Date: Mon, 24 Jan 2022 10:53:53 +0100 Subject: [PATCH] [PyTorch-nightly-test] Fix Wav2Vec2 LM & Phoneme tests (#15272) * [PyTorch-nightly-test] Fix Wav2Vec2 LM & Phoneme tests * Update .github/workflows/self-nightly-scheduled.yml * change lines * Apply suggestions from code review --- .github/workflows/self-nightly-scheduled.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/self-nightly-scheduled.yml b/.github/workflows/self-nightly-scheduled.yml index a6fa816c1f..d1f3ce9a77 100644 --- a/.github/workflows/self-nightly-scheduled.yml +++ b/.github/workflows/self-nightly-scheduled.yml @@ -33,9 +33,10 @@ jobs: - name: Install dependencies run: | - apt -y update && apt install -y libsndfile1-dev git + apt -y update && apt install -y libsndfile1-dev git espeak-ng pip install --upgrade pip pip install .[integrations,sklearn,testing,onnxruntime,sentencepiece,torch-speech,vision,timm] + pip install https://github.com/kpu/kenlm/archive/master.zip pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html -U - name: Are GPUs recognized by our DL frameworks @@ -100,9 +101,10 @@ jobs: - name: Install dependencies run: | - apt -y update && apt install -y libsndfile1-dev git + apt -y update && apt install -y libsndfile1-dev git espeak-ng pip install --upgrade pip pip install .[integrations,sklearn,testing,onnxruntime,sentencepiece,torch-speech,vision,timm] + pip install https://github.com/kpu/kenlm/archive/master.zip pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html -U - name: Are GPUs recognized by our DL frameworks @@ -152,10 +154,11 @@ jobs: - name: Install dependencies run: | - apt -y update && apt install -y libaio-dev + apt -y update && apt install -y libaio-dev libsndfile1-dev git espeak-ng pip install --upgrade pip pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html -U pip install .[testing,deepspeed] + pip install https://github.com/kpu/kenlm/archive/master.zip pip install git+https://github.com/microsoft/DeepSpeed - name: Are GPUs recognized by our DL frameworks @@ -193,11 +196,12 @@ jobs: - name: Install dependencies run: | - apt -y update && apt install -y libaio-dev + apt -y update && apt install -y libaio-dev libsndfile1-dev git espeak-ng pip install --upgrade pip pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu113/torch_nightly.html -U rm -rf ~/.cache/torch_extensions/ # shared between conflicting builds pip install .[testing,fairscale] + pip install https://github.com/kpu/kenlm/archive/master.zip pip install git+https://github.com/microsoft/DeepSpeed # testing bleeding edge - name: Are GPUs recognized by our DL frameworks