log.info(string) causes torch memory leak (?) in python 3.11
Closed this issue · 0 comments
152334H commented
Putting this up solely as a public notice, in case anyone else encounters the same issue.
I've noticed that replacing all instances of picologigng.info(<some string>)
with a simple print(<some string>)
in my codebase resolves a torch cuda memory leak I've been debugging for a while. The same leak does not occur on a python 3.10 environment.
As it is not practically possible for me to isolate the code required to reproduce this issue, I will simply close this issue immediately after creating it. If the stars align and I obtain an isolated reproduction, I will re-open it.