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

Build and test with CUDA 12.5.1 #191

Merged
merged 11 commits into from
Jul 16, 2024

Conversation

KyleFromNVIDIA
Copy link
Contributor

@KyleFromNVIDIA KyleFromNVIDIA commented Jul 11, 2024

This PR updates the latest CUDA build/test version 12.2.2 to 12.5.1.

Contributes to rapidsai/build-planning#73

@KyleFromNVIDIA KyleFromNVIDIA added non-breaking Introduces a non-breaking change improvement Improves an existing functionality labels Jul 11, 2024
@KyleFromNVIDIA
Copy link
Contributor Author

KyleFromNVIDIA commented Jul 12, 2024

Building this as a wheel requires a static libnvidia-ml.a (for now at least, until rapidsai/build-planning#35 is done), but CMake is not able to provide it. I've opened https://gitlab.kitware.com/cmake/cmake/-/issues/26131 to discuss this.

After offline discussion with @robertmaynard, we've come to the conclusion that nvml should be dynamically linked after all. I've updated this PR to do so.

@KyleFromNVIDIA KyleFromNVIDIA marked this pull request as ready for review July 16, 2024 13:26
@KyleFromNVIDIA KyleFromNVIDIA requested review from a team as code owners July 16, 2024 13:26
@jameslamb jameslamb requested review from jameslamb and removed request for bdice July 16, 2024 15:03
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.

I've reviewed that offline discussion about handling libnvidia-ml, all makes sense to me. This looks good.

@KyleFromNVIDIA
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 5a89834 into rapidsai:branch-24.08 Jul 16, 2024
48 checks passed
@@ -55,6 +55,7 @@ requirements:
- cudatoolkit
{% else %}
- cuda-cudart-dev
- cuda-nvml-dev
Copy link
Contributor

Choose a reason for hiding this comment

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

This change needed an entry in dependencies.yaml as well. See rapidsai/devcontainers#366 (comment). In devcontainers, we see:

2024-07-22T21:24:02.4790079Z CMake Error at CMakeLists.txt:204 (target_link_libraries):
2024-07-22T21:24:02.4793870Z   Target "wholegraph" links to:
2024-07-22T21:24:02.4798184Z 
2024-07-22T21:24:02.4802582Z     CUDA::nvml
2024-07-22T21:24:02.4804498Z 
2024-07-22T21:24:02.4804898Z   but the target was not found.  Possible reasons include:
2024-07-22T21:24:02.4805252Z 
2024-07-22T21:24:02.4805598Z     * There is a typo in the target name.
2024-07-22T21:24:02.4810296Z     * A find_package call is missing for an IMPORTED target.
2024-07-22T21:24:02.4811022Z     * An ALIAS target is missing.

Copy link
Contributor

Choose a reason for hiding this comment

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

I filed #197 to fix.

Copy link
Member

Choose a reason for hiding this comment

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

Good catch. Thanks Bradley! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improves an existing functionality non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants