[2/N] Remove unused header inclusion (#165831)

Remove unused header inclusion in JIT code and other locations.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165831
Approved by: https://github.com/ngimel, https://github.com/albanD
This commit is contained in:
Yuanyuan Chen
2025-11-28 00:54:57 +00:00
committed by PyTorch MergeBot
parent 088048f2fe
commit 9cd055e547
185 changed files with 3 additions and 462 deletions

View File

@@ -3,7 +3,6 @@
#include <c10/cuda/CUDAFunctions.h>
#include <c10/util/env.h>
#include <c10/util/irange.h>
#include <cuda_runtime.h>
#include <memory>
#include <string>

View File

@@ -2,7 +2,6 @@
#include <c10/cuda/CUDADeviceAssertionHost.h>
#include <c10/util/Exception.h>
#include <cuda_runtime.h>
#include <string>

View File

@@ -1,6 +1,5 @@
#include <c10/cuda/CUDAMiscFunctions.h>
#include <c10/util/env.h>
#include <cuda_runtime.h>
#include <string>
namespace c10::cuda {