Closed achirkin closed 5 days ago
This looks suspect https://github.com/rapidsai/cuvs/blob/67684ba4b5b347023306e194b2d3765280a49767/cpp/src/neighbors/detail/cagra/graph_core.cuh#L478-L479 specifically if you consider how it is used in line 501 below.
I could not reproduce the error locally. But I have filed a fix for the issue that I have found while reviewing the relevant code parts: #380
Describe the bug CAGRA fails with cudaErrorIllegalAddress in
cuvs::neighbors::cagra::detail::graph::optimize
when the total (internal) graph size exceeds the uint32_t range.Steps/Code to reproduce bug This is observed on 100M+ subset of BIGANN dataset (but passes to completion with 10M subset), CAGRA-build with all default settings
Debug output and error trace