Profiling and inspecting memory in pytorch
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
Stonesjtu opened this issue 4 years ago · comments
The tensor_name and tensor_device mapping dict maintains a reference to the key / value tensor, which prevents python collecting unused tensors.
tensor_name
tensor_device
Fixed in #18