Skip to content

Commit 6ef2afa

Browse files
authored
Pin Horovod version (#218)
1 parent 0b937a9 commit 6ef2afa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker/1.13.1/Dockerfile.cpu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ ARG framework_support_installable=sagemaker_tensorflow_container-2.0.0.tar.gz
7575
COPY $framework_support_installable .
7676
ARG TF_URL="https://s3-us-west-2.amazonaws.com/tensorflow-aws/1.13/AmazonLinux/cpu/latest-patch-s3_testcopy.patch/tensorflow-1.13.1-cp36-cp36m-linux_x86_64.whl"
7777

78-
RUN ${PIP} --no-cache-dir install --upgrade pip setuptools
78+
RUN ${PIP} --no-cache-dir install --upgrade pip setuptools
7979

8080
# Some TF tools expect a "python" binary
8181
RUN ln -s $(which ${PYTHON}) /usr/local/bin/python
@@ -98,7 +98,7 @@ RUN ${PIP} install --no-cache-dir -U \
9898
# the library version to be overwritten
9999
${PIP} install --force-reinstall --no-cache-dir -U \
100100
${TF_URL} \
101-
horovod && \
101+
horovod==0.16.4 && \
102102
${PIP} install --no-cache-dir -U $framework_support_installable && \
103103
rm -f $framework_support_installable && \
104104
${PIP} uninstall -y --no-cache-dir \

docker/1.13.1/Dockerfile.gpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ RUN ${PIP} install --no-cache-dir -U \
140140

141141
# Install Horovod, temporarily using CUDA stubs
142142
RUN ldconfig /usr/local/cuda-10.0/targets/x86_64-linux/lib/stubs && \
143-
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_WITH_TENSORFLOW=1 ${PIP} install --no-cache-dir horovod && \
143+
HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_WITH_TENSORFLOW=1 ${PIP} install --no-cache-dir horovod==0.16.4 && \
144144
ldconfig
145145

146146
# Allow OpenSSH to talk to containers without asking for confirmation

0 commit comments

Comments
 (0)