-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Bug fix] prevent squashing pair u8 dequantize -> s8 quantize #39346
[Bug fix] prevent squashing pair u8 dequantize -> s8 quantize #39346
Conversation
Thanks for your contribution! |
please do not merge yet I want to add unit tests, there seems to be a perf regression |
0450a68
to
2e7192d
Compare
if (dequant_in->inputs[0]->IsOp()) { | ||
auto prev_op = dequant_in->inputs[0]->Op(); | ||
std::string act_name; | ||
std::cout << "prev_op->Type(): " << prev_op->Type() << std::endl; |
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.
Please don't use std::cout
.
I was comparing to wrong baseline. There shouldn't be a problem with this PR. |
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.
LGTM
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.
Great job, LGTM
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.
LGTM
Hi @sfraczek, QA found that this pr caused the |
Thank you very much for pointing this out, I will investigate this test. I am already looking into what this PR caused. I made one follow up fix to an error that was not caught by our unit tests in #39593. |
I have reverted the change that caused this PTQ lstm problem on pr #39593. |
PR types
Bug fixes
PR changes
Others
Describe