Alexey-Yazev commented on PR #13428:
URL: https://github.com/apache/tvm/pull/13428#issuecomment-1325235697

   I suppose checking for the equality of `allocated_size` and `workspace_size` 
in test_networks.py is incorrect as when using cascader with enabled striping a 
proposal is selected with condition `proposal.memory_usage < workspace_size`,  
`allocated_size` and `proposal.memory_usage` are calculated differently 
(unified static memory planning is used to calculate `allocated_size` and 
`proposal.memory_usage` is calculated as the sum of all tensors, taking into 
account striping for  intermediate tensors)


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