MasterJH5574 commented on PR #16111:
URL: https://github.com/apache/tvm/pull/16111#issuecomment-1807227039

   @junrushao Just want to make sure I understand correctly: are you saying 
when called for multiple times, there will be multiple allocations of the 
output buffer? Yes there will indeed be multiple allocations if we do not use 
pool allocator or never release allocated buffers. I feel this behavior already 
exists when we do not allocate upper-bound size for the output tensor? The main 
purpose of this PR is to make the output tensor buffer size purely static, so 
that we can avoid memory fragmentation in runtime when using a pool allocator.


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