Skip to content

Commit ec28207

Browse files
committed
build libtorch and manywheel for 11.8
1 parent 6649435 commit ec28207

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
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.7", "11.6"]
31+
cuda_version: ["11.8", "11.7", "11.6"]
3232
env:
3333
GPU_ARCH_TYPE: cuda
3434
GPU_ARCH_VERSION: ${{ matrix.cuda_version }}

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

Lines changed: 1 addition & 1 deletion
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.7", "11.6"]
31+
cuda_version: ["11.8", "11.7", "11.6"]
3232
env:
3333
GPU_ARCH_TYPE: cuda
3434
GPU_ARCH_VERSION: ${{ matrix.cuda_version }}

common/install_magma.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ function do_install() {
1414
elif [[ ${cuda_version_nodot} == 117 ]]; then
1515
MAGMA_VERSION="2.6.1"
1616
magma_archive="magma-cuda${cuda_version_nodot}-${MAGMA_VERSION}-0.tar.bz2"
17+
elif [[ ${cuda_version_nodot} == 118 ]]; then
18+
MAGMA_VERSION="2.6.1"
19+
magma_archive="magma-cuda${cuda_version_nodot}-${MAGMA_VERSION}-0.tar.bz2"
1720
else
1821
magma_archive="magma-cuda${cuda_version_nodot}-${MAGMA_VERSION}-1.tar.bz2"
1922
fi

libtorch/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ FROM cuda as cuda11.7
5252
RUN bash ./install_cuda.sh 11.7
5353
RUN bash ./install_magma.sh 11.7
5454

55+
FROM cuda as cuda11.8
56+
RUN bash ./install_cuda.sh 11.8
57+
RUN bash ./install_magma.sh 11.8
58+
5559
FROM cpu as rocm
5660
ARG PYTORCH_ROCM_ARCH
5761
ENV PYTORCH_ROCM_ARCH ${PYTORCH_ROCM_ARCH}

libtorch/build_all_docker.sh

Lines changed: 1 addition & 1 deletion
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.7 11.6; do
7+
for cuda_version in 11.8 11.7 11.6; do
88
GPU_ARCH_TYPE=cuda GPU_ARCH_VERSION="${cuda_version}" "${TOPDIR}/libtorch/build_docker.sh"
99
done
1010

0 commit comments

Comments
 (0)