tmoreau89 commented on a change in pull request #5417:
URL: https://github.com/apache/incubator-tvm/pull/5417#discussion_r416178024
##########
File path: python/tvm/autotvm/measure/local_executor.py
##########
@@ -145,6 +145,7 @@ def submit(self, func, *args, **kwargs):
if not self.do_fork:
return LocalFutureNoFork(func(*args, **kwargs))
+ # TODO why they choose a queue size of 2? add a comment
Review comment:
A quick git blame points to this:
https://github.com/apache/incubator-tvm/pull/1651
@merrymercy made the change with "The old queue size is too small. It will
stall the executor due to race condition." as comment
----------------------------------------------------------------
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]