Skip to content

Commit

Permalink
Update Dockerfile with newer cuda and torch. (#3716)
Browse files Browse the repository at this point in the history
* Add non-interactive prompt, causing issues for some users

* Update pytorch version too
  • Loading branch information
loadams authored Jun 9, 2023
1 parent 26b3e73 commit a65f6b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM nvidia/cuda:10.0-devel-ubuntu18.04
FROM nvidia/cuda:11.7.0-devel-ubuntu18.04

ENV DEBIAN_FRONTEND noninteractive

##############################################################################
# Temporary Installation Directory
Expand Down Expand Up @@ -157,8 +159,8 @@ RUN cat /etc/ssh/sshd_config > ${STAGE_DIR}/sshd_config && \
##############################################################################
# PyTorch
##############################################################################
ENV PYTORCH_VERSION=1.2.0
ENV TORCHVISION_VERSION=0.4.0
ENV PYTORCH_VERSION=1.9.0
ENV TORCHVISION_VERSION=0.10.0
ENV TENSORBOARDX_VERSION=1.8
RUN pip install torch==${PYTORCH_VERSION}
RUN pip install torchvision==${TORCHVISION_VERSION}
Expand Down

0 comments on commit a65f6b9

Please sign in to comment.