Skip to content
Open
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
12 changes: 6 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04 as builder
FROM nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04 as builder

RUN apt-get update && \
apt-get install -y --no-install-recommends \
Expand Down Expand Up @@ -77,21 +77,21 @@ RUN cd python && \
python3 -m pip --no-cache-dir install -r install_requirements.txt && \
python3 setup.py bdist_wheel --dist-dir $CTRANSLATE2_ROOT

FROM nvidia/cuda:12.2.2-base-ubuntu22.04
FROM nvidia/cuda:12.4.1-base-ubuntu22.04

# We remove the cuda-compat package because it conflicts with the CUDA Enhanced Compatibility.
# See e.g. https://github.com/NVIDIA/nvidia-docker/issues/1515
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libcublas-12-2 \
libcudnn8=8.9.7.29-1+cuda12.2 \
libnccl2=2.19.3-1+cuda12.2 \
libcublas-12-4 \
libcudnn9-cuda-12 \
libnccl2 \
libopenmpi3=4.1.2-2ubuntu1 \
openmpi-bin \
libgomp1 \
python3-pip \
&& \
apt-get purge -y cuda-compat-12-2 && \
apt-get purge -y cuda-compat-12-4 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

Expand Down
Loading