nvcr.io/nvidia/pytorch:21.06-py3 (#3791)
parent
07166ba38c
commit
96c87f1711
|
@ -1,5 +1,5 @@
|
|||
# Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
|
||||
FROM nvcr.io/nvidia/pytorch:21.05-py3
|
||||
FROM nvcr.io/nvidia/pytorch:21.06-py3
|
||||
|
||||
# Install linux packages
|
||||
RUN apt update && apt install -y zip htop screen libgl1-mesa-glx
|
||||
|
@ -9,7 +9,7 @@ COPY requirements.txt .
|
|||
RUN python -m pip install --upgrade pip
|
||||
RUN pip uninstall -y nvidia-tensorboard nvidia-tensorboard-plugin-dlprof
|
||||
RUN pip install --no-cache -r requirements.txt coremltools onnx gsutil notebook
|
||||
RUN pip install --no-cache -U torch torchvision
|
||||
RUN pip install --no-cache torch==1.9.0+cu111 torchvision==0.10.0+cu111 -f https://download.pytorch.org/whl/torch_stable.html
|
||||
|
||||
# Create working directory
|
||||
RUN mkdir -p /usr/src/app
|
||||
|
|
Loading…
Reference in New Issue