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 pinning to a different RAFT tag #235

Merged
merged 4 commits into from
Jul 19, 2024

Conversation

benfred
Copy link
Member

@benfred benfred commented Jul 19, 2024

Attempting to pin the version of a raft to a custom fork wasn't working, and it was still using the version installed by conda. Fix by mirroing the CUML_RAFT_CLONE_ON_PIN logic found in the cuml cmake files.

Attempting to pin the version of a raft to a custom fork wasn't working,
and it was still using the version installed by conda. Fix by mirroing
the `CUML_RAFT_CLONE_ON_PIN` logic found in the cuml cmake files.
@benfred benfred requested a review from a team as a code owner July 19, 2024 16:42
@benfred benfred added improvement Improves an existing functionality non-breaking Introduces a non-breaking change and removed cpp CMake Python labels Jul 19, 2024
@benfred benfred marked this pull request as draft July 19, 2024 16:45
@benfred benfred self-assigned this Jul 19, 2024
@benfred benfred marked this pull request as ready for review July 19, 2024 16:59
@@ -37,6 +37,7 @@ project(
option(FIND_CUVS_CPP "Search for existing CUVS C++ installations before defaulting to local files"
OFF
)
set(CUVS_RAFT_CLONE_ON_PIN OFF)
Copy link
Member

Choose a reason for hiding this comment

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

Why does this need to be set off?

Copy link
Member Author

Choose a reason for hiding this comment

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

I copied the logic here from cuml https://github.com/rapidsai/cuml/blob/99b20f67c6dea4aba80da5787f64557dba30a1f8/python/cuml/CMakeLists.txt#L41 - but now I'm wondering if this might have been accidentally applied in cuml in rapidsai/cuml#4990 , and not meant to be included there permanently.

Removed in latest commit

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for tracking that down, definitely looks to be accidental.

@benfred
Copy link
Member Author

benfred commented Jul 19, 2024

/merge

@rapids-bot rapids-bot bot merged commit 0786591 into rapidsai:branch-24.08 Jul 19, 2024
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake cpp improvement Improves an existing functionality non-breaking Introduces a non-breaking change Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants