forked from kaldi-asr/kaldi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:kaldi-asr/kaldi
* 'master' of github.com:kaldi-asr/kaldi: Update run_blstm.sh (kaldi-asr#4790) Provide provision to pass subword separator as argument to make_position_dependent_subword_lexicon.py (kaldi-asr#4794) change [utter] to [utterance.] in data_prep.dox (kaldi-asr#4795) [egs] Kill feral dupes of --num-threads in few local eg scripts (kaldi-asr#4792) [scripts] Move otherwise misleading comment in mkgraph.sh (kaldi-asr#4787) [scripts] Copy utt2lang in copy_data_dir.sh (kaldi-asr#4789) Fix: ali-to-post piping in post-to-tacc example (kaldi-asr#4788) [infra] add cpu-only docker build (kaldi-asr#4783) [infra] docker images automatically using gh (kaldi-asr#4782) remove the c++17 removed function random_shuffle remove obsoleted and C++17 incompatible unary_function<>, resolves kaldi-asr#4732 [egs] Set PYTHONUNBUFFERED=1 in all recipes (kaldi-asr#4770) Fix typo in gen_cmake_skeleton (kaldi-asr#4779) use last segment of the CXX as the ccbin compiler for cuda (kaldi-asr#4778) Windows conda fixes (kaldi-asr#4777) Replace TravisCI with github actions (kaldi-asr#4776) Kaldi recipe for SPGISpeech (kaldi-asr#4772) fix portaudio install script, closes kaldi-asr#4755 (kaldi-asr#4773)
- Loading branch information
Showing
202 changed files
with
2,197 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: C/C++ CI | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
env: | ||
CCACHE_DIR: /home/runner/work/kaldi/kaldi/.ccache | ||
CXX: "ccache g++" | ||
CC: "ccache gcc" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install sox | ||
run: sudo apt-get install -y sox intel-mkl | ||
- name: ccache | ||
uses: hendrikmuhs/ccache-action@v1.2 | ||
with: | ||
verbose: 1 | ||
max-size: 3G | ||
- name: make tools | ||
run: cd tools && make -j3 | ||
- name: ccache stats | ||
run: ccache -s | ||
- name: configure | ||
run: cd src && ./configure --shared | ||
- name: make depend | ||
run: cd src && make clean && make depend | ||
- name: make | ||
run: cd src && make -j 3 | ||
- name: make test | ||
run: cd src && make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
name: Docker Image CI | ||
|
||
on: | ||
schedule: | ||
- cron: '37 2 * * 1' | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: 'Log level' | ||
required: true | ||
default: 'warning' | ||
type: choice | ||
options: | ||
- info | ||
- warning | ||
- debug | ||
# pull_request: #for debugging purposes | ||
# branches: [ "master" ] | ||
|
||
jobs: | ||
enable_build: | ||
if: github.repository == 'kaldi-asr/kaldi' | ||
runs-on: ubuntu-latest | ||
outputs: | ||
enabled: ${{ steps.set-enabled.outputs.enabled }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set enabled | ||
id: set-enabled | ||
run: | | ||
set -x | ||
echo $(git rev-list --after="1 week" ${{ github.sha }}) | ||
if test -z $(git rev-list --after="1 week" ${{ github.sha }} | tail -n 1) ; then | ||
enabled=false | ||
else | ||
enabled=true | ||
fi | ||
echo "enabled: $enabled" | ||
echo "::set-output name=enabled::${enabled}" | ||
docker-buildx-gpu: | ||
needs: enable_build | ||
if: needs.enable_build.outputs.enabled == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v2 | ||
with: | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Inspect builder | ||
run: | | ||
echo "Name: ${{ steps.buildx.outputs.name }}" | ||
echo "Endpoint: ${{ steps.buildx.outputs.endpoint }}" | ||
echo "Status: ${{ steps.buildx.outputs.status }}" | ||
echo "Flags: ${{ steps.buildx.outputs.flags }}" | ||
echo "Platforms: ${{ steps.buildx.outputs.platforms }}" | ||
- name: Build and push | ||
run: | | ||
cd docker/ubuntu18.04-cuda10.0/ | ||
docker build --push --tag kaldiasr/kaldi:gpu-latest --tag kaldiasr/kaldi:gpu-ubuntu18.04-cuda10.0 --tag kaldiasr/kaldi:gpu-ubuntu18.04-cuda10.0-$(date +%F) . | ||
docker-buildx-cpu: | ||
needs: enable_build | ||
if: needs.enable_build.outputs.enabled == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v2 | ||
with: | ||
install: true | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Inspect builder | ||
run: | | ||
echo "Name: ${{ steps.buildx.outputs.name }}" | ||
echo "Endpoint: ${{ steps.buildx.outputs.endpoint }}" | ||
echo "Status: ${{ steps.buildx.outputs.status }}" | ||
echo "Flags: ${{ steps.buildx.outputs.flags }}" | ||
echo "Platforms: ${{ steps.buildx.outputs.platforms }}" | ||
- name: Build and push | ||
run: | | ||
cd docker/debian10-cpu/ | ||
docker build --push \ | ||
--tag kaldiasr/kaldi:latest \ | ||
--tag kaldiasr/kaldi:cpu-latest \ | ||
--tag kaldiasr/kaldi:cpu-debian10 \ | ||
--tag kaldiasr/kaldi:cpu-debian10-$(date +%F) . | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Reference: | ||
# # https://github.com/codefactor-io/shellcheck-config | ||
# # https://github.com/koalaman/shellcheck/wiki/Checks | ||
ignored: | ||
-SC2181 | ||
-SC2145 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.