mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-13 12:02:19 +00:00
Test torch 1.13.0 (#61)
This commit is contained in:
parent
5c7566f2e2
commit
8ee0c34d3a
@ -124,9 +124,13 @@ 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.13.0": {
|
||||||
|
"python-version": ["3.7", "3.8", "3.9", "3.10", "3.11"],
|
||||||
|
"cuda": ["11.6", "11.7"], # default 11.7
|
||||||
|
},
|
||||||
}
|
}
|
||||||
if test_only_latest_torch:
|
if test_only_latest_torch:
|
||||||
latest = "1.12.1"
|
latest = "1.13.0"
|
||||||
matrix = {latest: matrix[latest]}
|
matrix = {latest: matrix[latest]}
|
||||||
|
|
||||||
ans = []
|
ans = []
|
||||||
|
@ -46,6 +46,9 @@ case "$cuda" in
|
|||||||
11.6)
|
11.6)
|
||||||
url=https://developer.download.nvidia.com/compute/cuda/11.6.2/local_installers/cuda_11.6.2_510.47.03_linux.run
|
url=https://developer.download.nvidia.com/compute/cuda/11.6.2/local_installers/cuda_11.6.2_510.47.03_linux.run
|
||||||
;;
|
;;
|
||||||
|
11.7)
|
||||||
|
url=https://developer.download.nvidia.com/compute/cuda/11.7.1/local_installers/cuda_11.7.1_515.65.01_linux.run
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown cuda version: $cuda"
|
echo "Unknown cuda version: $cuda"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -39,6 +39,9 @@ case $cuda in
|
|||||||
11.6)
|
11.6)
|
||||||
filename=cudnn-11.3-linux-x64-v8.2.0.53.tgz
|
filename=cudnn-11.3-linux-x64-v8.2.0.53.tgz
|
||||||
;;
|
;;
|
||||||
|
11.7)
|
||||||
|
filename=cudnn-11.3-linux-x64-v8.2.0.53.tgz
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unsupported cuda version: $cuda"
|
echo "Unsupported cuda version: $cuda"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -142,6 +142,19 @@ case ${torch} in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
1.13.*)
|
||||||
|
case ${cuda} in
|
||||||
|
11.6)
|
||||||
|
package="torch==${torch}+cu116"
|
||||||
|
url=https://download.pytorch.org/whl/torch_stable.html
|
||||||
|
;;
|
||||||
|
11.7)
|
||||||
|
package="torch==${torch}"
|
||||||
|
# Leave it empty to use PyPI.
|
||||||
|
url=
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unsupported PyTorch version: ${torch}"
|
echo "Unsupported PyTorch version: ${torch}"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user