Skip to content

Update build_docker.sh #1446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions manywheel/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,8 @@ case ${GPU_ARCH_TYPE} in
DOCKER_TAG=cuda${GPU_ARCH_VERSION}
LEGACY_DOCKER_IMAGE=${DOCKER_REGISTRY}/pytorch/manylinux-cuda${GPU_ARCH_VERSION//./}
# Keep this up to date with the minimum version of CUDA we currently support
GPU_IMAGE=nvidia/cuda:10.2-devel-centos7
DEVTOOLSET_VERSION="9"
if [[ ${GPU_ARCH_VERSION:0:2} == "10" ]]; then
DEVTOOLSET_VERSION="7"
fi
DOCKER_GPU_BUILD_ARG="--build-arg BASE_CUDA_VERSION=${GPU_ARCH_VERSION} --build-arg DEVTOOLSET_VERSION=${DEVTOOLSET_VERSION}"
GPU_IMAGE=nvidia/cuda:11.4.3-devel-centos7
DOCKER_GPU_BUILD_ARG="--build-arg BASE_CUDA_VERSION=${GPU_ARCH_VERSION} --build-arg DEVTOOLSET_VERSION=9"
;;
rocm)
TARGET=rocm_final
Expand Down