[FEA] Add an agent skill for repeatable HNSW-to-CAGRA tuning
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Activo
- Stack tecnológico
- yaml
- Área
- performance, search, tooling
Línea de trabajo
Start by reviewing the cuVS HNSW-to-CAGRA heuristic in cpp/src/neighbors/cagra.cpp lines 55-63, then read the cuVS Bench usage and CAGRA memory guidance linked in the issue. Compare the requested GPU build, GPU search, and CPU Faiss search workflows with companion issue 2731. Done means a reviewed skill can produce a reproducible configuration and execution plan with memory checks, sweep results, matched-recall Pareto comparisons, and recorded environment details.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
Customers moving from Faiss HNSW to GPU-built CAGRA often know their existing HNSW settings, hardware, exact recall target, and search latency target, but do not know which CAGRA configurations to test. HNSW M does not map directly to CAGRA graph degree. Reaching a useful result requires memory estimates, a build and search sweep, and comparisons at matched exact recall.
This is particularly difficult when indexes are built on a GPU machine and searched on a separate CPU machine. The customer must coordinate the two environments and combine their results manually.
Describe the solution you'd like
Add a cuVS agent skill, backed by reproducible cuVS Bench workflows, that guides a customer through HNSW-to-CAGRA tuning. The customer provides their dataset or dataset descriptor, exact ground truth or a way to generate it, existing HNSW settings, recall and latency targets, and build and search hardware.
The skill should:
Estimate host and GPU build memory, including headroom, and flag configurations unlikely to fit the supplied hardware.
Use cuVS HNSW-to-CAGRA heuristics to propose a focused starting grid for graph degree, intermediate graph degree, and the CAGRA graph builder.
Run or generate the commands to run GPU builds and the applicable search sweeps through cuVS Bench. Support GPU search and GPU-built Faiss IndexHNSWCagra searched on a separate CPU host.
Expand the grid when the first sweep does not reach the recall target, while preserving the settings and measurements from each run.
Return per-configuration build time, conversion time when applicable, exact recall, search latency, and measured peak memory. Show Pareto results for each search path and identify configurations that meet the customer's targets at matched recall.
Record the dataset definition, metric, ground truth, software versions, hardware, batch size, and CPU thread count so the comparison can be reproduced.
An initial version could generate a reviewed configuration and execution plan; it need not provision machines or move customer data.
Describe alternatives you've considered
Customers can use the HNSW-to-CAGRA heuristic, write cuVS Bench YAML, estimate memory from the documentation, and join build and search results themselves. This works for experts but requires several manual steps and can be error-prone for beginners who can be tempted to cherry pick config parameters across HNSW and CAGRA instead of doing proper pareto analysis.
Additional context
CAGRA tuning and memory guidance
cuVS Bench usage and plotting workflow
A companion request proposes the split GPU build and CPU-only benchmark workflow needed for the Faiss CPU search path.
- Lenguaje dominante
- Cuda
- Estrellas
- 902
- Forks
- 267
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 57
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NVIDIA/cuvs
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
[BUG] CAGRA multi-CTA and multi-kernel search over-allocate the hashmap they usePosiblemente ocupada @mc8max la tomó hace 12 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
NVIDIA/cuvs#2856 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[BUG] cuVS Bench Faiss CAGRA b_ratio reads the wrong JSON keyPosiblemente ocupada @arcusbuilds la tomó hace 55 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
doc
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Upgrade faiss to v1.16.0Posiblemente ocupada @aamijar la tomó hace 8 días. Abiertofaiss improvement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
Todos los issues de NVIDIA/cuvs
Issues similares
-
bug untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
opensearch-project/sql#5990 ·
Los mantenedores suelen responder en 1 día
-
Memory leak: `taskIdentifiers` cache keeps every `run()`'s options for the life of the processAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
jesdga95/basalt#747 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Device]: Share verified Stage 1-5 benchmarks for Samsung One UI, Xiaomi HyperOS, and Pixel/AOSPAbiertodevice-compatibility help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 60/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
siyuan-note/siyuan#21691 ·
Los mantenedores suelen responder en 1 día