Skip to content

Commit 14c1ce6

Browse files
Merge pull request #125 from iot-salzburg/v1.5_cuda-12.0_ubuntu-22.04
V1.5 cuda 12.0 ubuntu 22.04
2 parents 0aa2fac + 8193b52 commit 14c1ce6

File tree

4 files changed

+80
-76
lines changed

4 files changed

+80
-76
lines changed

Diff for: .build/Dockerfile

+5-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# Use NVIDIA CUDA as base image and run the same installation as in the other packages.
99
# The version of cuda must match those of the packages installed in src/Dockerfile.gpulibs
10-
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
10+
FROM nvidia/cuda:12.0.1-cudnn8-runtime-ubuntu22.04
1111
LABEL authors="Christoph Schranz <[email protected]>, Mathematical Michael <[email protected]>"
1212
# This is a concatenated Dockerfile, the maintainers of subsequent sections may vary.
1313
RUN chmod 1777 /tmp && chmod 1777 /var/tmp
@@ -400,12 +400,11 @@ RUN mamba install --quiet --yes \
400400
# torchviz==0.0.2 --extra-index-url https://download.pytorch.org/whl/cu118
401401
RUN set -ex \
402402
&& buildDeps=' \
403-
torch==2.1.0 \
404-
torchvision==0.16.0 \
405-
torchaudio==2.1.0 \
406-
torchviz==0.0.2 \
403+
torch==2.1.2 \
404+
torchvision==0.16.2 \
405+
torchaudio==2.1.2 \
407406
' \
408-
&& pip install --no-cache-dir $buildDeps --extra-index-url https://download.pytorch.org/whl/cu118 \
407+
&& pip install --no-cache-dir $buildDeps \
409408
&& fix-permissions "${CONDA_DIR}" \
410409
&& fix-permissions "/home/${NB_USER}"
411410

0 commit comments

Comments
 (0)