mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
fix Dockerfile for submodules
This commit is contained in:
parent
6a4ec4f9a8
commit
9defb8e653
|
|
@ -26,6 +26,7 @@ RUN conda install --name pytorch-py35 -c soumith magma-cuda80
|
|||
WORKDIR /opt/pytorch
|
||||
COPY . .
|
||||
|
||||
RUN git submodule update --init
|
||||
RUN TORCH_CUDA_ARCH_LIST="3.5 5.2 6.0 6.1+PTX" TORCH_NVCC_FLAGS="-Xfatbin -compress-all" \
|
||||
CMAKE_PREFIX_PATH="$(dirname $(which conda))/../" \
|
||||
pip install -v .
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user