Skip to content

Commit ee1bc3f

Browse files
atalmanpytorchmergebot
authored andcommitted
Manylinux ROCm docker images. use devtoolset-13 (pytorch#166764)
Update devtoolset in Manylinux 2.28 rocm builds. 11 is too old does not support compiling with C++20 properly Pull Request resolved: pytorch#166764 Approved by: https://github.com/sudharssun, https://github.com/jeffdaily
1 parent 612ead1 commit ee1bc3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/docker/manywheel/Dockerfile_2_28

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ FROM cpu_final as rocm_final
149149
ARG ROCM_VERSION=6.0
150150
ARG PYTORCH_ROCM_ARCH
151151
ENV PYTORCH_ROCM_ARCH ${PYTORCH_ROCM_ARCH}
152-
ARG DEVTOOLSET_VERSION=11
152+
ARG DEVTOOLSET_VERSION=13
153153
ENV LDFLAGS="-Wl,-rpath=/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/lib64 -Wl,-rpath=/opt/rh/gcc-toolset-${DEVTOOLSET_VERSION}/root/usr/lib"
154154
# Somewhere in ROCm stack, we still use non-existing /opt/rocm/hip path,
155155
# below workaround helps avoid error

0 commit comments

Comments
 (0)