mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-18 21:44:18 +00:00
Small fixes.
This commit is contained in:
parent
46430a5024
commit
feb9fd05e8
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -33,13 +33,13 @@ jobs:
|
||||
# disable macOS test for now.
|
||||
os: [ubuntu-18.04]
|
||||
python-version: [3.7, 3.8]
|
||||
torch: ["1.8.0", "1.10.0"]
|
||||
torchaudio: ["0.8.0", "0.10.0"]
|
||||
torch: ["1.8.0", "1.11.0"]
|
||||
torchaudio: ["0.8.0", "0.11.0"]
|
||||
k2-version: ["1.15.1.dev20220427"]
|
||||
exclude:
|
||||
- torch: "1.8.0"
|
||||
torchaudio: "0.10.0"
|
||||
- torch: "1.10.0"
|
||||
torchaudio: "0.11.0"
|
||||
- torch: "1.11.0"
|
||||
torchaudio: "0.8.0"
|
||||
|
||||
fail-fast: false
|
||||
@ -67,7 +67,7 @@ jobs:
|
||||
# numpy 1.20.x does not support python 3.6
|
||||
pip install numpy==1.19
|
||||
pip install torch==${{ matrix.torch }}+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html
|
||||
if [[ ${{ matrix.torchaudio }} == "0.10.0" ]]; then
|
||||
if [[ ${{ matrix.torchaudio }} == "0.11.0" ]]; then
|
||||
pip install torchaudio==${{ matrix.torchaudio }}+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html
|
||||
else
|
||||
pip install torchaudio==${{ matrix.torchaudio }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user