[FEA] Add an agent skill for repeatable HNSW-to-CAGRA tuning
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- yaml
- Ambito
- performance, search, tooling
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Cuda
- Stelle
- 902
- Fork
- 267
- Merge medio
- 2g 21h
- PR unite (30g)
- 57
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NVIDIA/cuvs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
[BUG] CAGRA multi-CTA and multi-kernel search over-allocate the hashmap they useForse già presa @mc8max l’ha presa 12 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
NVIDIA/cuvs#2856 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] cuVS Bench Faiss CAGRA b_ratio reads the wrong JSON keyForse già presa @arcusbuilds l’ha presa 55 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
doc
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Upgrade faiss to v1.16.0Forse già presa @aamijar l’ha presa 8 giorni fa. Apertafaiss improvement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
bug untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
opensearch-project/sql#5990 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
jesdga95/basalt#747 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Device]: Share verified Stage 1-5 benchmarks for Samsung One UI, Xiaomi HyperOS, and Pixel/AOSPApertadevice-compatibility help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
siyuan-note/siyuan#21691 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
webtides/element-js#201 ·
I maintainer di solito rispondono entro 1 giorno