Repository navigation
refactor(index): expose RaBitQ encoding and factor primitives - #9832
Merged
Merged
Conversation
BubbleCal
force-pushed
the
yang/layered-rq-encoding-primitives
branch
from
October 9, 2026 14:13
6ce5093 to
90c0415
Compare
BubbleCal
force-pushed
the
yang/layered-rq-fused-kernels
branch
from
October 9, 2026 14:13
51edac7 to
4f43856
Compare
BubbleCal
force-pushed
the
yang/layered-rq-fused-kernels
branch
from
October 9, 2026 16:48
4f43856 to
a9f3adc
Compare
BubbleCal
force-pushed
the
yang/layered-rq-encoding-primitives
branch
from
October 9, 2026 16:48
90c0415 to
689ea17
Compare
BubbleCal
force-pushed
the
yang/layered-rq-encoding-primitives
branch
from
October 9, 2026 18:55
689ea17 to
09e9c00
Compare
BubbleCal
force-pushed
the
yang/layered-rq-fused-kernels
branch
from
October 9, 2026 18:55
a9f3adc to
1a31588
Compare
BubbleCal
marked this pull request as ready for review
October 10, 2026 11:11
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
Xuanwo
approved these changes
Oct 10, 2026
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
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.
Expose the encoding and raw-query factor primitives used by Layered RQ. The existing encoding entry points retain their behavior.
Dependencies
Independent PR targeting main. Integrated main
ec857edd1d15, retaining the native scratch reuse and fused factor pipeline. The public explicit-scale API uses the same quantization loop and scale search as native encoding.Validation
On macOS arm64 with Rust 1.97.0 after main integration:
cargo +1.97.0 fmt --all -- --checkcargo +1.97.0 test --locked -p lance-index vector::bq: 440 passed, including explicit-scale parity and invalid-norm casescargo +1.97.0 clippy --locked --all --tests --benches -- -D warningsNo new performance measurement is claimed; CI is not awaited.
Tracking
OSS-2347