Skip to content

Commit 93d3cc9

Browse files
authored
Updates Docker container to Cuda 12.4 (#1932)
1 parent 600880d commit 93d3cc9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docker/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04 as builder
1+
FROM nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04 as builder
22

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

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

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

0 commit comments

Comments
 (0)