Skip to content
⌘K

RaBitQ Library

An official lightweight library for the RaBitQ algorithm and its applications in vector search.

health 88contrib 65298

Overview & architecture

C++ standard
–
Build systems
–
License
Apache-2.0
Languages
C++
Last release
v0.9.0 · Nov 23, 2026

Repository activity

snapshot Nov 23, 2026
GitHub stars
latest
298▲ 7
Merged PRs (30d)
latest
80▲ 53
Contributors (90d)
latest
6▲ 4
Issue first response p50
–
No snapshots yet.
4 open issues1 open PRs302 commits (30d)

Recent notable activity

  • Release
    RaBitQ Library v0.9.0

    What's Changed Breaking changes feat(index): add index format 2 for every index by @gouyt13 in feat(python)!: remove the 0.7 and 0.8 forms and expose the 0.9 names natively by @gouyt13 in feat(python)!: accept only "ip" as the inner-product metric name by @gouyt13 in fix(utils)!: remove the evaluation helpers from…

    v0.9.0
  • Merged PR
    fix(utils)!: remove the evaluation helpers from tools.hpp

    rabitqlib/utils/tools.hpp is an installed header, and two evaluation helpers in it had undefined behavior: distance_ratio formed data + id * dim for every result ID without a check, so a missing result (kNoId from…

    gouyt13#262 · by gouyt13
  • Merged PR
    feat(python)!: accept only "ip" as the inner-product metric name

    Part of #232. Summary The index classes and rabitqlib.quant accepted "innerproduct" as a second spelling of "ip", while index.metric and quant.Query.metric always report "ip". 0.9 spells each concept one way, so the shared metric parser…

    gouyt13#241 · by gouyt13
  • Merged PR
    feat(python)!: remove the 0.7 and 0.8 forms and expose the 0.9 names natively

    Summary Part of #213, #232 and #233: the removal step that their transition releases (0.8.0 and 0.8.5) prepared. Targets dev/0.9, so no issue closes on merge. 0.8 kept the 0.7 call forms, and 0.8.5 the 0.8 spellings, in a Python layer that…

    gouyt13#239 · by gouyt13
  • Release
    RaBitQ Library v0.8.5

    What's Changed Added feat(python): let IvfIndex.set_centroids take num_threads by @gouyt13 in feat(python): accept the 0.9 names and deprecate the 0.8 spellings by @gouyt13 in feat(python): accept the 0.9 k-means names and deprecate the 0.8 spellings by @gouyt13 in Maintenance test(python): migrate index count tests…

    v0.8.5
  • Release
    RaBitQ Library v0.8.4

    What's Changed Performance perf(utils): check coordinates in a single pass by @nicklesternl in Maintenance test: run the Python quick start in CI by @OptiSolvD in chore(release): prepare v0.8.4 by @gouyt13 in New Contributors @nicklesternl made their first contribution in @OptiSolvD made their first contribution in…

    v0.8.4
  • Release
    RaBitQ Library v0.8.3

    What's Changed Added feat(python): add the provisional rabitqlib.quant module by @TamimEhsan in Maintenance chore(release): prepare v0.8.3 by @gouyt13 in Full Changelog:

    v0.8.3
  • RFC / tracking
    Roadmap

    This issue tracks what the library is working on next. Comment here if your use case needs something that is missing, or if you want to help with one of the items. It will be updated as plans change; the 0.8.x milestone lists the open…

    gouyt13#220 · by gouyt13
  • Release
    RaBitQ Library v0.8.2

    What's Changed Added feat: three-line index workflow, faster IVF add, and v0.8.2 by @gouyt13 in Full Changelog:

    v0.8.2
  • Release
    RaBitQ Library v0.8.1

    What's Changed Fixed fix: cap automatic thread counts by OMP_NUM_THREADS by @gouyt13 in Full Changelog:

    v0.8.1
  • Release
    RaBitQ Library v0.8.0

    What's Changed Added feat(core): portable seeded rotations and a frozen fast-mode scale table by @TamimEhsan in feat(clustering): add optional k-means sampling and assignment of new vectors by @gouyt13 in feat(index): train centroids inside IVF and HNSW indexes by @gouyt13 in feat(python): train, set_centroids and add…

    v0.8.0
  • Merged PR
    refactor!: rename query factor accessors with the g_ prefix

    Summary Breaking C++ API change. The query correction-factor accessors now use the g_ prefix, the same as g_add() and g_error(). The old names are removed, with no deprecated aliases. Old New Classes --- --- --- k1xsumq() g_k1xsumq()…

    gouyt13#201 · by gouyt13

Stories

ReleaseFor you

RaBitQ Library v0.9.0 released

What's Changed Breaking changes feat(index): add index format 2 for every index by @gouyt13 in feat(python)!: remove the 0.7 and 0.8 forms and expose the 0.9 names natively by @gouyt13 in feat(python)!: accept only "ip" as the inner-product metric name by @gouyt13 in fix(utils)!: remove the…

Why it matters: RaBitQ Library is in AI & Accelerated Computing (one of your focus areas).

ReleaseFor you

RaBitQ Library v0.8.5 released

What's Changed Added feat(python): let IvfIndex.set_centroids take num_threads by @gouyt13 in feat(python): accept the 0.9 names and deprecate the 0.8 spellings by @gouyt13 in feat(python): accept the 0.9 k-means names and deprecate the 0.8 spellings by @gouyt13 in Maintenance test(python)…

Why it matters: RaBitQ Library is in AI & Accelerated Computing (one of your focus areas).

Major changeFor you

RaBitQ Library: Roadmap

This issue tracks what the library is working on next. Comment here if your use case needs something that is missing, or if you want to help with one of the items. It will be updated as plans change; the 0.8.x milestone lists the open…

Why it matters: An open RFC/proposal that is still up for discussion. RaBitQ Library is in AI & Accelerated Computing (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

  • RaBitQ Library v0.9.0major

    What's Changed Breaking changes feat(index): add index format 2 for every index by @gouyt13 in feat(python)!: remove the 0.7 and 0.8 forms and expose the 0.9 names natively by @gouyt13 in feat(python)!: accept only "ip" as the inner-product metric name by @gouyt13 in fix(utils)!: remove the evaluation helpers from…

  • RaBitQ Library v0.8.5

    What's Changed Added feat(python): let IvfIndex.set_centroids take num_threads by @gouyt13 in feat(python): accept the 0.9 names and deprecate the 0.8 spellings by @gouyt13 in feat(python): accept the 0.9 k-means names and deprecate the 0.8 spellings by @gouyt13 in Maintenance test(python): migrate index count tests…

  • RaBitQ Library v0.8.4

    What's Changed Performance perf(utils): check coordinates in a single pass by @nicklesternl in Maintenance test: run the Python quick start in CI by @OptiSolvD in chore(release): prepare v0.8.4 by @gouyt13 in New Contributors @nicklesternl made their first contribution in @OptiSolvD made their first contribution in…

  • RaBitQ Library v0.8.3

    What's Changed Added feat(python): add the provisional rabitqlib.quant module by @TamimEhsan in Maintenance chore(release): prepare v0.8.3 by @gouyt13 in Full Changelog:

  • RaBitQ Library v0.8.2

    What's Changed Added feat: three-line index workflow, faster IVF add, and v0.8.2 by @gouyt13 in Full Changelog:

  • RaBitQ Library v0.8.1

    What's Changed Fixed fix: cap automatic thread counts by OMP_NUM_THREADS by @gouyt13 in Full Changelog:

  • RaBitQ Library v0.8.0major

    What's Changed Added feat(core): portable seeded rotations and a frozen fast-mode scale table by @TamimEhsan in feat(clustering): add optional k-means sampling and assignment of new vectors by @gouyt13 in feat(index): train centroids inside IVF and HNSW indexes by @gouyt13 in feat(python): train, set_centroids and add…

  • RaBitQ Library v0.7.2

    What's Changed Added feat(python): add editor typing and API documentation by @gouyt13 in feat(python): support path-like inputs and improve errors by @gouyt13 in feat(python): add concise index representations by @gouyt13 in Build and CI ci: fix formatting failure propagation and cache consumer builds by @gouyt13 in…

  • RaBitQ Library v0.7.1

    What's Changed Other changes IVF per cluster storage by @TamimEhsan in Migrate development tooling and CI to LLVM 23 by @gouyt13 in Fix parallel index execution and zero-range quantization by @gouyt13 in Align NumPy inputs before native processing by @gouyt13 in Use the HNSW seed for quantization rotation by @gouyt13…

  • RaBitQ Library v0.7.0major

    What's Changed Other changes refactor!: split RaBitQ into core, FastScan, and index components by @gouyt13 in Full Changelog:

  • RaBitQ Library v0.6.0major

    What's Changed Dependencies Upgrade vendored Eigen to 5.0.1 by @gouyt13 in Other changes docs: add benchmarks by @gouyt13 in Fix HNSW entry-point races and construction failure handling by @gouyt13 in fix: respect CPU affinity and reduce clustering parallel overhead by @gouyt13 in Relax dimension padding requirements…

  • RaBitQ Library v0.5.2

    What's Changed Other changes Add HNSW insertion after construction by @TamimEhsan in Add HNSW removal with a deleted mark by @pma1999 in Optimize clustering, batch search, and index allocation by @gouyt13 in ci: migrate macOS 14 runners to macOS 15 by @gouyt13 in Full Changelog:

  • RaBitQ Library v0.5.1

    What's Changed Other changes Add IVF add and remove without the original data by @pma1999 in New Contributors @pma1999 made their first contribution in Full Changelog:

  • RaBitQ Library v0.5.0major

    What's Changed Other changes Add native QGKMeans and RaBitQKMeans clustering by @gouyt13 in Reduce CI duplication and strengthen clustering and SIMD coverage by @gouyt13 in Full Changelog:

  • RaBitQ Library v0.4.0major

    What's Changed Other changes Run CI checks only for affected files by @gouyt13 in Skip duplicate builds after CI-only merges by @gouyt13 in Refine release wheel and validation workflows by @gouyt13 in Add Linux ARM64 release wheels and native CI by @gouyt13 in Prepare v0.4.0 release and platform documentation by…

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement. Contribution scanning is off for this project.

Why this score

Health 88Contribution friendliness 65computed 19h ago
  • Activity1.00
    80 merged PRs in 30 days (full marks at 20); 227 commits in 30 days (full marks at 60) [health score: no data for backlog pressure; weights renormalized]health
  • Onboarding0.25
    has CI; missing contributing guide, mainstream build (CMake/Bazel/Meson), docs site [contrib score: no data for entry points; weights renormalized]contrib
  • Maintainer responsiveness1.00
    median PR merge time 0 h (full marks within 72 h, zero after 60 days) [health score: no data for backlog pressure; weights renormalized] [contrib score: no data for entry points; weights renormalized]healthcontrib
  • Release cadence1.00
    last release 9 days ago (full marks within 90, zero after 730); 16 releases in 365 days (full marks at 4) [health score: no data for backlog pressure; weights renormalized]health
  • Contributor breadth0.45
    6 unique contributors in 90 days (full marks at 25); top contributor has 84% of commits; stars count for at most 5% of this signal [health score: no data for backlog pressure; weights renormalized]health

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.

Maintain, review, build and signals

other opportunities that concern this project
  • RFC / designRaBitQ Library2d ago

    QGEMeans, mini-batch e-means with SymphonyQG assignment Adds rabitqlib::qgemeans::QGEMeans (C++) and rabitqlib.QGEMeans (Python). It is the e-means recipe (arXiv:2611.09501, Algorithm 1, with the constants from Faiss contrib/e_means), with each mini-batch assigned through a SymphonyQG graph over the current centroids. This is a new class; QGKMeans and RaBitQKMeans keep their current behaviour…

    pull requestupdated 1d ago1 comments
  • RFC / designRaBitQ Library13d ago

    Summary RaBitQ quantization is only reachable from C++ today, and the Python package has no quantization module. This proposal adds: a C API (librabitq_c, opt-in through the RABITQ_BUILD_C_API CMake option, off by default), the foundation for Rust, Go, Java, C# and database extensions (PostgreSQL, SQLite, DuckDB); a Python module rabitqlib.quant with the same functionality, built on pybind11…

    issueupdated 12d ago3 comments