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

   This PR fixes an internal error #17488 
   
   This error happens because the visitor class StorageAllocatorBaseVisitor 
does not correctly handle DataflowBlockNode instances. Specifically, the 
VisitBindingBlock_ method is not overridden for DataflowBlockNode, leading to 
an empty block_stack_ when it is expected to contain the current block.
   
   To fix this issue, we need to override the VisitBindingBlock_ method for 
const DataflowBlockNode* in the StorageAllocatorBaseVisitor class. By doing so, 
we ensure that the block_stack_ is correctly managed when visiting dataflow 
blocks, similar to how it is managed for regular binding blocks.


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