You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/11/08 13:58:09 UTC

[GitHub] [tvm] ibsidorenko opened a new pull request, #13323: [FQ2I] Disable rewrite of avg_pool2d op

ibsidorenko opened a new pull request, #13323:
URL: https://github.com/apache/tvm/pull/13323

   This commit fixes the following issue:
   For the sequence of ops qnn.dequantize -> avg_pool2d -> conv2d -> qnn.quantize FQ2I pass inserts qnn.requantize (or cast) to int32 unconditionally before avg_pool2d. As a result fake quantized qnn.conv2d gets input as int32 dtype, but it is forbidden for qnn.conv2d (supports only uint8/int8/int16).
   This commit disables such behavoir and support int8/uint8 as input dtype for avg_pool2d in compute function.
   
   Also this commit fixes bug[#12381](https://github.com/apache/tvm/issues/12381).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] ibsidorenko closed pull request #13323: [FQ2I] Disable rewrite of avg_pool2d op

Posted by GitBox <gi...@apache.org>.
ibsidorenko closed pull request #13323: [FQ2I] Disable rewrite of avg_pool2d op
URL: https://github.com/apache/tvm/pull/13323


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] tvm-bot commented on pull request #13323: [FQ2I] Disable rewrite of avg_pool2d op

Posted by GitBox <gi...@apache.org>.
tvm-bot commented on PR #13323:
URL: https://github.com/apache/tvm/pull/13323#issuecomment-1307261700

   <!---bot-comment-->
   
   Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from [Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers) by @-ing them in a comment.
   
   <!--bot-comment-ccs-start-->
    * No users to tag found in teams: `fq2i` <sub>See [#10317](https://github.com/apache/tvm/issues/10317) for details</sub><!--bot-comment-ccs-end-->
   
   <sub>Generated by [tvm-bot](https://github.com/apache/tvm/blob/main/ci/README.md#github-actions)</sub>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org