Is mx.nd.array thread safety?


#1

Assume that one thread is calling mx.nd.array to create NDarray, and another thread is calling mx.nd.array too. Is it safe? I realize that autograd is not thread safe, but I wonder that whether it is safe for other API.


#2

MXNet is in general not thread safe, so the creation and deletion of ndarrays must happen in the same thread. You can also find some more information in this thread: https://github.com/apache/incubator-mxnet/issues/12756