[1/N] Remove unused header inclusion (#165763)

This PR removes unused header inclusion in C++ files.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165763
Approved by: https://github.com/Skylion007
This commit is contained in:
Yuanyuan Chen
2025-10-18 05:23:07 +00:00
committed by PyTorch MergeBot
parent b8194268a6
commit 0f0b4bf029
15 changed files with 1 additions and 21 deletions

View File

@ -5,7 +5,6 @@
#include <c10/util/Exception.h>
#include <c10/util/FileSystem.h>
#include <c10/util/thread_name.h>
#include <caffe2/utils/threadpool/WorkersPool.h>
#include <torch/csrc/distributed/c10d/control_plane/WorkerServer.hpp>
#include <torch/csrc/distributed/c10d/logging.h>

View File

@ -1,6 +1,5 @@
#include <torch/csrc/autograd/function.h>
#include <torch/csrc/profiler/collection.h>
#include <torch/csrc/profiler/kineto_shim.h>
#include <torch/csrc/profiler/util.h>
#include <c10/util/ArrayRef.h>