Skip to content

Conversation

@LoserCheems
Copy link
Collaborator

Eliminate unnecessary ATen CUDA generator imports to reduce compilation dependencies and enhance build efficiency.

Cleans up unnecessary ATen CUDA generator imports that are no longer referenced in the codebase.

Reduces compilation dependencies and improves build performance.
Copilot AI review requested due to automatic review settings August 11, 2025 09:58
@LoserCheems LoserCheems added the bug Something isn't working label Aug 11, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Removes unused CUDA generator includes from flash attention implementation to reduce compilation dependencies and improve build performance. The changes eliminate ATen CUDA generator imports that are not being utilized in the codebase.

  • Removes ATen/cuda/CUDAGeneratorImpl.h include from both header and implementation files
  • Removes ATen/cuda/detail/UnpackRaw.cuh include from the implementation file

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
csrc/src/flash.h Removes unused CUDAGeneratorImpl include from header file
csrc/flash_api.cpp Removes unused CUDA generator includes from implementation file

@LoserCheems LoserCheems merged commit bbeac61 into main Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants