KellenSunderland edited a comment on issue #12116: Excessive memory allocation 
without static_alloc
URL: 
https://github.com/apache/incubator-mxnet/issues/12116#issuecomment-412082735
 
 
   I ran the follow code:
   ```python
   import mxnet as mx
   import gluoncv
   from time import sleep
   
   net = gluoncv.model_zoo.get_model('cifar_resnet20_v1', pretrained=True, 
ctx=mx.gpu(0))
   net.hybridize()
   sleep(10)
   ```
   
   With commit ed203047573db7681feb5631901a609e6e074971 I observed a GPU memory 
usage of 2.5GB.  Re-running the same test with commit  
98a41af52a2c7cb9e30a6cf81796d431212f217d I observe a memory usage of 2.5GB

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to