mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-09 01:52:39 +00:00
support torch 2.2.2
This commit is contained in:
parent
5dee672556
commit
d7a6e9f61d
10
.github/workflows/macos-cpu-wheels.yml
vendored
10
.github/workflows/macos-cpu-wheels.yml
vendored
@ -26,11 +26,11 @@ jobs:
|
||||
id: set-matrix
|
||||
run: |
|
||||
# outputting for debugging purposes
|
||||
python ./scripts/github_actions/generate_build_matrix.py --for-macos
|
||||
MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --for-macos)
|
||||
#
|
||||
# python ./scripts/github_actions/generate_build_matrix.py --for-macos --test-only-latest-torch
|
||||
# MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --for-macos --test-only-latest-torch)
|
||||
# python ./scripts/github_actions/generate_build_matrix.py --for-macos
|
||||
# MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --for-macos)
|
||||
|
||||
python ./scripts/github_actions/generate_build_matrix.py --for-macos --test-only-latest-torch
|
||||
MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --for-macos --test-only-latest-torch)
|
||||
echo "::set-output name=matrix::${MATRIX}"
|
||||
|
||||
build_wheels_macos_cpu:
|
||||
|
8
.github/workflows/ubuntu-cpu-wheels.yml
vendored
8
.github/workflows/ubuntu-cpu-wheels.yml
vendored
@ -26,11 +26,11 @@ jobs:
|
||||
id: set-matrix
|
||||
run: |
|
||||
# outputting for debugging purposes
|
||||
python ./scripts/github_actions/generate_build_matrix.py
|
||||
MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py)
|
||||
# python ./scripts/github_actions/generate_build_matrix.py
|
||||
# MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py)
|
||||
|
||||
# python ./scripts/github_actions/generate_build_matrix.py --test-only-latest-torch
|
||||
# MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --test-only-latest-torch)
|
||||
python ./scripts/github_actions/generate_build_matrix.py --test-only-latest-torch
|
||||
MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --test-only-latest-torch)
|
||||
echo "::set-output name=matrix::${MATRIX}"
|
||||
|
||||
build-manylinux-wheels:
|
||||
|
8
.github/workflows/ubuntu-cuda-wheels.yml
vendored
8
.github/workflows/ubuntu-cuda-wheels.yml
vendored
@ -26,11 +26,11 @@ jobs:
|
||||
id: set-matrix
|
||||
run: |
|
||||
# outputting for debugging purposes
|
||||
python ./scripts/github_actions/generate_build_matrix.py --enable-cuda
|
||||
MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --enable-cuda)
|
||||
# python ./scripts/github_actions/generate_build_matrix.py --enable-cuda
|
||||
# MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --enable-cuda)
|
||||
|
||||
# python ./scripts/github_actions/generate_build_matrix.py --enable-cuda --test-only-latest-torch
|
||||
# MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --enable-cuda --test-only-latest-torch)
|
||||
python ./scripts/github_actions/generate_build_matrix.py --enable-cuda --test-only-latest-torch
|
||||
MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --enable-cuda --test-only-latest-torch)
|
||||
echo "::set-output name=matrix::${MATRIX}"
|
||||
|
||||
build-manylinux-wheels:
|
||||
|
7
.github/workflows/windows-x64-cpu-wheels.yml
vendored
7
.github/workflows/windows-x64-cpu-wheels.yml
vendored
@ -26,8 +26,11 @@ jobs:
|
||||
id: set-matrix
|
||||
run: |
|
||||
# outputting for debugging purposes
|
||||
python ./scripts/github_actions/generate_build_matrix.py --for-windows
|
||||
MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --for-windows)
|
||||
# python ./scripts/github_actions/generate_build_matrix.py --for-windows
|
||||
# MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --for-windows)
|
||||
|
||||
python ./scripts/github_actions/generate_build_matrix.py --for-windows --test-only-latest-torch
|
||||
MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --for-windows --test-only-latest-torch)
|
||||
echo "::set-output name=matrix::${MATRIX}"
|
||||
|
||||
build_wheels_win64_cpu:
|
||||
|
@ -189,10 +189,16 @@ def generate_build_matrix(enable_cuda, for_windows, for_macos, test_only_latest_
|
||||
if not for_windows
|
||||
else ["11.8.0", "12.1.0"],
|
||||
},
|
||||
"2.2.2": {
|
||||
"python-version": ["3.8", "3.9", "3.10", "3.11", "3.12"],
|
||||
"cuda": ["11.8", "12.1"] # default 12.1
|
||||
if not for_windows
|
||||
else ["11.8.0", "12.1.0"],
|
||||
},
|
||||
# https://github.com/Jimver/cuda-toolkit/blob/master/src/links/windows-links.ts
|
||||
}
|
||||
if test_only_latest_torch:
|
||||
latest = "2.2.1"
|
||||
latest = "2.2.2"
|
||||
matrix = {latest: matrix[latest]}
|
||||
|
||||
if for_windows or for_macos:
|
||||
|
Loading…
x
Reference in New Issue
Block a user