Skip to content

Commit 7207fe9

Browse files
authored
FROM nvcr.io/nvidia/pytorch:21.10-py3 (#5592)
1 parent 3883261 commit 7207fe9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license
22

33
# Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
4-
FROM nvcr.io/nvidia/pytorch:21.05-py3
4+
FROM nvcr.io/nvidia/pytorch:21.10-py3
55

66
# Install linux packages
77
RUN apt update && apt install -y zip htop screen libgl1-mesa-glx
@@ -11,8 +11,8 @@ COPY requirements.txt .
1111
RUN python -m pip install --upgrade pip
1212
RUN pip uninstall -y nvidia-tensorboard nvidia-tensorboard-plugin-dlprof
1313
RUN pip install --no-cache -r requirements.txt coremltools onnx gsutil notebook wandb>=0.12.2
14-
RUN pip install --no-cache -U torch torchvision numpy
15-
# RUN pip install --no-cache torch==1.9.1+cu111 torchvision==0.10.1+cu111 -f https://download.pytorch.org/whl/torch_stable.html
14+
RUN pip install --no-cache -U torch torchvision numpy Pillow
15+
# RUN pip install --no-cache torch==1.10.0+cu113 torchvision==0.11.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
1616

1717
# Create working directory
1818
RUN mkdir -p /usr/src/app

0 commit comments

Comments
 (0)