Enhancing GPU-Accelerated Vector Search in Faiss with NVIDIA cuVS

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

Teams running vector search for RAG can now cut index build times and query latency several-fold by swapping their existing Faiss GPU setup to the cuVS-backed faiss-gpu-cuvs package, without code changes.

Read this as

NVIDIA has upgraded Faiss, a widely used open-source tool for finding similar items in huge collections of data (like finding similar images or documents for AI assistants), to run on NVIDIA graphics cards more efficiently. Indexes that organize the data now build up to 12x faster, and searches answer up to 8x faster. Companies running search or recommendation systems benefit, and the faiss-gpu-cuvs package is available now via Conda.

NVIDIA's cuVS integration with Faiss offers material infrastructure savings: index builds up to 4.7x faster and search latency up to 8x lower at 95% recall, versus classic Faiss GPU code, on an H100. A GPU-built CAGRA index (12.3x faster builds than CPU HNSW) can be converted to HNSW for CPU-only search deployment, letting teams keep CPU serving architectures while cutting GPU costs. Available today via the faiss-gpu-cuvs Conda package; benchmarked on Deep100M and OpenAI text embeddings.

Faiss (since v1.10.0) can route IVF-Flat, IVF-PQ, brute-force Flat and CAGRA index types through NVIDIA cuVS kernels. Benchmarked on H100 against Intel Xeon Platinum 8480CL, at 95% recall using Pareto-curve tuning: IVF-PQ/IVF-Flat build 4.7x faster with 8x lower latency (IVF-PQ) and 3x batch throughput; CAGRA beats CPU HNSW with 12.3x faster builds, 4.7x lower latency on Deep100M, and up to 18x batch throughput. Gains come from balanced k-means clustering, expanded IVF-PQ subquantizer parameters, and RMM memory pooling. CAGRA converts to HNSW via faiss.IndexHNSWCagra.

Read the original

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

Key terms

NVIDIA Faiss cuVS CAGRA HNSW H100 RAPIDS

Was this summary useful?

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

Related reading