diff --git a/scripts/github_actions/generate_build_matrix.py b/scripts/github_actions/generate_build_matrix.py index 13b87e7..8e1c197 100755 --- a/scripts/github_actions/generate_build_matrix.py +++ b/scripts/github_actions/generate_build_matrix.py @@ -124,9 +124,13 @@ def generate_build_matrix(enable_cuda, for_windows, test_only_latest_torch): if not for_windows 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: - latest = "1.12.1" + latest = "1.13.0" matrix = {latest: matrix[latest]} ans = [] diff --git a/scripts/github_actions/install_cuda.sh b/scripts/github_actions/install_cuda.sh index eee8f07..f7a669a 100755 --- a/scripts/github_actions/install_cuda.sh +++ b/scripts/github_actions/install_cuda.sh @@ -46,6 +46,9 @@ case "$cuda" in 11.6) 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" exit 1 diff --git a/scripts/github_actions/install_cudnn.sh b/scripts/github_actions/install_cudnn.sh index 4231ddd..d57018c 100755 --- a/scripts/github_actions/install_cudnn.sh +++ b/scripts/github_actions/install_cudnn.sh @@ -39,6 +39,9 @@ case $cuda in 11.6) 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" exit 1 diff --git a/scripts/github_actions/install_torch.sh b/scripts/github_actions/install_torch.sh index 16831d8..9f0be7c 100755 --- a/scripts/github_actions/install_torch.sh +++ b/scripts/github_actions/install_torch.sh @@ -142,6 +142,19 @@ case ${torch} in ;; 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}" exit 1