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

Adding fused_l2_nn_argmin wrapper to Pylibraft #924

Merged

Conversation

cjnolet
Copy link
Member

@cjnolet cjnolet commented Oct 18, 2022

This coincides pretty well w/ the pairwise_distance_armin building block that's being exposed in Scikit-learn, except it's faster and saves a lot of gpu memory by fusing the argmin w/ the pairwise distances so we don't ever have to store the n^2 distances.

cc @betatim

@cjnolet cjnolet added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Oct 18, 2022
@cjnolet cjnolet requested review from a team as code owners October 18, 2022 21:20
@cjnolet cjnolet changed the title Adding fused l2 nn argmin wrapper to pylibraft Adding fused_l2_nn_argmin wrapper to Pylibraft Oct 18, 2022
@cjnolet
Copy link
Member Author

cjnolet commented Oct 19, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 7182819 into rapidsai:branch-22.12 Oct 19, 2022
rapids-bot bot pushed a commit that referenced this pull request Oct 27, 2022
Follow up to #924, removing a `print` that managed to sneak in.

cc @cjnolet

Authors:
  - Tim Head (https://github.com/betatim)

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)

URL: #958
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change python
Projects
Development

Successfully merging this pull request may close these issues.

2 participants