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

[oneDNN] QuantizeV2 with bfloat16 Input #66085

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mdfaijul
Copy link
Contributor

Reopened the closed PR: #56613

This PR depends on #66082
It extends QuantizeV2 op for converting bfloat16 tensor to quantized tensor. It helps quantizing a model with bfloat16 and 8-bit integer mixed precisions, for example using Intel Neural Compressor (INC) tool (https://github.com/intel/neural-compressor).

@mdfaijul mdfaijul requested a review from penpornk as a code owner April 19, 2024 15:50
@google-ml-butler google-ml-butler bot added awaiting review Pull request awaiting review size:L CL Change Size: Large labels Apr 19, 2024
@github-actions github-actions bot added the kokoro:force-run Tests on submitted change label Apr 19, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Apr 19, 2024
@gbaned gbaned added the comp:mkl MKL related issues label Apr 22, 2024
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Apr 22, 2024
@gbaned
Copy link
Contributor

gbaned commented Apr 26, 2024

Hi @penpornk Can you please review this PR ? Thank you!

tensorflow/core/kernels/quantize_op_test.cc Outdated Show resolved Hide resolved
tensorflow/core/kernels/quantize_op_test.cc Outdated Show resolved Hide resolved
tensorflow/core/kernels/quantize_op_test.cc Outdated Show resolved Hide resolved
PR Queue automation moved this from Assigned Reviewer to Reviewer Requested Changes Apr 29, 2024
@github-actions github-actions bot added the kokoro:force-run Tests on submitted change label Apr 30, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Apr 30, 2024
@mdfaijul mdfaijul requested a review from cantonios April 30, 2024 17:36
@mdfaijul
Copy link
Contributor Author

@cantonios Thanks for reviewing this PR. I have addressed the comments. Please check.

PR Queue automation moved this from Reviewer Requested Changes to Approved by Reviewer Apr 30, 2024
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Apr 30, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Apr 30, 2024
@google-ml-butler google-ml-butler bot removed the ready to pull PR ready for merge process label May 2, 2024
@github-actions github-actions bot added the kokoro:force-run Tests on submitted change label May 2, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label May 2, 2024
@gbaned gbaned requested a review from cantonios May 3, 2024 03:30
@google-ml-butler google-ml-butler bot added the kokoro:force-run Tests on submitted change label May 3, 2024
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels May 13, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label May 13, 2024
@@ -21,30 +21,48 @@ limitations under the License.
#include "tensorflow/core/kernels/ops_testutil.h"
#include "tensorflow/core/kernels/ops_util.h"
#include "tensorflow/core/lib/core/status_test_util.h"
#include "tensorflow/core/lib/gtl/array_slice.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

tensorflow/core/kernels/quantize_op_test.cc:24:10: error: module //tensorflow/core/kernels:quantize_op_test does not depend on a module exporting 'tensorflow/core/lib/gtl/array_slice.h'
   24 | #include "tensorflow/core/lib/gtl/array_slice.h"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed it now. Thanks!

Copy link
Contributor

@cantonios cantonios left a comment

Choose a reason for hiding this comment

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

Our dependency checker is failing. See comment above.

PR Queue automation moved this from Approved by Reviewer to Reviewer Requested Changes May 13, 2024
@google-ml-butler google-ml-butler bot removed the ready to pull PR ready for merge process label May 14, 2024
@github-actions github-actions bot added the kokoro:force-run Tests on submitted change label May 14, 2024
@mdfaijul mdfaijul requested a review from cantonios May 14, 2024 15:27
@google-ml-butler google-ml-butler bot added the awaiting review Pull request awaiting review label May 14, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label May 14, 2024
PR Queue automation moved this from Reviewer Requested Changes to Approved by Reviewer May 14, 2024
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels May 14, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label May 14, 2024
@gbaned gbaned added ready to pull PR ready for merge process and removed awaiting review Pull request awaiting review ready to pull PR ready for merge process labels May 15, 2024
@mdfaijul
Copy link
Contributor Author

@cantonios Is there any other issues with this PR?

@penpornk penpornk added the kokoro:force-run Tests on submitted change label May 16, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label May 16, 2024
@gbaned gbaned added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Jun 5, 2024
@gbaned gbaned added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Jun 13, 2024
@keerthanakadiri keerthanakadiri added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:mkl MKL related issues ready to pull PR ready for merge process size:L CL Change Size: Large
Projects
PR Queue
  
Approved by Reviewer
Development

Successfully merging this pull request may close these issues.

None yet

6 participants