Fix CI errors.

This commit is contained in:
Fangjun Kuang 2021-11-17 17:34:36 +08:00
parent db087f2566
commit fcdd3ced6f

View File

@ -50,6 +50,8 @@ jobs:
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip pytest
# numpy 1.20.x does not support python 3.6
pip install numpy==1.19
pip install torch==${{ matrix.torch }}+cpu torchaudio==${{ matrix.torchaudio }}+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install k2==${{ matrix.k2-version }}+cpu.torch${{ matrix.torch }} -f https://k2-fsa.org/nightly/