{"repo":"lqhl/rabitq-rs","free":true,"listed":false,"github":"https://github.com/lqhl/rabitq-rs","clone":"git clone https://github.com/lqhl/rabitq-rs.git","description":"Rust implementation of RaBitQ + IVF and MSTG (multi-scale tree graph)","language":"Rust","stars":18,"topics":["ann","vector-database","vector-search"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"RaBitQ-rs Pure Rust implementation of advanced vector quantization and search algorithms: - RaBitQ quantization with IVF (Inverted File) search - Production ready - MSTG (Multi-Scale Tree Graph) index - High performance (v0.9.0) Up to 32× memory compression with significantly higher accuracy than traditional Product Quantization (PQ) or Scalar Quantization (SQ). Why RaBitQ? RaBitQ delivers exceptional compression-accuracy trade-offs for approximate nearest neighbor search: - vs. Raw Vectors : Achieve up to 32× memory reduction with configurable compression ratios - vs. PQ/SQ : Substantially higher accuracy, especially at high recall targets (90%+) - How it Works : Combines 1-bit binary codes with multi-bit refinement codes for precise distance estimation The quantization applies to residual vectors (data - centroid), enabling accurate reconstruction even at extreme compression rates. Why This Rust Implementation? This library provides a feature-complete RaBitQ + IVF search engine with all optimizations from the original C++ implementation: - ✅ Faster Config Mode : 100-500× faster index building with ARM64 Notice : The current implementation has critical bugs on ARM64/AArch64 platforms that affect both L2 and Inner Product metrics. Distance calculations produce incorrect results, making the library unreliable on Apple Silicon Macs and ARM servers. We're actively investigating these issues. For now, production use on ARM64 is NOT recommended . Quick Start Add to your Cargo.toml","default_branch":null,"files":null,"tree":[],"storefront":"/r/lqhl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lqhl/rabitq-rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}