vinx13 commented on issue #10831:
URL: https://github.com/apache/tvm/issues/10831#issuecomment-1093388804

   The issue here is `A_pack`, `B_pack` is allocated but not initialized. 
Without both writer and reader of the buffer being present, it cannot analyze 
the buffer shape and the allocation site correctly. We may want to add 
assertions in `PlanAndUpdateBufferAllocationLocation` make sure that buffer is 
initialized and avoid user confusion. cc @Hzfengsy 
   If you would like to keep buffer shape and allocation location as specified 
in TIR, you can disable `tir.CompactBufferAllocation` and 
`tir.PlanAndUpdateBufferAllocationLocation` passes. See also 
https://github.com/apache/tvm/issues/10877


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