Zarc: exact nearest neighbor search over a billion vectors in 1.1 seconds on four H100 GPUs

_reachsumit · x · 2026-11-25

The Zarc paper presents a GPU system for exact k-nearest-neighbor search that skips most vectors using cheap half-precision distance proofs: only the short proof rows stay in GPU memory, with the few remaining full vectors fetched from host memory. It answers Euclidean, cosine, inner-product, and filtered queries exactly under updates. On four H100s, 10,000 exact queries over one billion vectors finish in 1.1 seconds versus five minutes for exhaustive search; across 11 open LLMs it retrieves exact top-10 attention keys 2.2x–13.1x faster, and beats bf16 selection with FlashInfer by 3.1x in sparse attention over one million tokens without missing the exact top-64.

Original post →

More from Infra

Infra channel →