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/10/09 16:14:40 UTC

[GitHub] [incubator-tvm] tkonolige edited a comment on issue #6650: Ansor support for multiprocessing spawn

tkonolige edited a comment on issue #6650:
URL: https://github.com/apache/incubator-tvm/issues/6650#issuecomment-706271838


   These lines are the issue: https://github.com/apache/incubator-tvm/blob/master/python/tvm/auto_scheduler/measure.py#L63-L66. The globals are not propagated to the child process when using spawn. The inputs cannot current be passed as arguments to pool.map because they are not serializable. A lot of the auto_scheduling data structures do not expose all of their members via visitattrs, so they do no serialize correctly (some also contain pointers, so they might not serialize period).
   
   @tqchen Not sure what you mean by starting a separate RPC server?


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