AndrewZhaoLuo opened a new pull request, #11632:
URL: https://github.com/apache/tvm/pull/11632

   See https://github.com/apache/tvm/pull/11618 for old discussion
   
   These funcs used building during the tuning process now inherit PassContext 
so we can inject things like pass instrumentation into the build process during 
tuning.
   
   Note, due to the fact subprocesses are used for building by default, we 
can't naively do something like 
   
   ```
   with PassContext(...):
      tune()
   ```
   since new processes will not inherit the parents context.
   
   But what does allow us to do is wrap the existing build functions with new 
PassContexts and call those instead making it a little more extensible.


-- 
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: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to