Skip to content

Commit

Permalink
Pin the numpy version with v1.23.5 in the mxnet-mnist image
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Iwai <[email protected]>
  • Loading branch information
tenzen-y committed Dec 23, 2022
1 parent db72ce1 commit 4b364ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/v1beta1/trial-images/mxnet-mnist/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN apt-get -y update \
RUN if [ "${TARGETARCH}" = "arm64" ]; then \
/opt/mxnet-mnist/install-arm-performance-libraries.sh; \
fi
RUN pip install mxnet==1.9.1
RUN pip install -r requirements.txt
RUN chgrp -R 0 /opt/mxnet-mnist \
&& chmod -R g+rwX /opt/mxnet-mnist

Expand Down
5 changes: 5 additions & 0 deletions examples/v1beta1/trial-images/mxnet-mnist/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mxnet==1.9.1
# This is a workaround to avoid the following error.
# AttributeError: module 'numpy' has no attribute 'bool'
# See more: https://github.com/numpy/numpy/pull/22607
numpy==1.23.5

0 comments on commit 4b364ad

Please sign in to comment.