From 956c4d9ecb132c5cf1cc0a194010367ee54f94ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Jes=C3=BAs?= Date: Mon, 20 Nov 2023 15:47:17 +0100 Subject: [PATCH] feat (JupyterHub): Uploaded DL frameworks images from base. --- .../pth-cuda12.2-cudnn8-py3.11/Dockerfile | 30 +++++++++++++++++++ .../pth-cuda12.2-cudnn8-py3.11/README.md | 8 +++++ .../requirements.txt | 12 ++++++++ .../tf-cuda12.2-cudnn8-py3.11/Dockerfile | 30 +++++++++++++++++++ .../tf-cuda12.2-cudnn8-py3.11/README.md | 8 +++++ .../requirements.txt | 10 +++++++ 6 files changed, 98 insertions(+) create mode 100644 jupyterhub/pth-cuda12.2-cudnn8-py3.11/Dockerfile create mode 100644 jupyterhub/pth-cuda12.2-cudnn8-py3.11/README.md create mode 100644 jupyterhub/pth-cuda12.2-cudnn8-py3.11/requirements.txt create mode 100644 jupyterhub/tf-cuda12.2-cudnn8-py3.11/Dockerfile create mode 100644 jupyterhub/tf-cuda12.2-cudnn8-py3.11/README.md create mode 100644 jupyterhub/tf-cuda12.2-cudnn8-py3.11/requirements.txt diff --git a/jupyterhub/pth-cuda12.2-cudnn8-py3.11/Dockerfile b/jupyterhub/pth-cuda12.2-cudnn8-py3.11/Dockerfile new file mode 100644 index 0000000..60835d0 --- /dev/null +++ b/jupyterhub/pth-cuda12.2-cudnn8-py3.11/Dockerfile @@ -0,0 +1,30 @@ +# syntax=docker/dockerfile:1.3-labs + +FROM ghcr.io/ertis-research/jupyterhub-base-cuda12.2-cudnn8-py3.11:main + +ARG DEBIAN_FRONTEND=noninteractive + +USER root + +COPY requirements.txt /tmp/requirements.txt + +RUN pip install --no-cache-dir -r /tmp/requirements.txt + +ARG NB_USER="ertis" + +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +ENV HOME="/home/${NB_USER}" + +RUN chsh -s /bin/bash + +USER ${NB_UID} + +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +RUN <> ~/.bashrc + echo "alias cat='batcat'" >> ~/.bashrc +EOF + +WORKDIR "${HOME}" \ No newline at end of file diff --git a/jupyterhub/pth-cuda12.2-cudnn8-py3.11/README.md b/jupyterhub/pth-cuda12.2-cudnn8-py3.11/README.md new file mode 100644 index 0000000..fd756bc --- /dev/null +++ b/jupyterhub/pth-cuda12.2-cudnn8-py3.11/README.md @@ -0,0 +1,8 @@ +# Base GPU Jupyter notebook image for Jupyter hub + +Based on the [Jupyter Docker Stacks](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html) project and [Zonca's JupyterHub JetStream Deploy](https://github.com/zonca/jupyterhub-deploy-kubernetes-jetstream/blob/master/gpu/nvidia-tensorflow-jupyterhub/fix-permissions) + +Please visit the project documentation site for help to use and contribute to this image and others. + +- [Jupyter Docker Stacks on ReadTheDocs](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html) +- [Selecting an Image :: Core Stacks :: jupyter/docker-stacks-foundation](https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#jupyter-docker-stacks-foundation) diff --git a/jupyterhub/pth-cuda12.2-cudnn8-py3.11/requirements.txt b/jupyterhub/pth-cuda12.2-cudnn8-py3.11/requirements.txt new file mode 100644 index 0000000..88197b1 --- /dev/null +++ b/jupyterhub/pth-cuda12.2-cudnn8-py3.11/requirements.txt @@ -0,0 +1,12 @@ +numpy==1.26.2 +scipy==1.11.4 +matplotlib==3.8.2 +Pillow==10.1.0 +scikit-learn==1.3.2 +pandas==2.1.3 +plotly==5.18.0 +requests==2.31.0 +opencv-python==4.8.1.78 +torch==2.1.1 +torchvision==0.16.1 +torchaudio==2.1.1 \ No newline at end of file diff --git a/jupyterhub/tf-cuda12.2-cudnn8-py3.11/Dockerfile b/jupyterhub/tf-cuda12.2-cudnn8-py3.11/Dockerfile new file mode 100644 index 0000000..60835d0 --- /dev/null +++ b/jupyterhub/tf-cuda12.2-cudnn8-py3.11/Dockerfile @@ -0,0 +1,30 @@ +# syntax=docker/dockerfile:1.3-labs + +FROM ghcr.io/ertis-research/jupyterhub-base-cuda12.2-cudnn8-py3.11:main + +ARG DEBIAN_FRONTEND=noninteractive + +USER root + +COPY requirements.txt /tmp/requirements.txt + +RUN pip install --no-cache-dir -r /tmp/requirements.txt + +ARG NB_USER="ertis" + +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +ENV HOME="/home/${NB_USER}" + +RUN chsh -s /bin/bash + +USER ${NB_UID} + +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +RUN <> ~/.bashrc + echo "alias cat='batcat'" >> ~/.bashrc +EOF + +WORKDIR "${HOME}" \ No newline at end of file diff --git a/jupyterhub/tf-cuda12.2-cudnn8-py3.11/README.md b/jupyterhub/tf-cuda12.2-cudnn8-py3.11/README.md new file mode 100644 index 0000000..fd756bc --- /dev/null +++ b/jupyterhub/tf-cuda12.2-cudnn8-py3.11/README.md @@ -0,0 +1,8 @@ +# Base GPU Jupyter notebook image for Jupyter hub + +Based on the [Jupyter Docker Stacks](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html) project and [Zonca's JupyterHub JetStream Deploy](https://github.com/zonca/jupyterhub-deploy-kubernetes-jetstream/blob/master/gpu/nvidia-tensorflow-jupyterhub/fix-permissions) + +Please visit the project documentation site for help to use and contribute to this image and others. + +- [Jupyter Docker Stacks on ReadTheDocs](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html) +- [Selecting an Image :: Core Stacks :: jupyter/docker-stacks-foundation](https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#jupyter-docker-stacks-foundation) diff --git a/jupyterhub/tf-cuda12.2-cudnn8-py3.11/requirements.txt b/jupyterhub/tf-cuda12.2-cudnn8-py3.11/requirements.txt new file mode 100644 index 0000000..dec818a --- /dev/null +++ b/jupyterhub/tf-cuda12.2-cudnn8-py3.11/requirements.txt @@ -0,0 +1,10 @@ +numpy==1.26.2 +scipy==1.11.4 +matplotlib==3.8.2 +Pillow==10.1.0 +scikit-learn==1.3.2 +pandas==2.1.3 +plotly==5.18.0 +requests==2.31.0 +opencv-python==4.8.1.78 +tensorflow==2.15.0