Skip to content

cuvs-lucene-137: increase max-number of HNSW layers in CAGRA_HNSW's conversion from CAGRA to HNSW#140

Open
nvzm123 wants to merge 2 commits into
NVIDIA:mainfrom
nvzm123:cuvslucene-137__zackm
Open

cuvs-lucene-137: increase max-number of HNSW layers in CAGRA_HNSW's conversion from CAGRA to HNSW#140
nvzm123 wants to merge 2 commits into
NVIDIA:mainfrom
nvzm123:cuvslucene-137__zackm

Conversation

@nvzm123

@nvzm123 nvzm123 commented Apr 29, 2026

Copy link
Copy Markdown

The natural number of HNSW layers is ln(segment_size)/ln(graph_degree), which is often around 6, yet we had a constraint that was limiting us to a maximum of 3 HNSW layers. This change effectively makes the maximum number of layers unbounded.

@nvzm123 nvzm123 requested a review from a team as a code owner April 29, 2026 02:51
@copy-pr-bot

copy-pr-bot Bot commented Apr 29, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@cjnolet

cjnolet commented May 27, 2026

Copy link
Copy Markdown
Contributor

@nvzm123 thanks for opening this PR. Can you please attach benchmarks that demonstrate the value of the change and show that it's an improvement (and doesn't cause regressions)?

@cjnolet

cjnolet commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

/ok to test 0629b15

@cjnolet

cjnolet commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

/merge

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.

3 participants