Skip to content

Commit 474fe7d

Browse files
seemetherefacebook-github-bot
authored andcommitted
docker: Update default cuda => 11.1 (pytorch#53299)
Summary: We no longer build binaries for CUDA 11.0 so let's ensure that we have build for CUDA 11.1 by default instead Signed-off-by: Eli Uriegas <[email protected]> Pull Request resolved: pytorch#53299 Reviewed By: anjali411 Differential Revision: D26857194 Pulled By: seemethere fbshipit-source-id: 6094913922c0da832b96e5e49a67369d69d0b8ad
1 parent f58f7b7 commit 474fe7d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# If you do not use buildkit you are not going to have a good time
77
#
8-
# For reference:
8+
# For reference:
99
# https://docs.docker.com/develop/develop-images/build_enhancements/
1010
ARG BASE_IMAGE=ubuntu:18.04
1111
ARG PYTHON_VERSION=3.8
@@ -51,8 +51,8 @@ RUN --mount=type=cache,target=/opt/ccache \
5151

5252
FROM conda as conda-installs
5353
ARG PYTHON_VERSION=3.8
54-
ARG CUDA_VERSION=11.0
55-
ARG CUDA_CHANNEL=defaults
54+
ARG CUDA_VERSION=11.1
55+
ARG CUDA_CHANNEL=nvidia
5656
ARG INSTALL_CHANNEL=pytorch-nightly
5757
ENV CONDA_OVERRIDE_CUDA=${CUDA_VERSION}
5858
RUN /opt/conda/bin/conda install -c "${INSTALL_CHANNEL}" -c "${CUDA_CHANNEL}" -y python=${PYTHON_VERSION} pytorch torchvision torchtext "cudatoolkit=${CUDA_VERSION}" && \

docker.Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ $(warning WARNING: No docker user found using results from whoami)
88
DOCKER_ORG = $(shell whoami)
99
endif
1010

11-
CUDA_VERSION = 11.0
11+
CUDA_VERSION = 11.1
1212
CUDNN_VERSION = 8
1313
BASE_RUNTIME = ubuntu:18.04
1414
BASE_DEVEL = nvidia/cuda:$(CUDA_VERSION)-cudnn$(CUDNN_VERSION)-devel-ubuntu18.04

0 commit comments

Comments
 (0)