From 289470f0a75677314c3d9e8fcc60d06b1e9cdb2b Mon Sep 17 00:00:00 2001 From: dafeliton Date: Sun, 29 Dec 2024 00:46:13 -0800 Subject: [PATCH] final changes --- images/scipy-ml-notebook/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/images/scipy-ml-notebook/Dockerfile b/images/scipy-ml-notebook/Dockerfile index 0fd407a1..487f367e 100644 --- a/images/scipy-ml-notebook/Dockerfile +++ b/images/scipy-ml-notebook/Dockerfile @@ -80,13 +80,16 @@ RUN pip install --no-cache-dir \ torch==${TORCH_VERSION} \ torchvision \ torchaudio \ - --index-url https://download.pytorch.org/whl/cu124 + --index-url https://download.pytorch.org/whl/cu124 && \ + fix-permissions $CONDA_DIR && \ + fix-permissions /home/$NB_USER && \ + mamba clean -a -y -RUN pip install tensorflow==$TENSORFLOW_VERSION tensorflow-datasets tensorrt==$TENSORRT_VERSION keras==$KERAS_VERSION tf-keras==$TENSORFLOW_VERSION && \ +RUN pip install --no-cache-dir \ + tensorflow==$TENSORFLOW_VERSION tensorflow-datasets tensorrt==$TENSORRT_VERSION keras==$KERAS_VERSION tf-keras==$TENSORFLOW_VERSION && \ fix-permissions $CONDA_DIR && \ fix-permissions /home/$NB_USER && \ - mamba clean -a -y && \ - pip cache purge + mamba clean -a -y RUN pip install transformers datasets accelerate huggingface-hub timm && \ fix-permissions $CONDA_DIR && \