Skip to content

Installing tochvision from official pip wheel #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docker/1.2.0/py2/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ RUN conda install -c pytorch magma-cuda100==2.5.1 && \
requests==2.22.0 && \
conda clean -ya

ARG PYTORCH_VERSION=1.2.0
ARG TORCHVISION_VERSION=0.4.0
WORKDIR /opt/pytorch

Expand All @@ -84,7 +83,7 @@ ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"

RUN pip install --no-cache-dir https://pytorch-deep-learning-container.s3.amazonaws.com/torch-1.2.0-cp27-cp27mu-linux_x86_64.whl
RUN pip install --no-cache-dir https://pytorch-deep-learning-container.s3.amazonaws.com/torchvision-0.4.0-cp27-cp27mu-linux_x86_64.whl
RUN pip install torchvision==$TORCHVISION_VERSION

WORKDIR /root

Expand Down
4 changes: 1 addition & 3 deletions docker/1.2.0/py3/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ RUN conda install -c pytorch magma-cuda100==2.5.1 && \
requests==2.22.0 && \
conda clean -ya


ARG PYTORCH_VERSION=1.2.0
ARG TORCHVISION_VERSION=0.4.0
WORKDIR /opt/pytorch

Expand All @@ -85,7 +83,7 @@ ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"

RUN pip install --no-cache-dir https://pytorch-deep-learning-container.s3.amazonaws.com/torch-1.2.0-cp36-cp36m-linux_x86_64.whl
RUN pip install --no-cache-dir https://pytorch-deep-learning-container.s3.amazonaws.com/torchvision-0.4.0-cp36-cp36m-linux_x86_64.whl
RUN pip install torchvision==$TORCHVISION_VERSION

WORKDIR /root

Expand Down