Lunderberg opened a new pull request, #16120:
URL: https://github.com/apache/tvm/pull/16120

   Prior to this commit, the `FuseTIR` pass explicitly tracked usage of
   tuple arguments, to minimize the set of arguments provided to each
   kernel.  The additional tgracking and handling of partially-used
   tuples makes it difficult to follow the primary changes being made by
   `FuseTIR`.
   
   This commit implements the same functionality in terms of the
   `ExpandTupleArguments` and `RemoveUnusedParameters` transforms,
   introduced in https://github.com/apache/tvm/pull/16115 and
   https://github.com/apache/tvm/pull/16116 respectively.  By using these
   passes before the main `FuseOps` changes, partial tuple usage is
   already handled at that point.
   
   This commit is intended to minimize any changes to user-facing
   behavior, and so these pre-process passes are currently used
   internally by `FuseTIR`.  This may be avoided in the future by pulling
   this internal delegation out into a lowering pipeline.


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