samskalicky commented 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 @@@@@@@@@@@@@@@@@@@@@@@@@@@@ 9.53674316406e-07 [] @@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3.71833109856 [3.710209846496582] @@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2.17086696625 [2.157684087753296, 2.163522958755493] @@@@@@@@@@@@@@@@@@@@@@@@@@@@ 46.48721385 [46.32008194923401, 46.411561012268066, 46.47846508026123] 0: total=3.718331 times=[3.710, ] 1: total=2.170867 times=[2.158, 2.164, ] 2: total=46.487214 times=[46.320, 46.412, 46.478, ] ubuntu@ip-172-31-83-54:~$ export MXNET_USE_OPERATOR_TUNING=0 ubuntu@ip-172-31-83-54:~$ python parallel_test.py @@@@@@@@@@@@@@@@@@@@@@@@@@@@ 9.53674316406e-07 [] @@@@@@@@@@@@@@@@@@@@@@@@@@@@ 0.798185110092 [0.789729118347168] @@@@@@@@@@@@@@@@@@@@@@@@@@@@ 0.792401075363 [0.7646389007568359, 0.7817361354827881] @@@@@@@@@@@@@@@@@@@@@@@@@@@@ 0.818596124649 [0.7206861972808838, 0.7826080322265625, 0.8098070621490479] 0: total=0.798185 times=[0.790, ] 1: total=0.792401 times=[0.765, 0.782, ] 2: total=0.818596 times=[0.721, 0.783, 0.810, ] Notice that in the 2nd run with the env var, that all runs take ~0.8 seconds
---------------------------------------------------------------- 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
