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

fix libcudf pins cu11 #18161

Open
wants to merge 5 commits into
base: branch-25.04
Choose a base branch
from

Conversation

gforsyth
Copy link
Contributor

@gforsyth gforsyth commented Mar 4, 2025

Fix overconstrained libcudf conda package for cuda 11

Description

cudatoolkit inherited from the compilers('cuda') metapackage is imposing an

=11.8 requirement that breaks the min. version requirement.

We ignore that run export and rely on the the pin compatible cuda-version

Checklist

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

@gforsyth gforsyth requested review from a team as code owners March 4, 2025 17:00
@gforsyth gforsyth added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Mar 4, 2025
@gforsyth gforsyth requested a review from bdice March 4, 2025 17:00
@github-actions github-actions bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Mar 4, 2025
@gforsyth gforsyth force-pushed the fix_libcudf_pins_cu11 branch from d81f3b0 to 2771d4b Compare March 4, 2025 17:01
@@ -138,6 +138,7 @@ outputs:
- cuda-nvrtc
- cuda-nvtx
- cuda-version
- cudatoolkit
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be conditional?

Suggested change
- cudatoolkit
- if: cuda_major == "11"
then:
- cudatoolkit

Copy link
Contributor

@bdice bdice Mar 4, 2025

Choose a reason for hiding this comment

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

Similarly, perhaps we should ignore exports from cuda-cudart, cuda-nvrtc, cuda-nvtx, libcurand for cuda_major != "11".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably, I'm going to check the logs of a previous run and check on which overpinned dependencies might cause trouble

Copy link
Contributor Author

@gforsyth gforsyth Mar 4, 2025

Choose a reason for hiding this comment

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

ignoring things that aren't in scope doesn't cause problems, so I can circle back to cuda-nvrtc and friends when I have some followup fixes, but this should get things working

Copy link
Contributor Author

Choose a reason for hiding this comment

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

but the cudatoolkit ignore is now conditional

@github-actions github-actions bot removed libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants