You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/12/26 12:18:03 UTC

[GitHub] [incubator-mxnet] rrjia opened a new issue #19718: GPU memory cannot be released after MXPredFree

rrjia opened a new issue #19718:
URL: https://github.com/apache/incubator-mxnet/issues/19718


   Hi,
   
   I use the C++ APIs of MXNet to do some classification tasks. But I find that MXNet does not release GPU memory when calling MXPredFree(). When my program exits, all occupied GPU memory is released. So when I run my program, I can do classification just once, otherwise GPU memory is not enough. I think this is a very serious problem. I hope MXNet developers @tqchen @mli @piiswrong can look into this issue and resolve it ASAP. Thanks!
   
   The sequence of function calls is as follows:
   (1) MXPredCreate
   (2) MXPredSetInput
   (3) MXPredForward
   (4) MXPredGetOutput
   (5) MXPredFree
   
   after i call MXPredCreate the GPU memory will capture by mxnet, by i can not release gpu memory bu mxnet c_predict_api


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org


[GitHub] [incubator-mxnet] szha closed issue #19718: GPU memory cannot be released after MXPredFree

Posted by GitBox <gi...@apache.org>.
szha closed issue #19718:
URL: https://github.com/apache/incubator-mxnet/issues/19718


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org