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/06/23 04:21:54 UTC

[GitHub] jeremiedb opened a new pull request #11374: [MXNET-563] Refactor R optimizers to fix memory leak

jeremiedb opened a new pull request #11374: [MXNET-563] Refactor R optimizers to fix memory leak
URL: https://github.com/apache/incubator-mxnet/pull/11374
 
 
   Fix R memory leakage through refactor of the optimizers. 
   Given the mutatable NDArray isn't supported in R, optimizers have been ported as symbolic update, an executor being created for each weight. 
   
   ! Only optimizers update symbols have been used for now, so only SGD, rmsprop and Adam are now supported. Will need to reimplement the manual update for Adagrad and Adadelta. 
   
   Memory is now kept at low level even for very large networks and embeddings. 
   Tested on CPU and single GPU, not multiple GPUs. 

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