From 493c8812fd4c32132dc1d8aae2c857d674418c25 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Thu, 14 Oct 2021 20:56:15 +0800 Subject: [PATCH] Install a CPU version of PyTorch. --- .github/workflows/run-pretrained.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run-pretrained.yml b/.github/workflows/run-pretrained.yml index 3ac97ac0c..6d162183d 100644 --- a/.github/workflows/run-pretrained.yml +++ b/.github/workflows/run-pretrained.yml @@ -50,6 +50,7 @@ jobs: - name: Install Python dependencies run: | python3 -m pip install --upgrade pip pytest + pip install torch==${{ matrix.torch }}+cpu -f https://download.pytorch.org/whl/torch_stable.html pip install k2==${{ matrix.k2-version }}+cpu.torch${{ matrix.torch }} -f https://k2-fsa.org/nightly/ python3 -m pip install git+https://github.com/lhotse-speech/lhotse