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

neighbors::refine_host: check the dataset bounds #1793

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

achirkin
Copy link
Contributor

Check the dataset bounds when computing the distances.
The invalid indexes are expected to come from IVF-PQ due to filtering or insufficient size of the input.

This manifested itself in occasional segfaults in ann-benchmarks when refinement is enabled.

@achirkin achirkin added bug Something isn't working 3 - Ready for Review labels Aug 31, 2023
@achirkin achirkin requested a review from a team as a code owner August 31, 2023 17:05
@github-actions github-actions bot added the cpp label Aug 31, 2023
@achirkin achirkin added the non-breaking Non-breaking change label Aug 31, 2023
@achirkin
Copy link
Contributor Author

achirkin commented Sep 1, 2023

/merge

@rapids-bot rapids-bot bot merged commit 876a375 into rapidsai:branch-23.10 Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review bug Something isn't working cpp non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

2 participants