jcf94 opened a new pull request #7156:
URL: https://github.com/apache/tvm/pull/7156


   AutoScheduler uses a cost model to guide the search search.
   
   We now have NO_REWRITE, INSERT_TRANSFORM_STAGE, REWRITE_FOR_PRE_TRANSFORMED 
three options when applying schedule from AutoScheduler.
   In my tests, if we set REWRITE_FOR_PRE_TRANSFORMED in program measuring, the 
final schedule we get will trend to perform better in 
REWRITE_FOR_PRE_TRANSFORMED mode. Though this schedule also works in other 
options, it will not perform the best performance if we would like to get a 
kernel with NO_REWRITE.
   
   This PR:
   1. Add a layout rewrite option for SearchTask, which will be passed to 
program measuring.
   2. This option will be set to NO_REWRITE in default, and 
REWRITE_FOR_PRE_TRANSFORMED when working in a end to end network task.
   3. Update the schedule for the inserted transform stage in option 
INSERT_TRANSFORM_STAGE, according to `python/tvm/topi/x86/injective.py`.


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


Reply via email to