You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/07/17 17:01:46 UTC
[GitHub] junrushao1994 edited a comment on issue #3946: When predicting,
does mxnet provide thread-safe interface?
junrushao1994 edited a comment on issue #3946: When predicting, does mxnet provide thread-safe interface?
URL: https://github.com/apache/incubator-mxnet/issues/3946#issuecomment-405654342
@hqucms @eric-haibin-lin
For ThreadedEngine, I read the source code just now and believe that it is thread-safe. The Push API consists of 3 parts: bulk-related; dependency; PushToExecute. Bulk-related part is thread-local, so safe; The dependency and PushToExecute parts are designed to be thread-safe. Therefore, in conclusion I believe the ThreadedEngine is thread-safe.
I am not sure why our document says "Push APIs are not thread-safe" (https://mxnet.incubator.apache.org/architecture/overview.html). @tqchen Could you help confirm this?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
With regards,
Apache Git Services