10 million vectors in 31 GB? turbovec squeezes that into 4 GB, and searches faster than FAISS.

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

A Rust library claiming 4GB memory for 10M vectors with faster exact search than FAISS could let developers run large vector search on ordinary laptops instead of expensive servers.

Read this as

turbovec is a free, open-source tool that helps computers quickly find the most similar items in a huge collection of data points, such as the numerical descriptions that AI models create for text. Its trick is shrinking the data: instead of storing each measurement as a large 32-bit number, it stores it as a small 8-bit number, cutting memory use by four times. The author claims 10 million such data points, which normally need 31GB of memory, fit in just 4GB, with searches finishing in under 200ms on a laptop. It suits people building search or recommendation tools on ordinary machines rather than big servers.

A solo developer has released turbovec, an open-source Rust library claiming to store 10 million 768-dimensional embedding vectors in 4GB of RAM instead of the 31GB that full-precision storage would need, while searching faster than the standard tool, FAISS. This matters for teams running search or recommendations on modest hardware rather than expensive servers. It is single-machine only, with no GPU support or distributed search, so it will not replace FAISS at large scale, and the benchmark claims are the author's own and unverified.

turbovec is a single-machine Rust library (compiling to one .so/.a file with no dependencies) for exact nearest-neighbour search over compressed vectors. It applies scalar quantization, converting each dimension from float32 to int8 for a 4x memory reduction, with optional product quantization for tighter packing; search computes 8-bit dot products directly on compressed data, accelerated by Rust SIMD extensions. Benchmarks claim 10M 768-dim vectors fit in 4GB vs 31GB uncompressed, with exact search under 200ms on a laptop. Limitations: no GPU, no IVF/HNSW indices, no distributed search, and no independent verification of the FAISS comparison.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

turbovec FAISS GitHub Rust all-MiniLM-L6-v2 text-embedding-ada-002

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading