Repository navigation
[diskann-quantization] Teach PQ training to return a BasicTable. - #1467
Merged
Merged
Conversation
added 24 commits
October 1, 2026 09:06
Mark Hildebrand (hildebrandmw)
added this pull request to stack #1468
October 6, 2026 23:57
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1467 +/- ##
==========================================
- Coverage 91.97% 90.95% -1.03%
==========================================
Files 586 586
Lines 118178 118173 -5
==========================================
- Hits 108700 107485 -1215
- Misses 9478 10688 +1210
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Mark Hildebrand (hildebrandmw)
requested review from
a team
and
a balanced review from Copilot
October 7, 2026 13:57
Copilot started reviewing on behalf of
Mark Hildebrand (hildebrandmw)
October 7, 2026 13:58
View session
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The implementation and consumers are consistent; only a non-blocking documentation typo remains.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Updates PQ training to return a directly usable BasicTable.
Changes:
- Packs trained pivots into
BasicTable. - Adds checked chunk and pivot accessors.
- Simplifies benchmark and provider consumers.
| File | Description |
|---|---|
diskann-quantization/src/views.rs |
Adds checked chunk access. |
diskann-quantization/src/product/train.rs |
Returns packed BasicTable. |
diskann-quantization/src/product/tables/padded.rs |
Reuses chunk pivot accessor. |
diskann-quantization/src/product/tables/basic.rs |
Adds per-chunk pivot views. |
diskann-providers/src/model/pq/pq_construction.rs |
Consumes trained table directly. |
diskann-benchmark/src/exhaustive/product.rs |
Removes manual table construction. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Aditya Krishnan (arkrishn94)
approved these changes
Oct 8, 2026
Magdalen Dobson Manohar (magdalendobson)
approved these changes
Oct 8, 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.

Now that PQ training is starting to be more
diskann-quantizationcentric, it makes sense to return a more useful type.