Skip to content

Pin Horovod version #218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/1.13.1/Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ ARG framework_support_installable=sagemaker_tensorflow_container-2.0.0.tar.gz
COPY $framework_support_installable .
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"

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

# Some TF tools expect a "python" binary
RUN ln -s $(which ${PYTHON}) /usr/local/bin/python
Expand All @@ -98,7 +98,7 @@ RUN ${PIP} install --no-cache-dir -U \
# the library version to be overwritten
${PIP} install --force-reinstall --no-cache-dir -U \
${TF_URL} \
horovod && \
horovod==0.16.4 && \
${PIP} install --no-cache-dir -U $framework_support_installable && \
rm -f $framework_support_installable && \
${PIP} uninstall -y --no-cache-dir \
Expand Down
2 changes: 1 addition & 1 deletion docker/1.13.1/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ RUN ${PIP} install --no-cache-dir -U \

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

# Allow OpenSSH to talk to containers without asking for confirmation
Expand Down