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:
[email protected]