From 499ac24ecba64f687ff244c7d66baa5c222ecf0f Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Mon, 24 Oct 2022 15:07:29 +0800 Subject: [PATCH] Install kaldifst for GitHub actions (#632) * Install kaldifst for GitHub actions --- ...-librispeech-pruned-transducer-stateless3-2022-04-29.sh | 7 +++++-- requirements-ci.txt | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/scripts/run-librispeech-pruned-transducer-stateless3-2022-04-29.sh b/.github/scripts/run-librispeech-pruned-transducer-stateless3-2022-04-29.sh index 172d7ad4c..00580ca1f 100755 --- a/.github/scripts/run-librispeech-pruned-transducer-stateless3-2022-04-29.sh +++ b/.github/scripts/run-librispeech-pruned-transducer-stateless3-2022-04-29.sh @@ -13,9 +13,12 @@ cd egs/librispeech/ASR repo_url=https://huggingface.co/csukuangfj/icefall-asr-librispeech-pruned-transducer-stateless3-2022-04-29 log "Downloading pre-trained model from $repo_url" -git lfs install -git clone $repo_url +GIT_LFS_SKIP_SMUDGE=1 git clone $repo_url repo=$(basename $repo_url) +pushd $repo +git lfs pull --include "data/lang_bpe_500/bpe.model" +git lfs pull --include "exp/pretrained-epoch-25-avg-6.pt" +popd log "Display test files" tree $repo/ diff --git a/requirements-ci.txt b/requirements-ci.txt index 385c8737e..b8e49899e 100644 --- a/requirements-ci.txt +++ b/requirements-ci.txt @@ -23,4 +23,4 @@ multi_quantization onnx onnxruntime -onnx_graphsurgeon -i https://pypi.ngc.nvidia.com +kaldifst