You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/08/19 18:09:17 UTC

[GitHub] [tvm] shingjan commented on a change in pull request #8789: [CONTRIB] Allow customized initializer in PopenPool

shingjan commented on a change in pull request #8789:
URL: https://github.com/apache/tvm/pull/8789#discussion_r692369734



##########
File path: python/tvm/contrib/popen_pool.py
##########
@@ -153,6 +160,11 @@ def _start(self):
         self._reader = os.fdopen(main_read, "rb")
         self._writer = os.fdopen(main_write, "wb")
 
+        # init
+        if self._initializer is not None:
+            self.send(self._initializer, self._initargs)
+            self.recv()

Review comment:
       done




-- 
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-unsubscribe@tvm.apache.org

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