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/09/29 19:03:00 UTC

[GitHub] [tvm] mbrookhart commented on issue #12882: [Bug] TOpPattern attr of qnn op discussion.

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

   You can't compile a qnn model at Opt level 0, there are no default kernels for the qnn ops. Instead they are lowered to standard relay ops via [qnn canocialize and legalize](https://github.com/apache/tvm/blob/main/python/tvm/relay/qnn/transform.py), which use the relay Legalize pass, which is registered for [Opt Level 1](https://github.com/apache/tvm/blob/813136401a11a49d6c15e6013c34dd822a5c4ff6/src/relay/transforms/legalize.cc#L104)


-- 
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