mbrookhart commented on pull request #5791:
URL: https://github.com/apache/incubator-tvm/pull/5791#issuecomment-644241874


   @t-vi Interesting PR! Thank you for submitting it! I presume the use case 
for this is in  Transformer-like models? Do you see a perf benefit from the 
rewrite?
   
   > This might be off the topic. I think it's possible to use the pattern 
language to replace all "combine parallel XX op" passes. Maybe we could create 
an issue to check it.
   > 
   > cc @mbrookhart @tqchen
   
   I would imagine yes, it would be pretty easy to implement this as a pattern 
and a rewrite.  A pattern solution might have some complication though, I don't 
think we currently have a way to match something with 2 or 3 or 4 branches in 
the same pattern, it would require a number of patterns. I'll think about that.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to