Skip to content

Commit 4b4da0e

Browse files
authored
add CUDA 11.7 builds for manywheel and libtorch (#1054)
* add CUDA 11.7 builds for manywheel and libtorch * add libtorch and magma builds Co-authored-by: pbialecki <[email protected]>
1 parent 1ef16d6 commit 4b4da0e

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

.github/workflows/build-libtorch-images.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-18.04
2929
strategy:
3030
matrix:
31-
cuda_version: ["11.6", "11.5", "11.3", "10.2"]
31+
cuda_version: ["11.7", "11.6", "11.5", "11.3", "10.2"]
3232
env:
3333
GPU_ARCH_TYPE: cuda
3434
GPU_ARCH_VERSION: ${{ matrix.cuda_version }}

.github/workflows/build-manywheel-images.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-18.04
2929
strategy:
3030
matrix:
31-
cuda_version: ["11.6", "11.5", "11.3", "10.2"]
31+
cuda_version: ["11.7", "11.6", "11.5", "11.3", "10.2"]
3232
env:
3333
GPU_ARCH_TYPE: cuda
3434
GPU_ARCH_VERSION: ${{ matrix.cuda_version }}

common/install_magma.sh

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ function do_install() {
1111
if [[ ${cuda_version_nodot} == 116 ]]; then
1212
MAGMA_VERSION="2.6.1"
1313
magma_archive="magma-cuda${cuda_version_nodot}-${MAGMA_VERSION}-0.tar.bz2"
14+
elif [[ ${cuda_version_nodot} == 117 ]]; then
15+
MAGMA_VERSION="2.6.1"
16+
magma_archive="magma-cuda${cuda_version_nodot}-${MAGMA_VERSION}-0.tar.bz2"
1417
else
1518
magma_archive="magma-cuda${cuda_version_nodot}-${MAGMA_VERSION}-1.tar.bz2"
1619
fi

libtorch/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ FROM cuda as cuda11.6
6060
RUN bash ./install_cuda.sh 11.6
6161
RUN bash ./install_magma.sh 11.6
6262

63+
FROM cuda as cuda11.7
64+
RUN bash ./install_cuda.sh 11.7
65+
RUN bash ./install_magma.sh 11.7
66+
6367
FROM cpu as rocm
6468
ARG PYTORCH_ROCM_ARCH
6569
ENV PYTORCH_ROCM_ARCH ${PYTORCH_ROCM_ARCH}

libtorch/build_all_docker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -eou pipefail
44

55
TOPDIR=$(git rev-parse --show-toplevel)
66

7-
for cuda_version in 11.6 11.5 11.3 10.2; do
7+
for cuda_version in 11.7 11.6 11.5 11.3 10.2; do
88
GPU_ARCH_TYPE=cuda GPU_ARCH_VERSION="${cuda_version}" "${TOPDIR}/libtorch/build_docker.sh"
99
done
1010

0 commit comments

Comments
 (0)