• Min Xu's avatar
    [bug]: not all CUDA memory is freed when model is deleted (#412) · e3035933
    Min Xu authored
    * [bug]: not all CUDA memory is freed when model is deleted
    
    * fixed memory leak
    
    - without this, peak memory will be high when more than one model
      is trained (i.e. first model leave staff around pushing up the
      peak memory when the second model runs)
    
    * addressed comments
    
    * fix
    
    * changelog
    e3035933
test_checkpoint_activations.py 4.27 KB