Lunderberg commented on PR #77:
URL: https://github.com/apache/tvm-rfcs/pull/77#issuecomment-1163616169

   > For example, we may introduce explicit cache stage to add the padding, and 
mark this block for later processing.
   
   Wouldn't that require a "remove entirely" annotation that was suggested 
against 
[here](https://github.com/apache/tvm-rfcs/pull/77#issuecomment-1163019805)?  I 
could see how we could mark a transformation to be hoisted out later, but when 
some simplifications require the constraint to be expressed in the producer, 
and others in the consumer, exposing it to both `PrimFuncs` for local 
simplifications would require either duplication of the block, or maintaining 
non-local information only for a single pass.  If the stage is duplicated, all 
but one of the duplicates would need to be marked as temporary.  If the 
information is only retained for a single pass, then any 
scheduling/optimization of a single subgraph would require walking through the 
entire end-to-end model.


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