Skip to content

Refine quant compressor generation lifecycle - #1314

Open
juchen-ms (partychen) wants to merge 1 commit into
microsoft:codex/explicit-pq-pivots-1016from
partychen:suggest/pr-1299-quant-compressor-generate
Open

Refine quant compressor generation lifecycle#1314
juchen-ms (partychen) wants to merge 1 commit into
microsoft:codex/explicit-pq-pivots-1016from
partychen:suggest/pr-1299-quant-compressor-generate

Conversation

@partychen

Copy link
Copy Markdown
Contributor

Follow-up suggestion for #1299.

This keeps new construction-only and moves the generation work to an explicit instance method:

  • move the compressor context into the quantizer at construction time
  • call generate(&self) before compression
  • preserve existing pivot generation/reuse behavior
  • keep QuantDataGenerator responsible for orchestrating generation and compression

Validation:

  • cargo test -p diskann-disk
  • cargo clippy -p diskann-disk --all-targets -- -D warnings

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant