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:37:16 UTC

[GitHub] [tvm] comaniac commented on a change in pull request #7226: [AutoScheduler] Do not return naive schedule in tracing mode

comaniac commented on a change in pull request #7226:
URL: https://github.com/apache/tvm/pull/7226#discussion_r553691384



##########
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:
       No, but if it reaches to this point then it must be something wrong with the code, because we should not expect an invalid tracing mode.




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