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

   Prior to this commit, calling `FuseOpsByPattern` with 
`annotate_codegen=True` would cause an error when encountering a lambda 
function.  This was caused by the `CompositeFunctionAnnotator` asserting that 
all `relax::Function` encountered must have the `kComposite` attribute.  While 
this is true for all lambda functions produced by `FuseOpsByPattern`, the user 
may have defined other lambda functions as well.
   
   This commit updates `CompositeFunctionAnnotator` to ignore lambda functions 
that do not have a `kComposite` attribute.


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

Reply via email to