mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 06:34:20 +00:00
minor fixes
This commit is contained in:
parent
360c30bb59
commit
fd09e5befe
10
.github/workflows/build-cpu-docker.yml
vendored
10
.github/workflows/build-cpu-docker.yml
vendored
@ -1,8 +1,5 @@
|
|||||||
name: build-cpu-docker
|
name: build-cpu-docker
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- ci-train-3
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -11,7 +8,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-cpu-docker:
|
build-cpu-docker:
|
||||||
name: py${{ matrix.python-version }} torch${{ matrix.torch-version }}
|
name: py${{ matrix.python-version }} torch${{ matrix.torch-version }} v${{ matrix.version }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -21,6 +18,7 @@ jobs:
|
|||||||
torch-version: ["1.13.0", "2.0.0", "2.0.1", "2.1.0", "2.1.1", "2.1.2"]
|
torch-version: ["1.13.0", "2.0.0", "2.0.1", "2.1.0", "2.1.1", "2.1.2"]
|
||||||
k2-version: ["1.24.4.dev20231220"]
|
k2-version: ["1.24.4.dev20231220"]
|
||||||
kaldifeat-version: ["1.25.3.dev20231221"]
|
kaldifeat-version: ["1.25.3.dev20231221"]
|
||||||
|
version: ["1.0"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# refer to https://github.com/actions/checkout
|
# refer to https://github.com/actions/checkout
|
||||||
@ -59,7 +57,9 @@ jobs:
|
|||||||
echo "torch_version: $torch_version"
|
echo "torch_version: $torch_version"
|
||||||
echo "torchaudio_version: $torchaudio_version"
|
echo "torchaudio_version: $torchaudio_version"
|
||||||
|
|
||||||
tag=ghcr.io/csukuangfj/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}
|
version=${{ matrix.version }}
|
||||||
|
|
||||||
|
tag=ghcr.io/k2-fsa/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}-v$version
|
||||||
echo "tag: $tag"
|
echo "tag: $tag"
|
||||||
|
|
||||||
docker build \
|
docker build \
|
||||||
|
7
.github/workflows/train-librispeech.yml
vendored
7
.github/workflows/train-librispeech.yml
vendored
@ -3,7 +3,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
- ci-train-2
|
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
@ -17,7 +16,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
train-librispeech:
|
train-librispeech:
|
||||||
name: py${{ matrix.python-version }} torch${{ matrix.torch-version }}
|
name: py${{ matrix.python-version }} torch${{ matrix.torch-version }} v${{ matrix.version }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -27,6 +26,7 @@ jobs:
|
|||||||
torch-version: ["1.13.0", "2.0.0", "2.0.1", "2.1.0", "2.1.1", "2.1.2"]
|
torch-version: ["1.13.0", "2.0.0", "2.0.1", "2.1.0", "2.1.1", "2.1.2"]
|
||||||
k2-version: ["1.24.4.dev20231220"]
|
k2-version: ["1.24.4.dev20231220"]
|
||||||
kaldifeat-version: ["1.25.3.dev20231221"]
|
kaldifeat-version: ["1.25.3.dev20231221"]
|
||||||
|
version: ["1.0"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# refer to https://github.com/actions/checkout
|
# refer to https://github.com/actions/checkout
|
||||||
@ -46,8 +46,7 @@ jobs:
|
|||||||
- name: Run the build process with Docker
|
- name: Run the build process with Docker
|
||||||
uses: addnab/docker-run-action@v3
|
uses: addnab/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
# image: ghcr.io/k2-fsa/icefall:cpu-py${{ matrix.python-version }}
|
image: ghcr.io/k2-fsa/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}-v${{ matrix.version }}
|
||||||
image: ghcr.io/csukuangfj/icefall:cpu-py${{ matrix.python-version }}-torch${{ matrix.torch-version }}
|
|
||||||
options: |
|
options: |
|
||||||
--volume ${{ github.workspace }}/:/icefall
|
--volume ${{ github.workspace }}/:/icefall
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user