Skip to content

Commit a65f6b9

Browse files
authored
Update Dockerfile with newer cuda and torch. (#3716)
* Add non-interactive prompt, causing issues for some users * Update pytorch version too
1 parent 26b3e73 commit a65f6b9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docker/Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM nvidia/cuda:10.0-devel-ubuntu18.04
1+
FROM nvidia/cuda:11.7.0-devel-ubuntu18.04
2+
3+
ENV DEBIAN_FRONTEND noninteractive
24

35
##############################################################################
46
# Temporary Installation Directory
@@ -157,8 +159,8 @@ RUN cat /etc/ssh/sshd_config > ${STAGE_DIR}/sshd_config && \
157159
##############################################################################
158160
# PyTorch
159161
##############################################################################
160-
ENV PYTORCH_VERSION=1.2.0
161-
ENV TORCHVISION_VERSION=0.4.0
162+
ENV PYTORCH_VERSION=1.9.0
163+
ENV TORCHVISION_VERSION=0.10.0
162164
ENV TENSORBOARDX_VERSION=1.8
163165
RUN pip install torch==${PYTORCH_VERSION}
164166
RUN pip install torchvision==${TORCHVISION_VERSION}

0 commit comments

Comments
 (0)