-
Notifications
You must be signed in to change notification settings - Fork 650
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
Support ARM64 platform in TensorFlow examples #2119
Conversation
Signed-off-by: akhilsaivenkata <akhilammu1@gmail.com>
Pull Request Test Coverage Report for Build 9163985221Details
💛 - Coveralls |
@tenzen-y , the check is failing because 'libhdf5.so' library is missing in the build environment. So do we need to make any changes to the docker file or is there any workaround? |
Yes, feel free to address that issue. I'm suspecting if bumping tf version would resolve the issue. |
Here we are using python 3.9 as base image and we are facing issue with tensor flow installation :https://github.com/kubeflow/training-operator/blob/master/examples/tensorflow/distribution_strategy/keras-API/Dockerfile For remaining tensor flow examples we are using tensorflow as base image which would come with all its dependencies. Is there any reason for using python as base image for the above case? |
Signed-off-by: akhilsaivenkata <akhilammu1@gmail.com>
Hi @tenzen-y , All checks are successful for this PR, Could you please review and possibly merge the pull request if everything is in order? Thank you for your time and assistance. |
@@ -1,5 +1,7 @@ | |||
FROM python:3.9 | |||
|
|||
RUN apt-get update && apt-get install -y libhdf5-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RUN apt-get update && apt-get install -y libhdf5-dev | |
RUN apt-get update \ | |
&& apt-get install -y libhdf5-dev \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* |
Should we make the container image lightweight?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely @tenzen-y !! Thanks for the suggestion. I will definitely make these changes and make it light weight.
Signed-off-by: akhilsaivenkata <akhilammu1@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tenzen-y The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it: Support ARM64 platform in TensorFlow examples
Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...
format, will close the issue(s) when PR gets merged):Fixes #2112
Checklist: