ciflow/rocm-mi300/194958: Drop unused includes across ATen, c10 and torch/csrc
- PyTorch: 114 events in the last 90 days
- PyTorch: 113th Release in the last 90 days
- Previous: earlier the same day · trunk/88bb71a5c62743868032d53b6ac9291520642396: Move expandable_segments() out of the header (#194872)
What happened
Found by running clang-tidy's misc-include-cleaner over compile_commands.json (the check is disabled in .clang-tidy and not part of lintrunner's config). Raw results were filtered by excluding umbrella headers still needed for re-exported symbols (Tensor.h, ATen.h, Functions.h, etc.), recompiling each file with the flagged include removed, and cross-checking gcc -E line markers so includes reached only from inactive…
Summary assembled by rule from the sources below