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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
