You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/07/23 23:13:23 UTC

[GitHub] [incubator-tvm] comaniac commented on a change in pull request #6131: [FIX] Fixes #6096

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:
users@infra.apache.org