masahi commented on PR #14396:
URL: https://github.com/apache/tvm/pull/14396#issuecomment-1494021130

   
https://github.com/apache/tvm/blob/unity/src/relax/transform/run_codegen.cc#L105
   
   Maybe we shouldn't use the original function's `ret_struct_info` there. 
After `RunCodegen`, it indeed references a dubious sym var:
   ```
   @R.function                                                                  
                                                                        
   def main(x: R.Tensor((1, 1, 16, 15), dtype="float16"), y: R.Tensor((3, 2, 
"a", 15, 2), dtype="float16")) -> R.Tensor((3, 2, "a", 16, 2), dtype="float
   16"):                                                                     
       a = T.int64()                                                         
       a_1 = T.int64()                                                       
       with R.dataflow():                                                       
                                                                        
           gv = R.call_dps_packed("fused_relax_matmul_cutlass", (x, y), 
out_sinfo=R.Tensor((3, 2, a_1, 16, 2), dtype="float16"))                     
         R.output(gv)                                                      
       return   
   ```


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