feat(turbo): add PQ int4/int8 quantizers and PQFast FastScan support - #664
Open
zzlin237 wants to merge 1 commit into
Open
feat(turbo): add PQ int4/int8 quantizers and PQFast FastScan support#664zzlin237 wants to merge 1 commit into
zzlin237 wants to merge 1 commit into
Conversation
- Add PqInt4Quantizer / PqInt8Quantizer with ADC/SDC/batch distance kernels for avx2, avx512, neon and scalar, plus precomputed residual distance table support for IVF search - Add PqFastQuantizer (QuantizeType::kPQFast): 4-bit PQ with FastScan packed-block scan kernels (32 vectors per block, affine-quantized LUT) - Wire PQ build/search params through index_param and index_param_builders - Add unit tests for int4/int8/fast quantizers and FastScan kernels
zzlin237
requested review from
chinaux,
feihongxu0824,
iaojnh,
richyreachy and
zhourrr
as code owners
August 7, 2026 11:14
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.
The specific performance metrics are as follows:
sift
gist
cohere