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
Update of --config=mkl_aarch64 with Compute Library support #47775
Update of --config=mkl_aarch64 with Compute Library support #47775
Conversation
This PR introduces the support of Compute Library for the Arm Architecture (ACL) as part of Bazel build. Signed-off-by: Aleksandr Nikolaev <aleksandr.nikolaev@arm.com>
@agramesh1 @gzmkl please have a look. |
@alenik01 Can you please resolve conflicts? Thanks! |
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
@gbaned, GitHub GUI for the conflict resolution fails to pass google-cla bot for some reason. Would force push be the best way to proceed here? |
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.
Thanks @alenik01 for the PR.
Also some of the files have missing newlines, can you fix those.
@alenik01 Can you please check @agramesh1's comments and keep us posted ? Thanks! |
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 for the PR! I have minor comments.
third_party/compute_library/BUILD
Outdated
deps = ["arm_compute_core"], | ||
|
||
visibility = ["//visibility:public"], | ||
) |
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.
Nit: Please add a new line at the end of file. Same for other files.
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.
Since this PR doesn't seem to need any more significant changes, I'm going to approve this now and make the remaining minor fixes myself to save time. Thank you again for the PR!
@penpornk,
thus I removed it. May you please advise on the possible fix of "Illegal ambiguous match on configurable attribute"? The only new LICENSE file which this PR adds is in
The tests were performed with |
@penpornk, the new fix 37c1f29 actually excludes
I am now building TF to test. |
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
Done. |
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 very much!
Hi @penpornk sorry for the confusion. This commit 37c1f29 broke the oneDNN builds due to ambiguous definitions of We verified that this change fixes it. Let me know if you can make the change or should we submit a PR. Thanks.
|
@agramesh1 Thank you for the patch! I'll make the change. @googlebot I've verified that all the commits are from the same github user. Manually setting CLA to yes. |
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
The fix is in. 5eabb16 No need to resolve merge conflicts again. I've already pulled this PR in and running tests internally. |
Thanks everyone for sorting this out! |
… backend Related to issue tensorflow#47415 and PR tensorflow#47775. Adding support for caching inner product primitives. Includes patch file for oneDNN to include inner product, eltwise primitives and updates to ACL thread binding.
Related to issue tensorflow#47415 and PR tensorflow#47775. Adding support for caching matmul primitives. Updates onednn_acl_primitives.patch to include matmul primitives.
Related to issue tensorflow#47415 and PR tensorflow#47775. Adding support for caching matmul primitives. Updates onednn_acl_primitives.patch to include matmul primitives.
Related to issue tensorflow#47415 and PR tensorflow#47775. Adding support for caching matmul primitives. Updates onednn_acl_primitives.patch to include matmul primitives.
This PR introduces the support of Compute Library for the Arm Architecture (ACL) as part of Bazel build for
mkl_aarch64
build config. The code was developed together with @joeramsayThe PR is related to