jinhongyii opened a new pull request, #14218: URL: https://github.com/apache/tvm/pull/14218
The old anchor trace apply assumes that the prefix of the "new" outputs matches with the "old" outputs, which is not the case for some tasks in complex models. Also the old approach use block name to match corresponding blocks among the old module in database and the new module to apply trace on. In some cases, the block names may differ even though the block body are identical. In this PR, I maintain a block mapping between the old IRmodule and the new IRmodule, so that we can find the matching parts in both IRmodule with no assumptions of the relationship of their locations in IRModule. cc: @tqchen @junrushao @masahi -- 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]
