RyanCodrai

    RyanCodrai/turbovec

    A vector index built on TurboQuant, written in Rust with Python bindings

    17.5K stars
    1.5K forks
    17.5K GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 8 contributors on GitHub.

    Peaked at #17 in the weekly ranking the week of Aug 16, its best in the past year.

    Use Cases & Benefits

    • Implements a high-performance vector index using TurboQuant quantization with Rust and Python bindings for efficient approximate nearest neighbor search.
    • Offers extreme memory compression and faster search speeds than FAISS by combining data-oblivious quantization, SIMD acceleration, and online indexing without retraining.
    • Use for building privacy-sensitive, air-gapped retrieval-augmented generation (RAG) systems requiring local vector search with minimal RAM usage.
    • Use for integrating a drop-in replacement vector store in frameworks like LangChain, LlamaIndex, or Haystack to accelerate embedding-based document retrieval.
    • Use for large-scale, dynamic vector databases needing fast online ingest, stable external IDs, and filtered search with candidate allowlists at query time.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    • No GitHub releases; pin a commit or tag instead of a release.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A 10 million document corpus takes 31 GB of RAM as float32. turbovec fits it in 4 GB - and searches it faster than FAISS.

    turbovec is a Rust vector index with Python bindings, built on Google Research's TurboQuant algorithm — a data-oblivious quantizer with near-optimal distortion and no separate training phase.

    Building RAG where privacy, memory, or latency matters? You're in the right place.

    Restrict results to a candidate set produced by another system (SQL, BM25, ACL, time window, …):

    Filtering happens inside the SIMD kernel at 32-vector block granularity: blocks with no allowed slots are short-circuited before any LUT lookup or scoring work, and individual non-allowed slots inside scored blocks are dropped at heap-insert. Selective allowlists (small fraction of the index allowed) therefore avoid most of the SIMD cost rather than paying it and discarding the result afterwards.

    The output length is min(k, len(allowed)) — when the allowlist is smaller than k you get exactly len(allowed) results rather than padded fallbacks.

    See docs/api.md for the full reference.

    Excerpt from the RyanCodrai/turbovec README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 20: +252Aug 27: +15Sep 12: +73Sep 13: +80Sep 14: +69Sep 15: +48Sep 16: +3Oct 7: +17Oct 8: +7

    +2,717 stars over 84 days across 18 snapshot days; best day +252 on Aug 20.

    Forks

    1.5K+164

    Open issues

    24-4

    Compared with peers in LLM

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    RyanCodrai/turbovec compared with LLM repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    NVIDIA/auto-ontology11.4K+8.5K75—
    thedotmack/claude-mem115.8K+4.7K75today
    DietrichGebert/ponytail188.4K+4.4K7512 days ago
    affaan-m/ECC300.8K+4.3K7540 days ago
    Graphify-Labs/graphify145.7K+3.8K75today
    RyanCodrai/turbovec17.5K—15—
    Category median145.7K+4.4K75—

    Discover Repositories

    Search across tracked repositories by name or description