Skip to content

Commit

Permalink
FROM nvcr.io/nvidia/pytorch:22.01-py3 (ultralytics#6670)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher authored Feb 17, 2022
1 parent 32d8a39 commit 5dfb1e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# 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

# 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
Expand Down

0 comments on commit 5dfb1e9

Please sign in to comment.