Skip to content

Commit

Permalink
Merge pull request #125 from iot-salzburg/v1.5_cuda-12.0_ubuntu-22.04
Browse files Browse the repository at this point in the history
V1.5 cuda 12.0 ubuntu 22.04
  • Loading branch information
ChristophSchranz authored Dec 16, 2023
2 parents 0aa2fac + 8193b52 commit 14c1ce6
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 76 deletions.
11 changes: 5 additions & 6 deletions .build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# Use NVIDIA CUDA as base image and run the same installation as in the other packages.
# The version of cuda must match those of the packages installed in src/Dockerfile.gpulibs
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
FROM nvidia/cuda:12.0.1-cudnn8-runtime-ubuntu22.04
LABEL authors="Christoph Schranz <christoph.schranz@salzburgresearch.at>, Mathematical Michael <consistentbayes@gmail.com>"
# This is a concatenated Dockerfile, the maintainers of subsequent sections may vary.
RUN chmod 1777 /tmp && chmod 1777 /var/tmp
Expand Down Expand Up @@ -400,12 +400,11 @@ RUN mamba install --quiet --yes \
# torchviz==0.0.2 --extra-index-url https://download.pytorch.org/whl/cu118
RUN set -ex \
&& buildDeps=' \
torch==2.1.0 \
torchvision==0.16.0 \
torchaudio==2.1.0 \
torchviz==0.0.2 \
torch==2.1.2 \
torchvision==0.16.2 \
torchaudio==2.1.2 \
' \
&& pip install --no-cache-dir $buildDeps --extra-index-url https://download.pytorch.org/whl/cu118 \
&& pip install --no-cache-dir $buildDeps \
&& fix-permissions "${CONDA_DIR}" \
&& fix-permissions "/home/${NB_USER}"

Expand Down
Loading

0 comments on commit 14c1ce6

Please sign in to comment.