junrushao opened a new pull request, #12895: URL: https://github.com/apache/tvm/pull/12895
This PR intends to refactor the existing tuning API into a new paradigm to enhance developer ergonomics. The original behavior assumes tuning is an end-to-end process that transforms an IRModule into a runtime Module. ```python def tune_relay(...) -> runtime.Module: ... ``` This PR refactors this behavior into two stages, i.e. tuning and compilation, where tuning is time-consuming, while compilation is supposed to be swift. ```python def tune_relay(...) -> Database: ... def compile_relay_with_database(...) -> runtime.Module: ... ``` The PR is intended to be open for at least one week as it's a significant change. -- 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]
