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 2020/11/23 20:24:45 UTC

[GitHub] [incubator-tvm] tqchen edited a comment on pull request #6959: [CONTRIB] PopenPoolExecutor

tqchen edited a comment on pull request #6959:
URL: https://github.com/apache/incubator-tvm/pull/6959#issuecomment-732405908


   In that case the function will need to be registered at the startup time of libtvm (since the popen worker also import tvm during startup). Otherwise it won't be available in the subprocess. Closures can still be passed via cloudpickle.  To make registeration of any place work we will need to use fork (since multiprocessing + spawn only works with registeration in global scope as well).
   
   This is not a general purpose pool, but could be used to solve the particular problem of tir compilation when we most of the control the behavior inside the tvm
   


----------------------------------------------------------------
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:
users@infra.apache.org