-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Enable clang-tidy on torch/csrc/distributed/autograd/* #137180
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
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/137180
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New Failures, 1 Unrelated FailureAs of commit 72e2c8a with merge base a3f3773 ( NEW FAILURES - The following jobs have failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
848bdb9
to
9128648
Compare
9128648
to
72e2c8a
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 |
@@ -216,6 +216,8 @@ include_patterns = [ | |||
'torch/csrc/*.cpp', | |||
'torch/csrc/**/*.h', | |||
'torch/csrc/**/*.cpp', |
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.
Hmm, quick question why doesn't
'torch/csrc/**/*.cpp' also cover 'torch/csrc/distributed/autograd/*.cpp'
, smells like a bug where **
isn't being expanded properly by lintrunner maybe?
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.
I think most of these issues are just because clang-tidy isn't new enough.
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.
Because it will trigger a clang-tidy bug to check "<cmath>"
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.
I think most of these issues are just because clang-tidy isn't new enough.
I had a PR to use clangtidy-18
Merge failedReason: 1 jobs have failed, first few of them are: linux-binary-manywheel / manywheel-py3_9-cuda12_4-test / test Details for Dev Infra teamRaised by workflow job |
@pytorchmergebot merge -f "std::filesystem symbols are unrelated." |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Enable clang-tidy on
torch/csrc/distributed/autograd/*
directory.cc @XilunWu @H-Huang @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o