Skip to content
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

Fix cagra graph opt bug #2365

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

enp1s0
Copy link
Member

@enp1s0 enp1s0 commented Jun 18, 2024

backport of rapidsai/cuvs#192

There is a bug in the current CAGRA graph rank-based neighbor reordering process. A low recall or illegal memory access can occur if there are many detourable nodes from a node to its neighbors, e.g. there is a small subgraph in the initial kNN graph. This PR fixes this.

@enp1s0 enp1s0 requested a review from a team as a code owner June 18, 2024 02:31
@github-actions github-actions bot added the cpp label Jun 18, 2024
@enp1s0 enp1s0 self-assigned this Jun 18, 2024
@enp1s0 enp1s0 added bug Something isn't working non-breaking Non-breaking change labels Jun 18, 2024
Copy link
Contributor

@tfeher tfeher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @enp1s0!

@tfeher
Copy link
Contributor

tfeher commented Jun 19, 2024

/merge

@rapids-bot rapids-bot bot merged commit b86a5f9 into rapidsai:branch-24.08 Jun 19, 2024
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cpp non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants