Skip to content
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

Specify PyTorch version in use #664

Merged
merged 1 commit into from
Mar 31, 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 dockerfiles/ClipperDevDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ RUN pip install -q cloudpickle==0.5.* pyzmq==17.0.* requests==2.18.* subprocess3
xgboost==0.7.* jsonschema==2.6.* psutil==5.4.* prometheus_client

# Install PyTorch
RUN pip install -q http://download.pytorch.org/whl/cpu/torch-0.4.1-cp27-cp27mu-linux_x86_64.whl
RUN pip install -q torchvision
RUN pip install -q torch==1.0.* torchvision==0.2.*

# Install kubectl
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl \
Expand Down
3 changes: 1 addition & 2 deletions dockerfiles/ClipperPy35DevDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ RUN pip3 install cloudpickle==0.5.* pyzmq==17.0.* requests==2.18.* scikit-learn=
xgboost==0.7.*

# Install PyTorch
RUN pip3 install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp35-cp35m-linux_x86_64.whl
RUN pip3 install torchvision
RUN pip3 install torch==1.0.* torchvision==0.2.*

# Install kubectl
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/PyTorchContainerDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM ${REGISTRY}/${RPC_VERSION}-rpc:${CODE_VERSION}

LABEL maintainer="Dan Crankshaw <dscrankshaw@gmail.com>"

RUN pip install -q torch torchvision
RUN pip install -q torch==1.0.* torchvision==0.2.*

COPY containers/python/pytorch_container.py containers/python/container_entry.sh /container/

Expand Down