-
Notifications
You must be signed in to change notification settings - Fork 194
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
IVF-Flat sample filter is not applied in all required places #1620
Labels
Comments
The call to |
True, the filtering was still adding neighbors that didn't pass the test to the queue. I am fixing this in PR #1831 |
rapids-bot bot
pushed a commit
that referenced
this issue
Nov 6, 2023
PR based on the new Bitset feature (#1803) to support vector deletion in ANN. Closes #1177. Closes #1620. This PR adds `ivf_to_sample_filter` that acts as an intermediate filter to use an IVF index with a bitset filter. Authors: - Micka (https://github.com/lowener) - Corey J. Nolet (https://github.com/cjnolet) Approvers: - William Hicks (https://github.com/wphicks) URL: #1831
github-project-automation
bot
moved this from Todo
to Done
in VS/ML/DM Primitives Release Board
Nov 6, 2023
benfred
pushed a commit
to benfred/raft
that referenced
this issue
Nov 8, 2023
PR based on the new Bitset feature (rapidsai#1803) to support vector deletion in ANN. Closes rapidsai#1177. Closes rapidsai#1620. This PR adds `ivf_to_sample_filter` that acts as an intermediate filter to use an IVF index with a bitset filter. Authors: - Micka (https://github.com/lowener) - Corey J. Nolet (https://github.com/cjnolet) Approvers: - William Hicks (https://github.com/wphicks) URL: rapidsai#1831
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems like the filtering in ivf-flat is not entirely correct, it's only applied to one if case out of the few.
Perhaps, it makes sense to shift the condition further below to the place where the found value is added to the queue.
raft/cpp/include/raft/neighbors/detail/ivf_flat_interleaved_scan-inl.cuh
Lines 740 to 768 in 1034a41
The text was updated successfully, but these errors were encountered: