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

Disable hnswlib if not compiling shared library components of RAFT #2494

Closed
wants to merge 3 commits into from

Conversation

divyegala
Copy link
Member

As seen in rapidsai/cuvs#465 when building newer versions of hnswlib, version conflicts are found to be not resolvable. The effect of this PR will be that libraft-headers conda package will not be configured with hnswlib.

@divyegala divyegala added improvement Improvement / enhancement to an existing function breaking Breaking change labels Nov 14, 2024
@divyegala divyegala self-assigned this Nov 14, 2024
@divyegala divyegala requested a review from a team as a code owner November 14, 2024 01:03
@@ -605,6 +602,7 @@ if(RAFT_COMPILE_LIBRARY)
${RAFT_CTK_MATH_DEPENDENCIES} # TODO: Once `raft::resources` is used everywhere, this
# will just be cublas
$<TARGET_NAME_IF_EXISTS:OpenMP::OpenMP_CXX>
$<TARGET_NAME_IF_EXISTS:hnswlib::hnswlib>
Copy link
Contributor

Choose a reason for hiding this comment

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

If the user wants to build with HNSW but the target name does not exist will there be an error or will it fail silently? A bad scenario would be to compile the whole library only to find that hnswlib was not included in this compilation when it was explicitly requested.

@bdice
Copy link
Contributor

bdice commented Nov 18, 2024

Is this PR still relevant after #2498?

@divyegala divyegala closed this Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change CMake cpp improvement Improvement / enhancement to an existing function
Projects
Development

Successfully merging this pull request may close these issues.

3 participants