-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port NN-descent algorithm to use in cagra::build()
#1748
Conversation
Fix the bug of unexpected hang
Fix bugs in NN-Descent
/ok to test |
This reverts commit 0496bd9.
/ok to test |
/ok to test |
/ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @divyegala for addressing the issues so far! I have marked two smaller items to be addressed, otherwise the PR looks good to me, pre-approving.
/ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is almost there. Most of what's left is trivial clean up things (aside from the follow-on items)
const size_t internal_node_degree, | ||
const size_t num_samples); | ||
void init_random_graph(); | ||
// Use Bloom filter to sample "new" neighbors for local joining |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add todo comment for this and reference the GitHub issue in the code.
/ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
/ok to test |
/merge |
/ok to test |
/merge |
graph_build_algo
build param to CAGRA ann-bench for benchmarking builds with IVF-PQ or NN-DescentRecall Value comparison of RAFT nn-descent vs cuANN nn-descent