When i import mxnet in 8 processes simultaneously, all cpu resources will be used and the program stagnates for almost 5 minutes.
It works well for mxnet1.1 but failed for mxnet1.2 and mxnet1.3
Following is the sample code
import multiprocessing
def mxnet_worker():
print 'before import'
import mxnet
print 'after import'
read_process = [multiprocessing.Process(target=mxnet_worker) for i in range(8)]
for p in read_process:
p.daemon = True
p.start()
Any solution to this for mxnet1.2 and mxnet1.3? Thanks.
When i import mxnet in 8 processes simultaneously, all cpu resources will be used and the program stagnates for almost 5 minutes.
It works well for mxnet1.1 but failed for mxnet1.2 and mxnet1.3 Following is the sample code
Any solution to this for mxnet1.2 and mxnet1.3? Thanks.