1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Temperature-tiered vector quantization for the RuVector Format (RVF).
//!
//! Provides three quantization levels mapped to temperature tiers:
//!
//! | Tier | Quantization | Compression |
//! |------|-------------|-------------|
//! | Hot | Scalar (int8) | 4x |
//! | Warm | Product (PQ) | 8-16x |
//! | Cold | Binary (1-bit)| 32x |
//!
//! The [`rabitq`] module provides a RaBitQ-style 1-bit codec (centroid
//! centering + seeded random rotation + correction scalars) with an
//! asymmetric distance estimator, intended for two-stage
//! (scan-then-rescore) search at ~32x code compression.
//!
//! A Count-Min Sketch tracks per-block access frequency to drive
//! promotion/demotion decisions.
extern crate alloc;
pub use ;
pub use ProductQuantizer;
pub use ;
pub use ScalarQuantizer;
pub use CountMinSketch;
pub use TemperatureTier;
pub use Quantizer;