cuvs-cu12
cuVS: Vector Search on the GPU
What it is and what it does
cuVS is a GPU-accelerated library for vector search and clustering built on NVIDIA's RAPIDS RAFT primitives. It implements algorithms like CAGRA for approximate nearest neighbor search, enabling fast similarity queries on embedding collections. The library is designed to accelerate semantic search, recommendation systems, and clustering workloads by offloading computation to NVIDIA GPUs.
The package provides Python, C++, C, and Rust APIs. It depends on libcuvs-cu12 (the core CUDA library), pylibraft-cu12 (RAPIDS RAFT bindings), cuda-bindings, and numpy. Installation requires Python 3.11 or later and a compatible NVIDIA GPU with CUDA 12 support. The library is actively maintained and handles CUDA version compatibility automatically.
Use it for:
- Build semantic search systems for retrieval-augmented generation (RAG) pipelines using GPU acceleration
- Implement GPU-accelerated k-nearest neighbor graph construction for clustering and visualization algorithms
- Deploy high-throughput embedding similarity search in recommendation systems or image/text search applications
- Accelerate data mining tasks like clustering and visualization by computing nearest neighbor graphs on GPU
- Integrate vector search into databases or applications that need low-latency similarity queries at scale
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides GPU-accelerated approximate nearest neighbor search and clustering algorithms optimized for NVIDIA GPUs.
Yes, if you have NVIDIA GPU hardware and need fast vector search or clustering. The active maintenance, permissive Apache-2.0 license, and zero known vulnerabilities make it production-ready. Medium install friction (CUDA dependencies) is the main trade-off; ensure your environment has compatible NVIDIA hardware and CUDA 12 support before installing.
Install
cuvs-cu12 on PyPI
pip
pip install cuvs-cu12uv
uv add cuvs-cu12poetry
poetry add cuvs-cu12Installing cuvs-cu12
Before you install
Medium install friction due to CUDA 12 GPU library dependencies (libcuvs-cu12, pylibraft-cu12, cuda-bindings, numpy). Active maintenance with recent releases.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for production applications.
Quickstart
pip install cuvs-cu12
from cuvs.neighbors import cagra
index_params = cagra.IndexParams()
index = cagra.build(index_params, dataset)
Requires NVIDIA GPU with CUDA 12 support and compatible CUDA runtime environment installed on the system.
Verify before relying
- Whether the package works on non-NVIDIA GPUs or requires NVIDIA-specific hardware
- Performance characteristics compared to CPU-based vector search libraries
- Specific NVIDIA GPU compute capability requirements beyond CUDA 12
- Typical dataset and query sizes the library is optimized for
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 4 — cuda-bindings, libcuvs-cu12, numpy, pylibraft-cu12 |
| Maintenance | actively maintained — 8 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 115,545/month — #12,244 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: cuvs_cu12-26.8.1-cp311-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; cuvs_cu12-26.8.1-cp311-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
libcuvs-cu12GPU-accelerated vector search and clustering…
permissive · top 15,000 on PyPI
usearchUSearch provides approximate nearest-neighbor…
permissive · top 15,000 on PyPI
faiss-gpuFaiss provides GPU-accelerated similarity…
permissive · top 15,000 on PyPI
voyagerVoyager performs fast approximate…
permissive · top 15,000 on PyPI
scannScaNN performs efficient vector similarity…
permissive · top 15,000 on PyPI
pynndescentPyNNDescent builds approximate nearest neighbor…
permissive · top 5,000 on PyPI
hnswlibFast approximate nearest neighbor search using…
unclear · top 15,000 on PyPI
fastclusterPerforms fast hierarchical agglomerative…
copyleft · top 15,000 on PyPI
cuml-cu12GPU-accelerated machine learning algorithms for…
permissive · top 15,000 on PyPI
libcuml-cu12GPU-accelerated machine learning algorithms…
permissive · top 15,000 on PyPI