mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-08 09:32:18 +00:00
Support torch 2.8.0 (#120)
This commit is contained in:
parent
8cda08e0c5
commit
9165e73a3b
2
.github/workflows/macos-cpu-wheels.yml
vendored
2
.github/workflows/macos-cpu-wheels.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
# - wheel
|
||||
- torch-2.7.1
|
||||
- torch-2.8.0
|
||||
tags:
|
||||
- '*'
|
||||
workflow_dispatch:
|
||||
|
@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
# - wheel
|
||||
- torch-2.7.1
|
||||
- torch-2.8.0
|
||||
tags:
|
||||
- '*'
|
||||
workflow_dispatch:
|
||||
|
2
.github/workflows/ubuntu-cpu-wheels.yml
vendored
2
.github/workflows/ubuntu-cpu-wheels.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
# - wheel
|
||||
- torch-2.7.1
|
||||
- torch-2.8.0
|
||||
tags:
|
||||
- '*'
|
||||
workflow_dispatch:
|
||||
|
2
.github/workflows/windows-x64-cpu-wheels.yml
vendored
2
.github/workflows/windows-x64-cpu-wheels.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
# - wheel
|
||||
- torch-2.7.1
|
||||
- torch-2.8.0
|
||||
tags:
|
||||
- '*'
|
||||
workflow_dispatch:
|
||||
|
@ -319,10 +319,18 @@ def generate_build_matrix(
|
||||
else ["11.8.0", "12.6.2", "12.8.1"]
|
||||
),
|
||||
},
|
||||
"2.8.0": {
|
||||
"python-version": ["3.9", "3.10", "3.11", "3.12", "3.13"],
|
||||
"cuda": (
|
||||
["12.6", "12.8", "12.9"] # default 12.8
|
||||
if not for_windows
|
||||
else ["12.6.2", "12.8.1", "12.9.1"]
|
||||
),
|
||||
},
|
||||
# https://github.com/Jimver/cuda-toolkit/blob/master/src/links/windows-links.ts
|
||||
}
|
||||
if test_only_latest_torch:
|
||||
latest = "2.7.1"
|
||||
latest = "2.8.0"
|
||||
matrix = {latest: matrix[latest]}
|
||||
|
||||
if for_windows or for_macos:
|
||||
|
@ -281,6 +281,23 @@ case ${torch} in
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
2.8.*)
|
||||
case ${cuda} in
|
||||
12.6)
|
||||
package="torch==${torch}+cu126"
|
||||
# https://download.pytorch.org/whl/nightly/torch/
|
||||
url=https://download.pytorch.org/whl/torch/
|
||||
;;
|
||||
12.8)
|
||||
package="torch==${torch}+cu128"
|
||||
url=https://download.pytorch.org/whl/torch/
|
||||
;;
|
||||
12.9)
|
||||
package="torch==${torch}+cu129"
|
||||
url=https://download.pytorch.org/whl/torch/
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported PyTorch version: ${torch}"
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user