File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ RUN conda install -c pytorch magma-cuda100==2.5.1 && \
75
75
requests==2.22.0 && \
76
76
conda clean -ya
77
77
78
- ARG PYTORCH_VERSION=1.2.0
79
78
ARG TORCHVISION_VERSION=0.4.0
80
79
WORKDIR /opt/pytorch
81
80
@@ -84,7 +83,7 @@ ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
84
83
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"
85
84
86
85
RUN pip install --no-cache-dir https://pytorch-deep-learning-container.s3.amazonaws.com/torch-1.2.0-cp27-cp27mu-linux_x86_64.whl
87
- RUN pip install --no-cache-dir https://pytorch-deep-learning-container.s3.amazonaws.com/ torchvision-0.4.0-cp27-cp27mu-linux_x86_64.whl
86
+ RUN pip install torchvision==$TORCHVISION_VERSION
88
87
89
88
WORKDIR /root
90
89
Original file line number Diff line number Diff line change @@ -75,8 +75,6 @@ RUN conda install -c pytorch magma-cuda100==2.5.1 && \
75
75
requests==2.22.0 && \
76
76
conda clean -ya
77
77
78
-
79
- ARG PYTORCH_VERSION=1.2.0
80
78
ARG TORCHVISION_VERSION=0.4.0
81
79
WORKDIR /opt/pytorch
82
80
@@ -85,7 +83,7 @@ ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
85
83
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"
86
84
87
85
RUN pip install --no-cache-dir https://pytorch-deep-learning-container.s3.amazonaws.com/torch-1.2.0-cp36-cp36m-linux_x86_64.whl
88
- RUN pip install --no-cache-dir https://pytorch-deep-learning-container.s3.amazonaws.com/ torchvision-0.4.0-cp36-cp36m-linux_x86_64.whl
86
+ RUN pip install torchvision==$TORCHVISION_VERSION
89
87
90
88
WORKDIR /root
91
89
You can’t perform that action at this time.
0 commit comments