glenn-jocher commited on
Commit
96c87f1
·
unverified ·
1 Parent(s): 07166ba

nvcr.io/nvidia/pytorch:21.06-py3 (#3791)

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
2
- FROM nvcr.io/nvidia/pytorch:21.05-py3
3
 
4
  # Install linux packages
5
  RUN apt update && apt install -y zip htop screen libgl1-mesa-glx
@@ -9,7 +9,7 @@ COPY requirements.txt .
9
  RUN python -m pip install --upgrade pip
10
  RUN pip uninstall -y nvidia-tensorboard nvidia-tensorboard-plugin-dlprof
11
  RUN pip install --no-cache -r requirements.txt coremltools onnx gsutil notebook
12
- RUN pip install --no-cache -U torch torchvision
13
 
14
  # Create working directory
15
  RUN mkdir -p /usr/src/app
 
1
  # Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
2
+ FROM nvcr.io/nvidia/pytorch:21.06-py3
3
 
4
  # Install linux packages
5
  RUN apt update && apt install -y zip htop screen libgl1-mesa-glx
 
9
  RUN python -m pip install --upgrade pip
10
  RUN pip uninstall -y nvidia-tensorboard nvidia-tensorboard-plugin-dlprof
11
  RUN pip install --no-cache -r requirements.txt coremltools onnx gsutil notebook
12
+ RUN pip install --no-cache torch==1.9.0+cu111 torchvision==0.10.0+cu111 -f https://download.pytorch.org/whl/torch_stable.html
13
 
14
  # Create working directory
15
  RUN mkdir -p /usr/src/app