pengzhao-intel commented on issue #11977: Feature request: Enable or Disable 
MKL-DNN in MXNet via environment variable at module load time
URL: 
https://github.com/apache/incubator-mxnet/issues/11977#issuecomment-409794300
 
 
   @bhavinthaker This is a good idea for the performance optimization.
   
   As @srochel suggestions, the MKL-DNN is enabled by default, and you can 
switch it off to see the performance change. But switch all MKL-DNN on/off may 
don't have too much difference with the built binary w/ and w/o MKL-DNN . 
   
   One possible solution is to provide more fine level control (or 
auto-tuning), such as environment variable MXNET_MKLDNN_CONV_OFF=1, to turn 
on/off each MKL-DNN OP in the runtime. I think this aligns with @marcoabreu 's 
idea.
   
   In practice, the new feature will introduce lots of changes and we need more 
unit and coverage tests.
   We have to discuss the detailed plan.
   
   @zheng-da is there any impact for the subgraph if we change the OP in 
runtime?
   
   @TaoLv @zhennanqin
   
   

----------------------------------------------------------------
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