giuseros opened a new pull request #8014: URL: https://github.com/apache/tvm/pull/8014
Mini-RFC is here: https://discuss.tvm.apache.org/t/mini-rfc-name-mangling-in-aot With this change we'll mangle the name of global symbols so that we can bundle together multiple models in the same application. The relay.build interface has been left unchanged, which means I am resuing mod_name as a prefix for all functions. If mod_name is None then a `_tvm` prefix is used. I had to add two different compilation functions: - `_CompileEngineLowerWithModuleName` to mangle all the operators with the mod_name - `PartitionGraphWithModName` to mangle all the operators produced by BYOC I could have changed signature of both, but that would have meant a very invasive refactoring. I refactored the aot test utils and added some tests for multiple models. Change-Id: I310af75c24e422861aeaceb3c3cd4cd602071df5 -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org