wkcn edited a comment on issue #13199: Namescope is None when hybridize in multi-threading environment. AttributeError: 'NoneType' object has no attribute '__exit__' URL: https://github.com/apache/incubator-mxnet/issues/13199#issuecomment-470043007 @kohillyang In my opinion, supporting multi-threading in Python will drop the performance, because we need to add locks to keep thread-safety. I think it's better to use multi-process in Python, which has GIL and create a fake multi-threading. We could pass NDArray object through Pipe, e.g. [Gluon DataLoader](https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/gluon/data/dataloader.py#L98) Could you please provide some projects which use multi-threading to optimize a network? We may support multi-threading in Python if it is necessary. Thank you! Similar PR: https://github.com/apache/incubator-mxnet/pull/10833/
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services