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/08/20 18:16:33 UTC
[GitHub] fighting-liu opened a new issue #12255: Pretty high cpu load when
import mxnet
fighting-liu opened a new issue #12255: Pretty high cpu load when import mxnet
URL: https://github.com/apache/incubator-mxnet/issues/12255
When i import mxnet in 8 processes simultaneously, all cpu resources will be used and the program stagnates for almost 5 minutes.
It works fine 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.
----------------------------------------------------------------
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