Skip to content
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

Explicitly build for all GPU architectures #15959

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Jun 8, 2024

Description

The libcudf conda package is not specifying to build for all supported architectures and is instead letting build.sh fall back to NATIVE. However, because the default behavior of rapids-cmake is to build SASS for all supported architectures if NATIVE is specified but no local architecture is detected, we're still ending up with all of the RAPIDS architectures having SASS built for them. The problem is that we are failing to build PTX for the latest version, which would be produced if we used RAPIDS instead of NATIVE. This PR should resolve that issue.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@vyasr vyasr added bug Something isn't working non-breaking Non-breaking change labels Jun 8, 2024
@vyasr vyasr self-assigned this Jun 8, 2024
@vyasr
Copy link
Contributor Author

vyasr commented Jun 8, 2024

More information in rapidsai/rapids-cmake#630. Leaving this until @robertmaynard and I have had a chance to discuss that issue in case it has any implications here.

@vyasr vyasr marked this pull request as ready for review June 10, 2024 16:15
@vyasr vyasr requested a review from a team as a code owner June 10, 2024 16:15
@vyasr vyasr requested a review from jameslamb June 10, 2024 16:15
Copy link
Member

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

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

makes sense to me based on the discussion in rapidsai/rapids-cmake#630, thanks

@vyasr
Copy link
Contributor Author

vyasr commented Jun 10, 2024

/merge

@rapids-bot rapids-bot bot merged commit 58a15a8 into rapidsai:branch-24.08 Jun 10, 2024
72 checks passed
@vyasr vyasr deleted the fix/conda_libcudf_arch branch June 10, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants