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 2017/11/21 17:28:15 UTC

[GitHub] whr94621 commented on issue #8747: Memory GPU leak with Gluon

whr94621 commented on issue #8747: Memory GPU leak with Gluon
URL: https://github.com/apache/incubator-mxnet/issues/8747#issuecomment-346100655
 
 
   I think a ndarray.waitall() is necessary after each batch. Gluon default uses lazy evaluation, if you don't print the loss, use asnumpy() or use a waitall(), gluon actually adds more data to computation graph instead of doing computation and release the memory.

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