DickJC123 commented on PR #21182:
URL: https://github.com/apache/mxnet/pull/21182#issuecomment-1440976684

   I went back to the repro python program given in 
https://github.com/apache/mxnet/issues/20959 and have verified that this PR 
does not inadvertently reintroduce the memory leak.  Output produced:
   ```
   num_workers: 0 epoch 0: current gpu memory 1.334716796875 GB, Total gpu 
memory 15.78173828125 GB.                                      num_workers: 0 
epoch 1: current gpu memory 1.334716796875 GB, Total gpu memory 15.78173828125 
GB.                                      num_workers: 0 epoch 2: current gpu 
memory 1.334716796875 GB, Total gpu memory 15.78173828125 GB.
   num_workers: 0 epoch 3: current gpu memory 1.334716796875 GB, Total gpu 
memory 15.78173828125 GB.
   num_workers: 0 epoch 4: current gpu memory 1.334716796875 GB, Total gpu 
memory 15.78173828125 GB.                                      num_workers: 4 
epoch 0: current gpu memory 1.334716796875 GB, Total gpu memory 15.78173828125 
GB.                                      num_workers: 4 epoch 1: current gpu 
memory 1.334716796875 GB, Total gpu memory 15.78173828125 GB.
   num_workers: 4 epoch 2: current gpu memory 1.334716796875 GB, Total gpu 
memory 15.78173828125 GB.                                      num_workers: 4 
epoch 3: current gpu memory 1.334716796875 GB, Total gpu memory 15.78173828125 
GB.                                      num_workers: 4 epoch 4: current gpu 
memory 1.334716796875 GB, Total gpu memory 15.78173828125 GB.                   
                   num_workers: 8 epoch 0: current gpu memory 1.334716796875 
GB, Total gpu memory 15.78173828125 GB.
   num_workers: 8 epoch 1: current gpu memory 1.334716796875 GB, Total gpu 
memory 15.78173828125 GB.
   num_workers: 8 epoch 2: current gpu memory 1.334716796875 GB, Total gpu 
memory 15.78173828125 GB.
   num_workers: 8 epoch 3: current gpu memory 1.334716796875 GB, Total gpu 
memory 15.78173828125 GB.
   num_workers: 8 epoch 4: current gpu memory 1.334716796875 GB, Total gpu 
memory 15.78173828125 GB.  
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to