[BUG] cuVS Bench Faiss CAGRA b_ratio reads the wrong JSON key
Los mantenedores suelen responder en 2 días
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 84/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- cpp
- Área
- performance, tooling
Línea de trabajo
Comienza con cpp/bench/ann/src/faiss/faiss_gpu_benchmark.cu alrededor de las líneas 114-126 y, a continuación, inspecciona la configuración faiss_gpu_cagra_hnsw.yaml enlazada. Reproduce el benchmark de IVF-PQ usando b_ratio sin ratio y añade cobertura de regresión que demuestre que la configuración se analiza y aplica la fracción de entrenamiento solicitada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
The Faiss CAGRA benchmark parser recognizes the IVF-PQ build setting b_ratio, but reads ratio instead. If the configuration contains b_ratio without an unprefixed ratio, it appears to throw nlohmann::json::out_of_range before building. Both faiss_gpu_cagra and faiss_gpu_cagra_hnsw use this parser
Steps/Code to reproduce bug
In the existing Faiss CAGRA to HNSW benchmark configuration, set the build parameters to include:
cagra_build_algo: ["IVF_PQ"]
graph_degree: [44]
intermediate_graph_degree: [192]
b_ratio: [6]
Run the benchmark against a float32 dataset. No unprefixed ratio key is configured.
The parser removes b_ and checks ivf_pq_build_conf.contains("ratio"), then reads conf.at("ratio"). The latter key is absent.
Expected behavior
b_ratio: 6 sets the IVF-PQ training fraction to 1.0 / 6, and the CAGRA build proceeds.
Environment details (please complete the following information):
Inspected the NVIDIA/cuvs main branch on October 1, 2026.
Additional context
This affects benchmark configuration, not the CAGRA builder itself. Omitting b_ratio avoids the apparent exception but does not apply the requested training fraction. The parser could read ivf_pq_build_conf.at("ratio"); a regression test with b_ratio present and ratio absent would cover the case.
- Lenguaje dominante
- Cuda
- Estrellas
- 873
- Forks
- 247
- Merge medio
- 4 d 10 h
- PR fusionados (30 d)
- 73
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
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 2 días
-
doc
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
Upgrade faiss to v1.15.1Abiertofaiss improvement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días
-
[DOC] Lucene: clarify codec behavior and Java test commandsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días
Todos los issues de NVIDIA/cuvs
Issues similares
-
bug priority: high workstream:cache
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
rossoctl/context-guru#707 ·
Los mantenedores suelen responder en 1 día
-
extended_stabilizer: `std::pow(2, p/2.)` in `scalar_t::to_complex()` takes ~40% of runtime on LinuxPosiblemente ocupada @mehmetniyazikayi la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Qiskit/qiskit-aer#2502 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
JuliaGPU/GPUArrays.jl#837 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
glpi-project/glpi#26064 ·
Los mantenedores suelen responder en 1 día
-
area: runtime
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día