mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-09 18:12:17 +00:00
Build CPU version for linux
This commit is contained in:
parent
2bd09f4b18
commit
37c4baf823
5
.github/workflows/build_conda_ubuntu_cpu.yml
vendored
5
.github/workflows/build_conda_ubuntu_cpu.yml
vendored
@ -20,6 +20,9 @@ name: build_conda_ubuntu_cpu
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- conda
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
@ -90,7 +93,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
KALDIFEAT_PYTHON_VERSION: ${{ matrix.python-version}}
|
KALDIFEAT_PYTHON_VERSION: ${{ matrix.python-version}}
|
||||||
KALDIFEAT_TORCH_VERSION: ${{ matrix.torch }}
|
KALDIFEAT_TORCH_VERSION: ${{ matrix.torch }}
|
||||||
KALDIFEAT_CONDA_TOKEN: ${{ secrets.KALDIFEAT_CONDA_TOKEN}}
|
# KALDIFEAT_CONDA_TOKEN: ${{ secrets.KALDIFEAT_CONDA_TOKEN}}
|
||||||
KALDIFEAT_IS_GITHUB_ACTIONS: 1
|
KALDIFEAT_IS_GITHUB_ACTIONS: 1
|
||||||
KALDIFEAT_IS_FOR_CONDA: 1
|
KALDIFEAT_IS_FOR_CONDA: 1
|
||||||
run: |
|
run: |
|
||||||
|
@ -118,9 +118,15 @@ def generate_build_matrix(enable_cuda, for_windows, test_only_latest_torch):
|
|||||||
if not for_windows
|
if not for_windows
|
||||||
else ["11.3.1", "11.6.2"],
|
else ["11.3.1", "11.6.2"],
|
||||||
},
|
},
|
||||||
|
"1.12.1": {
|
||||||
|
"python-version": ["3.7", "3.8", "3.9", "3.10"],
|
||||||
|
"cuda": ["10.2", "11.3", "11.6"]
|
||||||
|
if not for_windows
|
||||||
|
else ["11.3.1", "11.6.2"],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
if test_only_latest_torch:
|
if test_only_latest_torch:
|
||||||
latest = "1.12.0"
|
latest = "1.12.1"
|
||||||
matrix = {latest: matrix[latest]}
|
matrix = {latest: matrix[latest]}
|
||||||
|
|
||||||
ans = []
|
ans = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user