Skip to content
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

[INTEL MKL] MKL DNN v0.x cleanup - Reset MKL build config and remove DNN v0.x related macros #42339

Merged
merged 3 commits into from
Sep 10, 2020

Conversation

gzmkl
Copy link
Contributor

@gzmkl gzmkl commented Aug 13, 2020

This is the first PR for MKL DNN v0.x clean - for Tensorflow 2.4, only MKL DNN v1.x will be supported
(1) Reset MKL DNN related build config (mostly in third_part/mkl or mkl_dnn folder)
(2) Remove MKL DNN v0.x related macros in core/util/mkl_types.c
(3) Minor code style fix in one MKL kernel op.

There will be a sequence of PR's which will clean up all related MKL kernels ops.

@google-ml-butler google-ml-butler bot added the size:M CL Change Size: Medium label Aug 13, 2020
@gbaned gbaned self-assigned this Aug 14, 2020
@gbaned gbaned added the comp:mkl MKL related issues label Aug 14, 2020
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Aug 14, 2020
@gbaned gbaned requested a review from penpornk August 14, 2020 04:55
@gbaned gbaned added the awaiting review Pull request awaiting review label Aug 19, 2020
PR Queue automation moved this from Assigned Reviewer to Approved by Reviewer Aug 28, 2020
penpornk
penpornk previously approved these changes Aug 28, 2020
Copy link
Member

@penpornk penpornk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm so sorry for the delay, and thank you very much for the cleanup!

@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Aug 28, 2020
@penpornk penpornk removed the awaiting review Pull request awaiting review label Aug 28, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Aug 28, 2020
@gzmkl
Copy link
Contributor Author

gzmkl commented Aug 28, 2020

Thank you!
I will create a series of PR's to clean up all MKL kernel ops. For each op, remove 5-10% DNN 0.x code and replace MACRO's with actual DNN 1.x API's.

@penpornk
Copy link
Member

Sounds good to me. Thank you for the heads up! :)

@gbaned gbaned added the kokoro:force-run Tests on submitted change label Aug 28, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Aug 28, 2020
@gbaned
Copy link
Contributor

gbaned commented Aug 28, 2020

@gzmkl Can you please address Ubuntu Sanity errors? Thanks!

@gbaned gbaned removed the ready to pull PR ready for merge process label Aug 28, 2020
@gzmkl
Copy link
Contributor Author

gzmkl commented Aug 28, 2020

@gbaned. Hi, we just found that we (Intel) do not support "ngraph" bridge (third_party/ngraph) any more. We will soon support a new PR to clean away ngraph related configuration settings in Tensorflow. Once that PR is merged. This one will pass sanity check.

THANKS! -GZ

PR Queue automation moved this from Approved by Reviewer to Reviewer Requested Changes Aug 31, 2020
@gzmkl
Copy link
Contributor Author

gzmkl commented Aug 31, 2020

@gbaned I pushed a commit to fix ngraph build issue for this PR. We will continue to submit a new PR to remove ngraph bridge. But this PR will not pend on it. Thanks!

Copy link
Member

@penpornk penpornk left a 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 fix!

PR Queue automation moved this from Reviewer Requested Changes to Approved by Reviewer Aug 31, 2020
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Aug 31, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Aug 31, 2020
@tensorflow-copybara tensorflow-copybara merged commit 0a12fd0 into tensorflow:master Sep 10, 2020
PR Queue automation moved this from Approved by Reviewer to Merged Sep 10, 2020
tensorflow-copybara pushed a commit that referenced this pull request Sep 11, 2020
PR #42339: [INTEL MKL] MKL DNN v0.x cleanup - Reset MKL build config and remove DNN v0.x related macros

Imported from GitHub PR #42339

This is the first PR for MKL DNN v0.x clean - for Tensorflow 2.4, only MKL DNN v1.x will be supported
   (1) Reset MKL DNN related build config (mostly in third_part/mkl or mkl_dnn folder)
   (2) Remove MKL DNN v0.x related macros in core/util/mkl_types.c
   (3) Minor code style fix in one MKL kernel op.

There will be a sequence of PR's which will clean up all related MKL kernels ops.

PiperOrigin-RevId: 331205640
Change-Id: I2c3c3671fe8906a5dd18c6b017d05fc69a1e3f59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes comp:mkl MKL related issues ready to pull PR ready for merge process size:M CL Change Size: Medium
Projects
PR Queue
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

6 participants