Skip to content
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

Install horovod 0.27 for tensorflow 2.11 support #883

Merged
merged 1 commit into from
Mar 28, 2023
Merged
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: 4 additions & 0 deletions docker/dockerfile.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ COPY --chown=1000:1000 --from=dlfw /usr/local/bin/horovodrun /usr/local/bin/horo

# Need to install transformers after tensorflow has been pulled in, so it builds artifacts correctly.
RUN pip install --no-cache-dir transformers==4.26.0
# Install horovod with pip because tensorflow:22.02 has horovod 0.26 which is incompatible with TF 2.11.
# This can be removed when TF container has horovod >= 0.27.
RUN HOROVOD_GPU_OPERATIONS=NCCL HOROVOD_WITH_TENSORFLOW=1 pip install --no-cache-dir horovod==0.27.0 && \
horovodrun --check-build

# Install HugeCTR
# Arguments "_XXXX" are only valid when $HUGECTR_DEV_MODE==false
Expand Down