-
Notifications
You must be signed in to change notification settings - Fork 264
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
Add a feature of UniformQDQ - support CV/NLP model's OPs, includingConv, DepthwiseConv2D, MatMul, etc. Additional op support be added upon request. #2155
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: zehao-intel <[email protected]>
Signed-off-by: Qun Gao <[email protected]>
Signed-off-by: Qun Gao <[email protected]>
Signed-off-by: Qun Gao <[email protected]>
Signed-off-by: Qun Gao <[email protected]>
Signed-off-by: Qun Gao <[email protected]>
Signed-off-by: Qun Gao <[email protected]>
Signed-off-by: Qun Gao <[email protected]>
Signed-off-by: Gao, Qun <[email protected]>
for more information, see https://pre-commit.ci
one general question, I saw the changes in both 2.x and 3.x folders, so this PR enables UniformQDQ supported in both 2.x and 3.x API? |
Thanks @thuang6 for the question! We ran it in new pythonic 3.x API, assuming compatibility with 2.x. We will confirm this shortly with @nhatleSummer22 |
loop in @ashahba and @mahmoud-abuzaina also. |
new feature is only expected to 3.x API. Please note, 3.x has separated packaging for each framework, TF 3.x packing is listed below, which only contains common & tensorflow folder under neural_compressor. If the function relies on code in other 2.x folders, it does not work. "neural_compressor_tf": { |
Supporting only 3.x API is fine, we don't really need to depend on 2.x API. |
Type of Change
A feature of UniformQDQ
Description
A feature of UniformQDQ
Expected Behavior & Potential Risk
Generate a UniformQDQ int8 model. No foreseeable risk.
How has this PR been tested?
This PR is tested on selected models with representative ops from image-classfication, object detection, and nlp.
Dependency Change?
Need Tensorflow with qunit8-support.
https://github.com/intel-innersource/frameworks.ai.tensorflow.private-tensorflow/tree/mabuzain/add-quint8-support