Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove version dependent macros & extension specific arch flags except fmha#1918

Merged
crcrpar merged 5 commits into
masterfrom
cleanup-setup
Aug 21, 2025
Merged

Remove version dependent macros & extension specific arch flags except fmha#1918
crcrpar merged 5 commits into
masterfrom
cleanup-setup

Conversation

@crcrpar
Copy link
Copy Markdown
Collaborator

@crcrpar crcrpar commented Jul 16, 2025

  • versions related to version dependent macros are quite old
  • arch list should be handled through TORCH_CUDA_ARCH_LIST
  • fmha looks like a special case, still needs cc_flags

Copy link
Copy Markdown
Collaborator

@nWEIdia nWEIdia left a comment

Choose a reason for hiding this comment

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

If a user is not providing TORCH_CUDA_ARCH_LIST, what is the default that is being used?

@crcrpar
Copy link
Copy Markdown
Collaborator Author

crcrpar commented Jul 17, 2025

I think it'd be the arch of the visible cuda devices as they are pytorch cuda extensions

@crcrpar crcrpar requested a review from Copilot July 30, 2025 16:58

This comment was marked as outdated.

Copy link
Copy Markdown
Collaborator

@Aidyn-A Aidyn-A left a comment

Choose a reason for hiding this comment

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

Well, I really do like these changes. Less boilerplate, less headache. Thanks!

@crcrpar crcrpar marked this pull request as draft August 4, 2025 01:08
@crcrpar
Copy link
Copy Markdown
Collaborator Author

crcrpar commented Aug 4, 2025

Marking draft for now since some modules seem to need to be special cased

@crcrpar crcrpar marked this pull request as ready for review August 8, 2025 06:21
@crcrpar crcrpar requested review from Copilot and nWEIdia August 8, 2025 06:21

This comment was marked as outdated.

Copy link
Copy Markdown
Collaborator

@nWEIdia nWEIdia left a comment

Choose a reason for hiding this comment

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

Thanks for the improvement!

@crcrpar crcrpar changed the title Remove version dependent macros & extension specific arch flags Remove version dependent macros & extension specific arch flags except fro fmha Aug 21, 2025
@crcrpar crcrpar changed the title Remove version dependent macros & extension specific arch flags except fro fmha Remove version dependent macros & extension specific arch flags except fmha Aug 21, 2025
@crcrpar crcrpar merged commit 26bba57 into master Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants