FrozenGene opened a new pull request #4344: [ThreadPool] Solve thread 
transitions issue
URL: https://github.com/apache/incubator-tvm/pull/4344
 
 
   This pr solved thread transitions issue. 
   
   When we use OpenCV + TVM, we will occur much thread transitions so that 
OpenCV + TVM is slow. Auto tuning has issue too. The reason is we bind task 0 
to master cpu by default.
   
   More detail / background and reproduce test case: 
https://discuss.tvm.ai/t/use-tvm-darknet-to-detect-vidoes-after-relay-build-module-build-cv2-ops-cost-much-more-time/4730/
   
   After this PR, we don't bind task 0 to master cpu by default but export one 
environment `TVM_EXCLUDE_WORKER0` to set. If users set `TVM_EXCLUDE_WORKER0` be 
1, we will bind task 0 to master as previous.
   
   @vinx13 @yidawang @tqchen 

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


With regards,
Apache Git Services

Reply via email to