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/11/24 07:47:48 UTC

[GitHub] [incubator-tvm] merrymercy commented on a change in pull request #6965: [AutoScheduler] Fix task extraction

merrymercy commented on a change in pull request #6965:
URL: https://github.com/apache/incubator-tvm/pull/6965#discussion_r529263752



##########
File path: python/tvm/relay/backend/compile_engine.py
##########
@@ -186,6 +186,11 @@ def select_implementation(op, attrs, inputs, out_type, target, use_autotvm=True)
     all_impls = get_valid_implementations(op, attrs, inputs, out_type, target)
     best_plevel_impl = max(all_impls, key=lambda x: x.plevel)
 
+    # Disable autotvm if auto_scheduler is enabled.
+    # (i.e. always return the implementation with the highest priority for auto-scheduler).

Review comment:
       ```suggestion
       # (i.e., always return the implementation with the highest priority for auto-scheduler).
   ```




----------------------------------------------------------------
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