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

Remove uint32 distance idx specializations #1235

Conversation

cjnolet
Copy link
Member

@cjnolet cjnolet commented Feb 3, 2023

In addition to removing uint32_t idx specializations from pairwise distances, this splits a few of the remaining distance specializations into separate files so they can be compiled concurrently. Verified cuml is not using any of the uint32_t specializations.

@cjnolet cjnolet added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Feb 3, 2023
@cjnolet cjnolet marked this pull request as ready for review February 3, 2023 15:20
@cjnolet cjnolet requested review from a team as code owners February 3, 2023 15:20
@cjnolet cjnolet changed the base branch from branch-23.02 to branch-23.04 February 3, 2023 15:22
@cjnolet
Copy link
Member Author

cjnolet commented Feb 3, 2023

This PR takes the build of the distance/nn libs down to ~14min on a single arch:

Screenshot from 2023-02-03 10-34-40

@cjnolet
Copy link
Member Author

cjnolet commented Feb 3, 2023

Unfortunately, the end-to-end build is still ~38min (largely due to ivf-flat googletest). I think if we address the ivf-flat googletest then we can get the full build under a half hour. #1194 should help with this as well.

Screenshot from 2023-02-03 11-17-28

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (branch-23.04@f8d3f5b). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@               Coverage Diff               @@
##             branch-23.04    #1235   +/-   ##
===============================================
  Coverage                ?   87.99%           
===============================================
  Files                   ?       21           
  Lines                   ?      483           
  Branches                ?        0           
===============================================
  Hits                    ?      425           
  Misses                  ?       58           
  Partials                ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@benfred benfred left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@cjnolet
Copy link
Member Author

cjnolet commented Feb 3, 2023

/merge

@rapids-bot rapids-bot bot merged commit a850726 into rapidsai:branch-23.04 Feb 3, 2023
@ahendriksen ahendriksen mentioned this pull request Feb 6, 2023
1 task
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
Projects
Development

Successfully merging this pull request may close these issues.

3 participants