comaniac commented on a change in pull request #6131:
URL: https://github.com/apache/incubator-tvm/pull/6131#discussion_r459777668
##########
File path: python/tvm/autotvm/task/relay_integration.py
##########
@@ -140,6 +140,11 @@ def extract_from_multiple_program(mods, params, target,
target_host=None, ops=No
build_thread.start()
build_thread.join()
relay.backend.compile_engine.get().clear()
+ # Clear the warning message cache in FallbackContext
+ from tvm.autotvm.task.dispatcher import DispatchContext,
FallbackContext
Review comment:
Could we move the import to the top of this file?
----------------------------------------------------------------
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:
[email protected]