jinhongyii commented on PR #16098: URL: https://github.com/apache/tvm/pull/16098#issuecomment-1804764722
I wouldn't call the behavior of the pass as a normal legalize, because this pass doesn't always translate relax op to call_tir. Depending on the resharding pattern, it may be translated to a ccl op, a list of ccl ops, or a call_tir. And for the user side, normally they don't want to legalize redistribute together with other ops. This LegalizeRedistribute is expected to be called every time a redistribute is created in some pass and serve as an epilogue. So I disagree changing to FLegalize -- 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]
