Skip to content

Conversation

jinsolp
Copy link
Contributor

@jinsolp jinsolp commented May 28, 2025

Reusing graph build params for cagra and all neighbors.
Related issue: #931

@jinsolp jinsolp requested review from a team as code owners May 28, 2025 02:23
@jinsolp jinsolp self-assigned this May 28, 2025
@jinsolp jinsolp added non-breaking Introduces a non-breaking change improvement Improves an existing functionality labels May 28, 2025
@@ -0,0 +1,78 @@
/*
Copy link
Member

Choose a reason for hiding this comment

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

cuVS isn't header-only, so the header files are very lightweight. Instead of introducing new headers for structs and enums, can we just reuse common.hpp?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

common.hpp has the base index_params (link), so declaring graph_build_params in that file results in a circular dependency (because we make use of ivf_pq::index_params and nn_descent::index_params inside `graph_build_params)

@jinsolp
Copy link
Contributor Author

jinsolp commented Jun 10, 2025

@lowener Changed defaults. Ready for another round of reviews : )

Copy link
Contributor

@lowener lowener left a comment

Choose a reason for hiding this comment

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

LGTM

@jinsolp
Copy link
Contributor Author

jinsolp commented Jun 26, 2025

This is ready to merge if there are no further suggestions!

@lowener
Copy link
Contributor

lowener commented Jun 27, 2025

/merge

@rapids-bot rapids-bot bot merged commit 97c5a49 into rapidsai:branch-25.08 Jun 27, 2025
53 checks passed
@jinsolp jinsolp deleted the common-knn-build branch June 27, 2025 17:21
@divyegala divyegala added breaking Introduces a breaking change and removed non-breaking Introduces a non-breaking change labels Jun 27, 2025
rapids-bot bot pushed a commit that referenced this pull request Jun 27, 2025
…#1060)

Fix to make #949 a non-breaking change.

Authors:
  - Jinsol Park (https://github.com/jinsolp)

Approvers:
  - Divye Gala (https://github.com/divyegala)

URL: #1060
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Introduces a breaking change CMake cpp improvement Improves an existing functionality
Development

Successfully merging this pull request may close these issues.

4 participants