minminsun commented on a change in pull request #6297:
URL: https://github.com/apache/incubator-tvm/pull/6297#discussion_r477107266
##########
File path: python/tvm/auto_scheduler/measure.py
##########
@@ -419,7 +419,7 @@ def timed_func():
try:
sch, args = task.compute_dag.apply_steps_from_state(
- inp.state)
+ inp.state, layout_rewrite=True)
Review comment:
Whether to do layout rewrite or not for an op is specified by attr
layout_free_placeholders in compute definition, so it's safe to set True by
default here.
----------------------------------------------------------------
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]