-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Enable Leak Sanitizer #154584
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
base: main
Are you sure you want to change the base?
Enable Leak Sanitizer #154584
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/154584
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 12a702e with merge base c699668 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchbot label "topic: not user facing" |
@pytorchbot rebase -b main |
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
Successfully rebased |
@pytorchbot rebase -b main |
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
Successfully rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was that a leak?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous run reported possible leaks here
torch/csrc/autograd/variable.h
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same, are these leaks?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous run reported possible leaks here, should be false positive. Nevertheless, the move avoids one copy operation.
146093b
to
7448128
Compare
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
@pytorchbot revert -m "Need to suppress more output" -c nosignal |
@pytorchbot successfully started a revert job. Check the current status here. |
This reverts commit c79c7bb. Reverted #154584 on behalf of https://github.com/cyyever due to Need to suppress more output ([comment](#154584 (comment)))
@cyyever your PR has been successfully reverted. |
6cd775a
to
85fa74a
Compare
Can you please post how much overhead does it add to the tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add an additional overhead this leak checker adds to the CI. Also, if we have this perhaps we should get rid of leak check jobs that we are running periodically?
2 more hours to run CI. |
2hr is pretty stiff, unfortunately. Not sure what I would do here though, I don't know what the current latency breakdown for CI is right now. |
@ezyang LSAN should be moved to periodic jobs. |
It enables Leak Sanitizer and also provides a suppression file.
Before LSAN, the longest ASAN job is around 52min; after LSAN the average ASAN job time is more than 2h 30min.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames