From bb054d5f55bed7db80cdb5aa837bb96f80b7dbcc Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 17 Feb 2022 14:20:42 +0100 Subject: [PATCH] FROM nvcr.io/nvidia/pytorch:22.01-py3 (#6670) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a5526189cd9e..f38028e329a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # YOLOv5 🚀 by Ultralytics, GPL-3.0 license # Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch -FROM nvcr.io/nvidia/pytorch:21.10-py3 +FROM nvcr.io/nvidia/pytorch:22.01-py3 # Install linux packages RUN apt update && apt install -y zip htop screen libgl1-mesa-glx @@ -9,7 +9,7 @@ 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 +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 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 -U torch torchvision