-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Misc] [CI/Build] [CMake] PTX Warning #26101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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]>
There was a problem hiding this 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.
Prevent false-positives. Fix CPU editable test. Signed-off-by: nadathurv <[email protected]>
Signed-off-by: nadathurv <[email protected]>
Signed-off-by: nadathurv <[email protected]>
@zhuohan123 @DarkLight1337 CI check fails seems unrelated. Can this be merged? Thanks |
Referencing this issue: #9129 Just adding a warning
cc @LucasWilkinson
@WorldExplored