Skip to content

Commit f40f010

Browse files
authored
Add mpi4py to pip installs (#185)
1 parent 1b60209 commit f40f010

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docker/1.12.0/Dockerfile.cpu

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,12 @@ RUN curl -fSsL -O https://bootstrap.pypa.io/get-pip.py && \
7171
ARG framework_installable
7272
ARG framework_support_installable=sagemaker_tensorflow_container-2.0.0.tar.gz
7373

74-
COPY $framework_installable tensorflow-1.12.0-py2.py3-none-any.whl
74+
COPY $framework_installable tensorflow-1.12.0-py2.py3-none-any.whl
7575
COPY $framework_support_installable .
7676

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

92-
ENV SAGEMAKER_TRAINING_MODULE sagemaker_tensorflow_container.training:main
93+
ENV SAGEMAKER_TRAINING_MODULE sagemaker_tensorflow_container.training:main

docker/1.12.0/Dockerfile.gpu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ COPY $framework_support_installable .
112112

113113
RUN pip install --no-cache-dir -U \
114114
keras==2.2.4 \
115+
mpi4py==3.0.1 \
115116
$framework_support_installable \
116117
"sagemaker-tensorflow>=1.12,<1.13" \
117118
# Let's install TensorFlow separately in the end to avoid

0 commit comments

Comments
 (0)