-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Bulk score hnsw diversity check #15607
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
Merged
benwtrent
merged 13 commits into
apache:main
from
benwtrent:bulk-score-hnsw-diversity-check
Feb 2, 2026
Merged
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f46d076
Utilize bulk scoring interface during HNSW graph builder diversity check
benwtrent cb0dff2
iter
benwtrent f7b2d29
iter
benwtrent b37d52f
iter
benwtrent cb92c93
adding changes, adjusting bulk chunk size
benwtrent a80f79d
Merge branch 'main' into bulk-score-hnsw-diversity-check
benwtrent 674dc98
Merge remote-tracking branch 'upstream/main' into bulk-score-hnsw-div…
benwtrent 6e71ac1
iter
benwtrent aca7509
fixing chunk size
benwtrent 2ce3ace
no tail needed, :facepalm:
benwtrent 1a602af
iter
benwtrent 1b606c6
Merge branch 'main' into bulk-score-hnsw-diversity-check
benwtrent 929fb6c
iter
benwtrent File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was worried about thread-safety of these arrays (given we have concurrent merging), but from this comment it looks like instances of this class are not shared across threads, but rather multiple instances of this class (across different threads) can operate on a single
HnswGraph?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kaivalnp the scorer itself isn't threadsafe. I assumed that since we were using a scorer, we were OK.
I had the same threading concerns and looked up and it seems that each thread as a unique builder object instance (The worker of the thread) and they all work on the same graph.