Skip to content

Add mpi4py to pip installs #185

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
Apr 30, 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
5 changes: 3 additions & 2 deletions docker/1.12.0/Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,12 @@ RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py && \
ARG framework_installable
ARG framework_support_installable=sagemaker_tensorflow_container-2.0.0.tar.gz

COPY $framework_installable tensorflow-1.12.0-py2.py3-none-any.whl
COPY $framework_installable tensorflow-1.12.0-py2.py3-none-any.whl
COPY $framework_support_installable .

RUN pip install --no-cache-dir -U \
keras==2.2.4 \
mpi4py==3.0.1 \
"sagemaker-tensorflow>=1.12,<1.13" && \
# Let's install TensorFlow separately in the end to avoid
# the library version to be overwritten
Expand All @@ -89,4 +90,4 @@ RUN pip install --no-cache-dir -U \
markdown \
tensorboard

ENV SAGEMAKER_TRAINING_MODULE sagemaker_tensorflow_container.training:main
ENV SAGEMAKER_TRAINING_MODULE sagemaker_tensorflow_container.training:main
1 change: 1 addition & 0 deletions docker/1.12.0/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ COPY $framework_support_installable .

RUN pip install --no-cache-dir -U \
keras==2.2.4 \
mpi4py==3.0.1 \
$framework_support_installable \
"sagemaker-tensorflow>=1.12,<1.13" \
# Let's install TensorFlow separately in the end to avoid
Expand Down