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 2019/02/26 00:13:29 UTC

[GitHub] vladoovtcharov commented on issue #14252: Allow releasing all gpu memory

vladoovtcharov commented on issue #14252: Allow releasing all gpu memory
URL: https://github.com/apache/incubator-mxnet/pull/14252#issuecomment-467237786
 
 
   Hi @szha, thanks for the feedback. I'm not sure if I completely understood though.
   If the user wanted the memory to be freed right away couldn't they use a non-pooled storage manager (i.e. storage::NaiveStorageManager<storage::GPUDeviceStorage>()) or did you have something else in mind? (Although currently there is no value for MXNET_GPU_MEM_POOL_TYPE that would do this)
   
   At least for my use case I was hoping to still use the memory pool/caching (for performance) but periodically pause and release the memory (so another process could use the gpu memory). I understand the release_all call could be expensive but it would not/should not be called regularly so overall it seems like it would effect performance less than using non pooled 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