junrushao commented on code in PR #15720:
URL: https://github.com/apache/tvm/pull/15720#discussion_r1322242570


##########
src/relax/transform/fuse_tir.cc:
##########
@@ -848,6 +848,14 @@ std::vector<size_t> GetTupleAccessedIndices(const 
FunctionNode* func, const Var&
 class TIRFuseMutator : public ExprMutator {
  public:
   static IRModule Transform(const IRModule& mod) {
+    Map<String, BaseFunc> tir_funcs;

Review Comment:
   This changes allows TIRs with global symbols to be preserved if they are not 
called by relax - this is useful for the shard loader.



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