Expand description
Training-free vector quantization. Training-free vector quantization.
Structs§
- Bit4
Factors - Per-row scalars required by the four-bit unbiased dot estimator.
- Bit4
Query - Query-side signed-byte representation prepared once and reused per row.
- Int8
Query - Query-side signed-byte representation prepared once and reused per row.
- Int8Vec
- Borrowed signed-byte row and its per-vector affine reconstruction factors.
- Rescore
Hit - One exact hit returned from the rescore stage.
- Rescore
Pool - Describes either dense coarse scores or a graph traversal’s retained sparse pool.
- Rescore
Result - Exact top-k hits, candidate count, and byte accounting for both stages.
- Search
Byte Counts - Stored-data bytes touched by one two-stage query.
Enums§
- Quant
Error - Typed failure from a training-free quantizer or estimator.
- Quant
Scheme - Persisted quantization scheme identifier.
- Rescore
Error - Typed failure from the two-stage rescore helper.
- Rescore
Metric - Full-precision ranking applied to the retained coarse pool.
Functions§
- dequantize_
bit4 - Reconstructs the norm-scaled selected four-bit code direction.
- dequantize_
int8 - Reconstructs one affine signed-byte row into caller-owned storage.
- dot_
int8_ query - Estimates a dot product against one affine Int8 row.
- est_
dot_ bit4 - Estimates a dot product directly from one packed four-bit row.
- est_
dot_ bit4_ batch - Estimates dot products for contiguous packed four-bit rows in one dispatch.
- prepare_
bit4_ query - Prepares one query for repeated four-bit row scoring.
- prepare_
int8_ query - Prepares one full-precision query for repeated affine Int8 row scoring.
- quantize_
bit4 - Quantizes one row to four-bit Extended-RaBitQ codes.
- quantize_
int8 - Quantizes one finite row to signed bytes using a per-vector affine map.
- rescore_
top_ k - Selects a coarse frontier and exactly rescores its best
krows.