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

   Prior to this commit, debug functions were generated with 
`relax.call_pure_packed`.  This resulted in unexpected behavior, as 
`nn.op.print_` can be optimized away as a pure function.
   
   This commit updates debug functions to be generated as impure functions.  
This requires removing the `with bb.dataflow()` blocks in the SLM-to-relax 
conversions, as impure functions may not be used in a dataflow block.  To 
restore dataflow blocks when legal, the `ConvertToDataflow` pass is applied.


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