mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-11 02:52:16 +00:00
support torch 2.5.1
This commit is contained in:
parent
16b6acf3cf
commit
0531b2a4c3
8
.github/workflows/macos-cpu-wheels.yml
vendored
8
.github/workflows/macos-cpu-wheels.yml
vendored
@ -26,11 +26,11 @@ jobs:
|
|||||||
id: set-matrix
|
id: set-matrix
|
||||||
run: |
|
run: |
|
||||||
# outputting for debugging purposes
|
# outputting for debugging purposes
|
||||||
python ./scripts/github_actions/generate_build_matrix.py --for-macos
|
# python ./scripts/github_actions/generate_build_matrix.py --for-macos
|
||||||
MATRIX=$(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
|
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)
|
MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --for-macos --test-only-latest-torch)
|
||||||
echo "::set-output name=matrix::${MATRIX}"
|
echo "::set-output name=matrix::${MATRIX}"
|
||||||
|
|
||||||
build_wheels_macos_cpu:
|
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
|
id: set-matrix
|
||||||
run: |
|
run: |
|
||||||
# outputting for debugging purposes
|
# outputting for debugging purposes
|
||||||
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)
|
# MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py)
|
||||||
|
|
||||||
# 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)
|
MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --test-only-latest-torch)
|
||||||
echo "::set-output name=matrix::${MATRIX}"
|
echo "::set-output name=matrix::${MATRIX}"
|
||||||
|
|
||||||
build-manylinux-wheels:
|
build-manylinux-wheels:
|
||||||
|
8
.github/workflows/windows-x64-cpu-wheels.yml
vendored
8
.github/workflows/windows-x64-cpu-wheels.yml
vendored
@ -26,11 +26,11 @@ jobs:
|
|||||||
id: set-matrix
|
id: set-matrix
|
||||||
run: |
|
run: |
|
||||||
# outputting for debugging purposes
|
# outputting for debugging purposes
|
||||||
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)
|
# 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
|
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)
|
MATRIX=$(python ./scripts/github_actions/generate_build_matrix.py --for-windows --test-only-latest-torch)
|
||||||
echo "::set-output name=matrix::${MATRIX}"
|
echo "::set-output name=matrix::${MATRIX}"
|
||||||
|
|
||||||
build_wheels_win64_cpu:
|
build_wheels_win64_cpu:
|
||||||
|
@ -268,6 +268,15 @@ def generate_build_matrix(enable_cuda, for_windows, for_macos, test_only_latest_
|
|||||||
else ["11.8.0", "12.1.0", "12.4.0"]
|
else ["11.8.0", "12.1.0", "12.4.0"]
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
"2.5.1": {
|
||||||
|
# Only Linux supports python 3.13
|
||||||
|
"python-version": ["3.9", "3.10", "3.11", "3.12", "3.13"],
|
||||||
|
"cuda": (
|
||||||
|
["11.8", "12.1", "12.4"] # default 12.4
|
||||||
|
if not for_windows
|
||||||
|
else ["11.8.0", "12.1.0", "12.4.0"]
|
||||||
|
),
|
||||||
|
},
|
||||||
# https://github.com/Jimver/cuda-toolkit/blob/master/src/links/windows-links.ts
|
# https://github.com/Jimver/cuda-toolkit/blob/master/src/links/windows-links.ts
|
||||||
}
|
}
|
||||||
if test_only_latest_torch:
|
if test_only_latest_torch:
|
||||||
@ -275,6 +284,9 @@ def generate_build_matrix(enable_cuda, for_windows, for_macos, test_only_latest_
|
|||||||
matrix = {latest: matrix[latest]}
|
matrix = {latest: matrix[latest]}
|
||||||
|
|
||||||
if for_windows or for_macos:
|
if for_windows or for_macos:
|
||||||
|
if "2.5.1" in matrix:
|
||||||
|
matrix["2.5.1"]["python-version"].remove("3.13")
|
||||||
|
|
||||||
if "2.5.0" in matrix:
|
if "2.5.0" in matrix:
|
||||||
matrix["2.5.0"]["python-version"].remove("3.13")
|
matrix["2.5.0"]["python-version"].remove("3.13")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user