samskalicky edited a comment on issue #12255: Pretty high cpu load when import 
mxnet
URL: 
https://github.com/apache/incubator-mxnet/issues/12255#issuecomment-444966304
 
 
   Hi @larroy , setting that env var does seem to avoid the issue. Heres the 
testing with and without it:
   
   ```
   $ python parallel_test.py 
   1: 3.71833109856
   2: 2.17086696625
   3: 46.48721385
   
   ubuntu@ip-172-31-83-54:~$ export MXNET_USE_OPERATOR_TUNING=0
   ubuntu@ip-172-31-83-54:~$ python parallel_test.py 
   1: 0.798185110092
   2: 0.792401075363
   3: 0.818596124649
   ```
   
   Notice that in the 2nd run with the env var, that all runs take ~0.8 seconds
   
   @cjolivier01 what are the performance implications for setting this env var? 
Does it only affect non-MKL/MKLDNN operators executing on CPU context? 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to