tqchen opened a new pull request, #18761: URL: https://github.com/apache/tvm/pull/18761
This PR phases out alloc const node in the TIR. This node was oroginally introduced to include embedded weights into the allocation. However, the presence of the particular IR couples the data allocation and the weight placement, which is not as desirable especialy when weights get large. A better approach is to have extra annotation on the allocation and store weights separately either outside module or as part of module/function attribute. As a result, we phases out this node which can help us to simplify code logic in the codebase. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
