mbrookhart commented on issue #12707:
URL: https://github.com/apache/tvm/issues/12707#issuecomment-1255479227

   Hi @honghuichao. I'm way behind on this, I think I see a fix.
   
   I did special handling for quantize and dequantize in the 
[extractor](https://github.com/apache/tvm/blob/195ae72b5c6f0df68fac41f7808d125d155a6345/src/relay/transforms/fake_quantization_to_integer.cc#L140-L161),
 but it seems that I forgot to handle the special case of quantize in the 
[mutator](https://github.com/apache/tvm/blob/195ae72b5c6f0df68fac41f7808d125d155a6345/src/relay/transforms/fake_quantization_to_integer.cc#L213-L220),
 so it's failing trying to rewrite the scale and zero point of the quantize, 
which is invalid.
   
   I've got a busy couple of days, but I'll see if I or someone else familiar 
with the pass can get a fix up soon. If you want to tackle it, go for it!


-- 
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-unsubscr...@tvm.apache.org

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

Reply via email to