masahi commented on issue #13543:
URL: https://github.com/apache/tvm/issues/13543#issuecomment-1340313703

   If you look at the backtrace, you can see that the issue is coming from 
`AdvIndexRel`. And then you can look for the place where the downcast to 
`TensorType` occurs. It's here 
https://github.com/apache/tvm/blob/5d15428994fee408ed14807fad4362ef2d783d25/src/relay/op/tensor/transform.cc#L4074.
   
   `Partition` and `MergeComposite` serve different purposes, and they are 
intended to be used together like this 
https://github.com/apache/tvm/blob/d2f9f254d275df256dbcbc5a9f8b3a07cee1d81f/tests/python/relay/test_pass_partition_graph.py#L999-L1001.
 In particular, partition doesn't do pattern matching.


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