-
Notifications
You must be signed in to change notification settings - Fork 513
feat: support create vector index distributedly #5117
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
yanghua
merged 72 commits into
lance-format:main
from
chenghao-guo:ivf_distribute_builder
Jan 4, 2026
Merged
feat: support create vector index distributedly #5117
yanghua
merged 72 commits into
lance-format:main
from
chenghao-guo:ivf_distribute_builder
Jan 4, 2026
Conversation
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
fd9c15e to
d571f55
Compare
e544b47 to
dc8d4bf
Compare
8ee88df to
e0dbea4
Compare
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
b591569 to
d627974
Compare
6f08001 to
c37bbb8
Compare
e3d15f3 to
204d3f0
Compare
b12b3e4 to
af8249b
Compare
This was referenced Jan 4, 2026
Collaborator
|
@BubbleCal Thanks for reviewing! I have filed some tickets to track further work: #5621 and #5622. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
close #4723
Key Changes:
The distributed index creation leverages the existing IVF framework while adding coordination mechanisms for multi-node execution. The index merger component now handles distributed fragment consolidation and metadata synchronization. This work enables scalable vector index creation for large-scale datasets, significantly reducing index build time.
Current Status in this PR:
• FLAT/SQ: Should work now, it is under active testing phase, validating distributed performance and accuracy
• PQ (Product Quantization): Currently depends on global training codebook, requiring centralized training before distributed deployment.
• RQ (Residual Quantization): I didn't consider this when I design this PR. Not yet supported in distributed mode maybe, planned for future implementation
Once I finish all the testing phase in my side on performance and recall accuracy, I will mark it ready to review.