-
Notifications
You must be signed in to change notification settings - Fork 533
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
Remove cutlass usage in row major input for euclidean exp/unexp, cosine and L1 distance matrix #3589
Conversation
…nce matrix calculation. make use of contraction kernels for gemm NT calculation. add PairwiseDistances class which will serve as common class for other distance metrics like cosine as well
Can one of the admins verify this patch? |
…lculation. instead use PairwiseDistances/contraction class kernel for it
…ation. instead use PairwiseDistances/contraction class kernel for it
Ok to test |
Add to allowlist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just started reviewing this code. Some initial comments while I go through the rest of the PR.
…de of l2,cosine to base class, move sqrt case from base class to epilog, make use of assert instead of if
…are required, also update git tag of raft to check if it fixes CI issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM
@dantegd one of the |
rerun tests |
Attaching performance results with |
@gpucibot merge |
Remove cutlass usage in row major input for euclidean exp/unexp distance matrix calculation.
make use of contraction kernels for gemm NT calculation.
add PairwiseDistances class which will serve as common class for other distance metrics like cosine as well