cee1 commented on a change in pull request #10650:
URL: https://github.com/apache/tvm/pull/10650#discussion_r829737945
##########
File path: python/tvm/autotvm/task/topi_integration.py
##########
@@ -231,14 +239,27 @@ def _decorate(topi_schedule):
@_register_task_schedule(task_name)
def wrapper(outs, *args, **kwargs):
"""wrapper function for topi schedule"""
- workload = get_workload(outs, task_name)
+ task_env = TaskExtractEnv.current
+ if GLOBAL_SCOPE.tune_subgraph and task_env is not None and not
task_env.tracing:
+ # get workload of subgraph
Review comment:
May add an explanation for this `get_workload_post_order(...)`, why
necessary?
--
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]