Skip to content

Commit

Permalink
Fix installing k2
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Jan 25, 2024
1 parent a552531 commit efc6b2d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/run-cpp-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,15 @@ jobs:
sudo apt-get -qq install git-lfs tree sox
sox --version
sudo apt-get install -y libsnappy-dev libzzip-dev zlib1g-dev libboost-all-dev
sudo apt-get -qq install -y libsnappy-dev libzzip-dev zlib1g-dev libboost-all-dev
python3 -m pip install --upgrade pip kaldi_native_io sentencepiece>=0.1.96
python3 -m pip install wheel twine typing_extensions
python3 -m pip install torch==${{ matrix.torch }} numpy -f https://download.pytorch.org/whl/cpu/torch_stable.html
python3 -m pip install k2==1.24.4.dev20231220+cpu.torch${{ matrix.torch }} -f https://k2-fsa.org/nightly/index.html
python3 -m pip install k2==1.24.4.dev20231220+cpu.torch${{ matrix.torch }} -f https://k2-fsa.github.io/k2/cpu.html
python3 -m pip install kaldifeat==1.25.3.dev20231221+cpu.torch${{ matrix.torch }} -f https://csukuangfj.github.io/kaldifeat/cpu.html
python3 -m torch.utils.collect_env
- name: Build sherpa
Expand Down

0 comments on commit efc6b2d

Please sign in to comment.