Skip to content

Commit

Permalink
Fix models gpu legacy image (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedingber committed Oct 13, 2020
1 parent f0618fd commit 4a13f97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dockerfiles/models-gpu/py36/Dockerfile
Expand Up @@ -118,8 +118,10 @@ RUN conda install -n base -c pytorch pytorch torchvision cudatoolkit=10.1

RUN conda clean -aqy

# TODO: MAKEFLAGS="-j1" work around some transient concurrency problem with installing horovod remove it when
# possible (should be safe to remove if it works ~5 times without it)
RUN ldconfig /usr/local/cuda-10.1/targets/x86_64-linux/lib/stubs && \
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITH_PYTORCH=1 \
MAKEFLAGS="-j1" HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITH_PYTORCH=1 \
python -m pip install horovod && \
ldconfig

Expand Down

0 comments on commit 4a13f97

Please sign in to comment.