skillfed

libcuvs-cu12

cuVS: Vector Search on the GPU (C++)

libcuvs-cu12 v26.8.1 114.5K downloads/30d#12,291 on PyPI833
Permissive license Apache-2.0 Active released

What it is and what it does

libcuvs-cu12 is a GPU-accelerated library for vector search and clustering built on NVIDIA CUDA. It implements state-of-the-art approximate nearest neighbor algorithms and clustering primitives designed to run on NVIDIA GPUs, with the goal of accelerating similarity search on dense vector embeddings. The library is part of the RAPIDS ecosystem and provides APIs for multiple languages.

The package is used for semantic search tasks—including retrieval-augmented generation, recommendation systems, and image/text search—as well as data mining operations like clustering, visualization, and k-NN graph construction. It requires CUDA 12 and depends on libraft-cu12, librmm-cu12, nvidia-nccl-cu12, and nvidia-nvjitlink-cu12, meaning it is only usable on systems with compatible NVIDIA GPUs and the CUDA toolkit installed.

Use it for:

  • Build fast approximate nearest neighbor indexes for semantic search in retrieval-augmented generation and generative AI applications
  • Accelerate recommendation systems by computing similarity between user embeddings and item vectors on GPU
  • Perform large-scale clustering and visualization tasks on GPU-resident data
  • Construct k-NN graphs from dense vectors for graph analysis and downstream machine learning
  • Enable low-latency, high-throughput vector similarity queries in production retrieval systems

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

GPU-accelerated vector search and clustering library providing approximate nearest neighbor algorithms for similarity search on NVIDIA hardware.

Yes, if you have NVIDIA GPU hardware and need fast vector search or clustering. The library is actively maintained, has no known vulnerabilities, and the Apache-2.0 license is permissive. Install friction is moderate due to CUDA and GPU library dependencies, but these are expected for GPU-accelerated workloads. Not suitable for CPU-only environments.

Install

libcuvs-cu12 on PyPI

pip

pip install libcuvs-cu12

uv

uv add libcuvs-cu12

poetry

poetry add libcuvs-cu12

Installing libcuvs-cu12

Before you install

Medium install friction due to CUDA toolkit and multiple NVIDIA GPU libraries (libraft-cu12, librmm-cu12, nvidia-nccl-cu12, nvidia-nvjitlink-cu12) as runtime dependencies. Active maintenance with recent release and steady repository activity.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for integration into proprietary applications.

Quickstart

pip install libcuvs-cu12

from libcuvs-cu12 import neighbors

# Build approximate nearest neighbor index on GPU-resident data
index_params = neighbors.IndexParams()
index = neighbors.build(index_params, dataset)

Requires NVIDIA GPU with CUDA 12 support and CUDA toolkit installed; Python >=3.11

Verify before relying

  • Whether pre-built wheels cover all target architectures beyond aarch64 and x86_64
  • Specific CUDA version compatibility requirements beyond the cu12 variant designation
  • Performance characteristics or throughput benchmarks for different dataset sizes
  • Whether the Python API is available in this package or requires separate installation

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.11)
Install friction medium — platform-specific wheel
Runtime dependencies 5 — cuda-toolkit, libraft-cu12, librmm-cu12, nvidia-nccl-cu12, nvidia-nvjitlink-cu12
Maintenance actively maintained — 8 days since the last release
Last repo commit
First released
Downloads 114,530/month — #12,291 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: libcuvs_cu12-26.8.1-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; libcuvs_cu12-26.8.1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Intended Audience :: Developers

Tags

gpu vector searchapproximate nearest neighbors gpucuda clustering algorithmsvector similarity search gpugpu-accelerated embeddingsnearest neighbor index cudasemantic search gpu
gpu-acceleratedvector-searchrapids

More Artificial Intelligence packages

Further reading