PyTorch 1.6.0 update with native AMP (#573)

pull/1/head
Glenn Jocher 5 years ago committed by GitHub
parent 60d5dc0294
commit 8bf3cff875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,9 @@
# Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch # Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
FROM nvcr.io/nvidia/pytorch:20.03-py3 FROM nvcr.io/nvidia/pytorch:20.03-py3
RUN pip install -U gsutil
# Install dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt gsutil
# Create working directory # Create working directory
RUN mkdir -p /usr/src/app RUN mkdir -p /usr/src/app
@ -9,9 +12,6 @@ WORKDIR /usr/src/app
# Copy contents # Copy contents
COPY . /usr/src/app COPY . /usr/src/app
# Install dependencies (pip or conda)
#RUN pip install -r requirements.txt
# Copy weights # Copy weights
#RUN python3 -c "from models import *; \ #RUN python3 -c "from models import *; \
#attempt_download('weights/yolov5s.pt'); \ #attempt_download('weights/yolov5s.pt'); \

Loading…
Cancel
Save