Open JLenzy opened 1 month ago
What version of Python are you using? I've only seen this problem with Python 3.12. I've been trying to find what's causing these warnings, but haven't been able to pinpoint the exact problem. I agree that disabling these warnings would be a good idea first.
Currently on python 3.9
Could you try the version on the main branch? I havn't find the memory leak info of this new version.
And it would be better if you could find the minimum reproduction code. I'll add them to the tests
In the past week, I've been getting a huge increase in the number of nanobind leak messages. When trying to train a model (which is utilizing symusic via Miditok) it will finish with >1,000 leak messages from nanobind.
It makes troubleshooting rather difficult, as it occupies so much of the terminal's recent history that I need to go through logs just to see what are the actual errors in my python code.
From this documentation I see there is an option to suppress the messages on the C++ side. Any chance this could be done for the public releases?