DiffDRR icon indicating copy to clipboard operation
DiffDRR copied to clipboard

Dynamically delete tensors during DRR generation

Open eigenvivek opened this issue 2 years ago • 1 comments

Once a large tensor like alpha, alphamids or step_length is no longer necessary, it should be deleted to free up memory on the GPU

This would also potentially allow us to overcome memory issues for large DRRs

eigenvivek avatar Jul 21 '22 21:07 eigenvivek

Can try using the pytorch profiler: https://pytorch.org/tutorials/beginner/profiler.html

eigenvivek avatar Aug 01 '22 21:08 eigenvivek