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

   This PR fixes two bugs of FuseOps and FuseTIR:
   
   * it fixes FuseOps who only rewrites the "main" function of the IRModule. 
After the fix, FuseOps now goes through each non-primitive Relax function. Test 
cases for both FuseOps and FuseTIR sides are added so ensure that both of the 
two passes work for cases of multiple Relax functions.
   
   * it fixes FuseOps and FuseTIR who did not take "call_dps_packed" style 
"call_tir" into account. The previous behavior will directly downcast the first 
argument of "call_tir" to GlobalVar, which is not right when the "call_tir" is 
in "call_dps_packed" stype and the first argument is a PackedFunc. With this 
fix, FuseOps and FuseTIR will skip such "call_tir"s. Tests for both CallTIR and 
CallOps are added accordingly.


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