Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Oct 2, 2025

Warn that PTX builds are not currently supported (post #8845), currently if there is a +PTX in TORCH_CUDA_ARCH_LIST this will be ignored.

Referencing this issue: #9129 Just adding a warning

cc @LucasWilkinson

@WorldExplored

nadathurv and others added 3 commits October 1, 2025 18:58
Referencing this issue: #9129

This implements a warning for PTX version and also a local-editable test.

Signed-off-by: nadathurv <[email protected]>
Add actions/cache for ~/.cache/pip and ~/.cache/torch_extensions and max jobs =2 to be generous

Signed-off-by: nadathurv <[email protected]>
Co-Authored-By: Srreyansh Sethi <[email protected]>
@ghost ghost requested review from LucasWilkinson and tlrmchlsmth as code owners October 2, 2025 14:44
@mergify mergify bot added the ci/build label Oct 2, 2025
@ghost ghost mentioned this pull request Oct 2, 2025
7 tasks
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds a warning for unsupported +PTX builds in the global TORCH_CUDA_ARCH_LIST and adds a CI test for local builds. The change in CMakeLists.txt correctly identifies the presence of +PTX and issues a warning.

My review focuses on improving the robustness of the check in CMakeLists.txt. I've suggested a change to prevent potential false-positive warnings, which can improve the developer experience by keeping the build output clean and relevant.

nadathurv added 4 commits October 2, 2025 08:13
Prevent false-positives. Fix CPU editable test.

Signed-off-by: nadathurv <[email protected]>
Signed-off-by: nadathurv <[email protected]>
@ghost ghost changed the title [Misc] [CI/Build] [CMake] PTX Warning & CI test of local builds [Misc] [CI/Build] [CMake] PTX Warning Oct 2, 2025
@zhuohan123 zhuohan123 enabled auto-merge (squash) October 2, 2025 20:18
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Oct 2, 2025
@ghost
Copy link
Author

ghost commented Oct 7, 2025

@zhuohan123 @DarkLight1337 CI check fails seems unrelated. Can this be merged? Thanks

@ghost ghost closed this by deleting the head repository Oct 8, 2025
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/build ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants