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 2021/01/08 01:35:04 UTC
[GitHub] [tvm] jcf94 commented on a change in pull request #7226: [AutoScheduler] Do not return naive schedule in tracing mode
jcf94 commented on a change in pull request #7226:
URL: https://github.com/apache/tvm/pull/7226#discussion_r553690488
##########
File path: python/tvm/auto_scheduler/relay_integration.py
##########
@@ -315,11 +315,10 @@ def auto_schedule_topi(outs):
new_key = json.dumps((new_dag.hash_key(),))
if new_key != key:
dispatch_ctx.update(target, new_key, state)
- return te.create_schedule([x.op for x in outs])
else:
raise ValueError("Invalid tracing mode: " + env.tracing_mode)
Review comment:
If program stop at this error exception, will the None return value take effect?
----------------------------------------------------------------
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