AndrewZhaoLuo commented on code in PR #11094:
URL: https://github.com/apache/tvm/pull/11094#discussion_r855712750
##########
python/tvm/contrib/popen_pool.py:
##########
@@ -92,12 +92,18 @@ class PopenWorker:
initargs: Tuple[object]
A tuple of args for the initializer
+
+ maximum_uses: int or None
+ The maximum number of times a process can be used before being recycled
Review Comment:
Hmm, should there be more warning about what "recycling" means?
Like what if someone has a very stateful function and moving things to init
state is undesirable / unexpected
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]