← Back to events
ActiveAIRelease

ciflow/rocm-mi300/194958: Drop unused includes across ATen, c10 and torch/csrc

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

Why it's spreading

Sources