



LibVQ is an open-source toolkit for optimizing vector quantization and efficient neural retrieval, offering training and indexing components that can serve as the core of high-performance approximate nearest neighbor search and vector database systems.
title: LibVQ slug: libvq category: sdks-libraries source_url: https://github.com/staoxiao/LibVQ images:
LibVQ is an open-source library for dense-retrieval–oriented vector quantization. It provides training and indexing components that optimize vector quantization for retrieval quality, and can serve as the core of high-performance approximate nearest neighbor (ANN) search and vector database systems.
Dense retrieval–oriented vector quantization
Knowledge distillation–based learning
Flexible usage modes
Rich input condition support
PyTorch-based training
FAISS-backed ANN deployment
IndexPQ, IndexIVFPQ).Example workflows and benchmarks
Docs and examples folders).contrastive_indexdistill_indexdistill_index_nolabelcontrastive_index-and-query-encoderdistill_index-and-query-encoderdistill_index-and-query-encoder_nolabelSimple installation from source
pip after cloning the repository:
git clone https://github.com/staoxiao/LibVQ.gitcd LibVQpip install .git clone https://github.com/staoxiao/LibVQ.git
cd LibVQ
pip install .
LibVQ is an open-source library; no pricing information or paid plans are specified.
Loading more......