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

[FEA] Scale brute-force KNN by reducing distance computations #3998

Open
cjnolet opened this issue Jun 18, 2021 · 1 comment
Open

[FEA] Scale brute-force KNN by reducing distance computations #3998

cjnolet opened this issue Jun 18, 2021 · 1 comment
Labels
feature request New feature or request inactive-90d

Comments

@cjnolet
Copy link
Member

cjnolet commented Jun 18, 2021

This is an official issue to track work on accelerating brute-force KNN by reducing distance computations. This is especially useful for distances such as Haversine where the trigonometry can be very expensive.

Initially, I'm working on a PoC for the Random Ball Cover algorithm rapidsai/raft#213 which has been shown to be effective on GPUs.

Another option is to port the popular nearest-neighbors descent algorithm to the GPU, which is currently implemented on the CPU in FAISS. A Python implementation of this algorithm has also been created by Leland McInnes and is used in UMAP.

The end-goal for either of these algorithms would ultimately be to contribute them to FAISS if they are interested in them. If we can make any speedups significant then we'll probably want to use them more broadly.

@cjnolet cjnolet added feature request New feature or request ? - Needs Triage Need team to review and classify labels Jun 18, 2021
@cjnolet cjnolet removed the ? - Needs Triage Need team to review and classify label Jun 18, 2021
@github-actions
Copy link

This issue has been labeled inactive-90d due to no recent activity in the past 90 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request inactive-90d
Projects
None yet
Development

No branches or pull requests

1 participant