-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[Testing only] Add python cycle detection #143204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
This is just a test PR to see how bad things go.
The detection works as expected and test_torch and test_autograd have been fixed.
Unfortunately we leak a lot more objects than I expected and enabling this is going to be a challenge.
Based on the CI results here, I will most likely make this an opt-in and only enable it on the relevant core and Dynamo tests we care about and fix those.
Stack from ghstack (oldest at bottom):