USearch v3 is presented as a hardware-aware vector-search engine that expands beyond v2’s RAM-and-CPU focus. Its central argument is that modern servers’ biggest resources sit outside ordinary host memory: GPUs provide most of the compute power, while NVMe drives provide most of the storage capacity. A cited DGX B300 configuration has eight GPUs with 2.3 TB of high-bandwidth memory, two CPUs with 2 TB of RAM, and 30.7 TB of NVMe storage. V3 can place index shards in RAM, GPU memory, or SSDs, and use the same SafeGraphs checkpoints across these locations. The stated goal is to scale to as many as a trillion vectors on one machine, without networking or loading an SSD-resident graph into memory.
Each tier gets a different execution model: CPU threads are pinned to memory domains, GPU streams operate on device-local shards, and NVMe workers issue asynchronous reads while many searches remain in flight. The system leaves thread creation to callers and uses GPUs for bulk index construction, RAM for updates and irregular work, and SSDs for large, cost-sensitive serving. The text also describes CPU scoring improvements: vector math processes four candidates from separate memory locations together, reuses query loads, shares reductions, and prefetches upcoming candidates. Alongside dense vectors, v3 is said to support 3D shapes, sequences, and geospatial data.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.