Skip to content

Commit

Permalink
Add nvidia modprobe and bump image
Browse files Browse the repository at this point in the history
  • Loading branch information
derneuere authored Dec 20, 2023
1 parent dda6fe5 commit 2ac1d62
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend-gpu/base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nvidia/cuda:12.1.0-cudnn8-devel-ubuntu22.04
FROM nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04
ARG TARGETPLATFORM
ENV DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -54,6 +54,7 @@ RUN apt-get update && \
libtinfo5 \
libvips-dev \
swig && \
nvidia-modprobe && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

Expand All @@ -65,7 +66,7 @@ RUN curl -SL https://exiftool.org/Image-ExifTool-12.64.tar.gz | tar -xz && \
make install && \
rm -rf /tmp/exiftool

# Current Version: pytorch 2.1 with cuda 12.1 support
# Current Version: pytorch 2.1.2 with cuda 12.1 support
RUN pip3 install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cu121

RUN pip3 install --no-cache-dir cmake
Expand Down

0 comments on commit 2ac1d62

Please sign in to comment.