Repository navigation
[diskann-inmem] Add scalar quantization - #1484
Open
Mark Hildebrand (hildebrandmw) wants to merge 4 commits into
Open
Mark Hildebrand (hildebrandmw) wants to merge 4 commits into
Mark Hildebrand (hildebrandmw) wants to merge 4 commits into
Conversation
Mark Hildebrand (hildebrandmw)
added this pull request to stack #1468
October 15, 2026 00:53
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (87.80%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## mhildebr/inmem-pq-2 #1484 +/- ##
=======================================================
- Coverage 92.03% 92.00% -0.04%
=======================================================
Files 590 591 +1
Lines 119785 120486 +701
=======================================================
+ Hits 110243 110848 +605
- Misses 9542 9638 +96
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Mark Hildebrand (hildebrandmw)
force-pushed
the
mhildebr/inmem-scalar
branch
from
October 15, 2026 01:34
ff71398 to
e16d644
Compare
Harsha Simhadri (harsha-simhadri)
approved these changes
Oct 15, 2026
This branch has not been deployed
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.
This adds support for scalar quantization (bits 1 through 8) to
diskann-inmem, follow the pattern mostly set up in #1469. This does require theQuantizertrait to differentiate between distances for insert and distances for general queries due to the need to rescale queries for wiki-cohere embedding.I've found several areas in
diskann-quantizationthat need help:diskann-quantizationneeds better support for asymmetrical compression. It's really a shame that we need to handle the somewhat sketch query rescaling for inner-products manually.