You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/08/24 06:01:01 UTC

[GitHub] cuteding opened a new issue #7588: Why a same code's GPU version cost more memory than CPU version?

cuteding opened a new issue #7588: Why a same code's GPU version cost more memory than CPU version?
URL: https://github.com/apache/incubator-mxnet/issues/7588
 
 
   I made a very simple network using mxnet(two fc layers with dim of 512).
   
   By changing the ctx = mx.cpu() or ctx = mx.gpu(0), I run the same code on both CPU and GPU.
   
   The memory cost of GPU is much bigger than CPU version.(I checked that using top instead of nvidia-smi).
   
   It seems strange, as the GPU version also has memory on GPU already, why GPU still need more space on memory?
   
   
   (line 1 is CPU program / line 2 is GPU program)
 
----------------------------------------------------------------
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