Skip to content
Permalink
Browse files

PyTorch Dockerfile should update submodules recursively.

Summary: Pull Request resolved: #21216

Differential Revision: D15584114

Pulled By: bddppq

fbshipit-source-id: dbe0c3a54024a90fcd2c6689f8b9689ed0cd639b
  • Loading branch information...
xuhdev authored and facebook-github-bot committed May 31, 2019
1 parent 0aeb971 commit 4dbeb87e52982c2e1aecf901e6742fb9eb64c9c7
Showing with 1 addition and 1 deletion.
  1. +1 −1 docker/pytorch/Dockerfile
@@ -23,7 +23,7 @@ ENV PATH /opt/conda/bin:$PATH
WORKDIR /opt/pytorch
COPY . .

RUN git submodule update --init
RUN git submodule update --init --recursive
RUN TORCH_CUDA_ARCH_LIST="3.5 5.2 6.0 6.1 7.0+PTX" TORCH_NVCC_FLAGS="-Xfatbin -compress-all" \
CMAKE_PREFIX_PATH="$(dirname $(which conda))/../" \
pip install -v .

0 comments on commit 4dbeb87

Please sign in to comment.
You can’t perform that action at this time.