Skip to content

Commit 4c403d0

Browse files
committed
fixed horovod setting for TensorFlow
1 parent d846209 commit 4c403d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python-tensorflow/Dockerfile.2.1-py36-cuda10.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ RUN python3 -m pip install --no-cache-dir \
6464
# Install Horovod, temporarily using CUDA stubs
6565
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
6666
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL \
67-
HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITH_PYTORCH=1 HOROVOD_WITH_MXNET=1 \
67+
HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITHOUT_PYTORCH=1 HOROVOD_WITHOUT_MXNET=1 \
6868
pip install --no-cache-dir horovod==0.19.0 && \
6969
ldconfig
7070

python-tensorflow/Dockerfile.2.2-rc0-py36-cuda10.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ RUN python3 -m pip install --no-cache-dir \
6464
# Install Horovod, temporarily using CUDA stubs
6565
RUN ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
6666
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL \
67-
HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITH_PYTORCH=1 HOROVOD_WITH_MXNET=1 \
67+
HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITHOUT_PYTORCH=1 HOROVOD_WITHOUT_MXNET=1 \
6868
pip install --no-cache-dir horovod==0.19.0 && \
6969
ldconfig
7070

0 commit comments

Comments
 (0)