Skip to content

Commit bbeac61

Browse files
authored
Remove unused CUDA generator includes for improved build performance
2 parents 802613e + 3ad89fc commit bbeac61

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

csrc/flash_api.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
#include <torch/nn/functional.h>
88
#include <c10/cuda/CUDAGuard.h>
99
#include <c10/cuda/CUDAStream.h>
10-
#include <ATen/cuda/CUDAGeneratorImpl.h> // For at::Generator and at::PhiloxCudaState
11-
#include <ATen/cuda/detail/UnpackRaw.cuh> // For at::cuda::philox::unpack
1210

1311
#include <cutlass/numeric_types.h>
1412

csrc/src/flash.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
#include <cuda.h>
1010
#include <vector>
1111

12-
#include <ATen/cuda/CUDAGeneratorImpl.h> // For at::Generator and at::PhiloxCudaState
13-
1412
namespace FLASH_NAMESPACE {
1513
constexpr int TOTAL_DIM = 0;
1614
constexpr int H_DIM = 1;

0 commit comments

Comments
 (0)