mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-13 20:12:24 +00:00
Fix github workflows
This commit is contained in:
parent
f2a9e69223
commit
c97f6f63a8
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@ -47,15 +47,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install --upgrade pip pytest kaldialign
|
python3 -m pip install --upgrade pip pytest kaldialign torch==${{ matrix.torch }}
|
||||||
pip install k2==${{ matrix.k2-version }}+cpu.torch${{ matrix.torch }} -f https://k2-fsa.org/nightly/
|
pip install k2==${{ matrix.k2-version }}+cpu.torch${{ matrix.torch }} -f https://k2-fsa.org/nightly/
|
||||||
|
|
||||||
# Don't use: pip install lhotse
|
pip install lhotse
|
||||||
# since it installs a version of PyTorch that is not predictable
|
|
||||||
git clone --depth 1 https://github.com/lhotse-speech/lhotse
|
|
||||||
cd lhotse
|
|
||||||
sed -i.bak "/torch/d" requirements.txt
|
|
||||||
pip install -r ./requirements.txt
|
|
||||||
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user