jupyterlab-datascience-gpu/Dockerfile

15 lines
516 B
Docker
Raw Normal View History

2024-03-18 02:37:17 +00:00
FROM git.sandbox.iuk.hdm-stuttgart.de/grosse/jupyterlab-datascience:4.0.12d
2023-02-01 09:05:43 +00:00
# debian:bullseye-20230109-slim
ARG NB_USER="jovyan"
ARG NB_UID="1000"
2024-03-18 01:30:04 +00:00
ARG NB_GID="100"
2024-03-18 05:20:38 +00:00
ENV CONDA_CUDA_OVERRIDE="12.1"
2024-03-18 01:30:04 +00:00
ENV NUM_GPUS=1
2024-03-18 06:02:01 +00:00
USER root
2024-03-18 06:12:21 +00:00
RUN apt-get update --yes && \
apt-get install --yes --no-install-recommends \
2024-03-18 06:02:01 +00:00
ffmpeg \
libportaudio2 \
apt-get clean && rm -rf /var/lib/apt/lists/*
USER $NB_UID
2024-03-18 05:20:38 +00:00
RUN CONDA_OVERRIDE_CUDA="12.1" conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia