From 91e7719bf211e2279767604ff744eb79344af762 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 17 Feb 2022 15:09:58 +0100 Subject: [PATCH] Update Dockerfile reorder installs Also `nvidia-tensorboard-plugin-dlprof`, `nvidia-tensorboard` are no longer installed in NVCR base. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index af41757bc629..33f428e81b1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,9 @@ RUN apt update && apt install -y zip htop screen libgl1-mesa-glx # Install python dependencies COPY requirements.txt . RUN python -m pip install --upgrade pip -RUN pip uninstall -y nvidia-tensorboard nvidia-tensorboard-plugin-dlprof torch torchvision -RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook +RUN pip uninstall -y torch torchvision torchtext RUN pip install --no-cache torch==1.10.2+cu113 torchvision==0.11.3+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html +RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook # RUN pip install --no-cache -U torch torchvision # Create working directory