Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Install classy-vision by default in torchelastic/… (#14)
Browse files Browse the repository at this point in the history
Summary:
Valiated docker build

```
VERSION=0.1.0.dev1
docker build -t torchelastic/examples:$VERSION . --build-arg BASE_IMAGE=pytorch/elastic:$VERSION
```
Pull Request resolved: #14

Differential Revision: D18824375

Pulled By: kiukchung

fbshipit-source-id: eb731e72012cea8ad8c0ed54b835097de5c4ab55
  • Loading branch information
Kiuk Chung authored and facebook-github-bot committed Dec 5, 2019
1 parent cdc8b4e commit 0fd1b10
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions examples/Dockerfile
Expand Up @@ -5,12 +5,7 @@ ARG WITH_CLASSY_VISION=1

# install utilities and dependencies
RUN pip install awscli --upgrade

RUN if [ "$WITH_CLASSY_VISION" = "1" ]; then \
pip install classy-vision
else \
echo "building without ClassyVision" ; \
fi
RUN pip install classy-vision

WORKDIR /workspace
COPY . ./examples
Expand Down

0 comments on commit 0fd1b10

Please sign in to comment.