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 2020/09/07 21:32:20 UTC

[GitHub] [incubator-mxnet] ArmageddonKnight commented on pull request #18704: Re-enable the test_gpu_memory_profiler_gluon test case

ArmageddonKnight commented on pull request #18704:
URL: https://github.com/apache/incubator-mxnet/pull/18704#issuecomment-688516458


   @szha FYI, I have cleaned up the debugging traces and applied the fixes that we have discussed previously. The sample GPU memory profile for Gluon now looks like the following:
   
   ```
   "Attribute Name","Requested Size","Device","Actual Size","Reuse?"
   <unk>:in_arg:data,640,0,4096,0
   hybridsequential:activation0:hybridsequential_activation0_fwd,2048,0,4096,0
   hybridsequential:activation0:hybridsequential_activation0_fwd_backward,8192,0,8192,0
   hybridsequential:activation0:hybridsequential_activation0_fwd_head_grad,2048,0,4096,0
   hybridsequential:dense0:activation0:hybridsequential_dense0_activation0_fwd,8192,0,8192,0
   hybridsequential:dense0:arg_grad:bias,512,0,4096,0
   hybridsequential:dense0:arg_grad:weight,5120,0,8192,0
   hybridsequential:dense0:hybridsequential_dense0_fwd,8192,0,8192,0
   hybridsequential:dense0:in_arg:bias,512,0,4096,0
   hybridsequential:dense0:in_arg:weight,5120,0,8192,0
   hybridsequential:dense1:activation0:hybridsequential_dense1_activation0_fwd,4096,0,4096,0
   hybridsequential:dense1:arg_grad:bias,256,0,4096,0
   hybridsequential:dense1:arg_grad:weight,32768,0,32768,0
   hybridsequential:dense1:hybridsequential_dense1_fwd,4096,0,4096,0
   hybridsequential:dense1:in_arg:bias,256,0,4096,0
   hybridsequential:dense1:in_arg:weight,32768,0,32768,0
   hybridsequential:dense2:arg_grad:bias,128,0,4096,0
   hybridsequential:dense2:arg_grad:weight,8192,0,8192,0
   hybridsequential:dense2:hybridsequential_dense2_fwd_backward,4096,0,4096,1
   hybridsequential:dense2:in_arg:bias,128,0,4096,0
   hybridsequential:dense2:in_arg:weight,8192,0,8192,0
   hybridsequential:dropout0:hybridsequential_dropout0_fwd,8192,0,8192,0
   hybridsequential:dropout0:hybridsequential_dropout0_fwd,8192,0,8192,0
   resource:cudnn_dropout_state (dropout-inl.h +256),1474560,0,1474560,0
   resource:temp_space (fully_connected-inl.h +316),15360,0,16384,0
   ```
   
   Please let me know if you have any questions or concerns. Thank you.


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