wikier commented on issue #12746: Add env flag to disable MKLDNN cache 
(MXNET_MKLDNN_CACHE_ENABLED)
URL: https://github.com/apache/incubator-mxnet/pull/12746#issuecomment-431495155
 
 
   Confirmed the new env variable helps to mitigate the memory issue we've seen.
   
   Roughly, because it's be very network-dependent, for us going from 
`MXNET_MKLDNN_CACHE_SIZE=512` to `MXNET_MKLDNN_CACHE_SIZE=128` gives a 55% 
memory saving for a 7% performance loss.

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