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

CAGRA Python wrappers #1665

Merged
merged 16 commits into from
Jul 31, 2023
Merged

Conversation

dantegd
Copy link
Member

@dantegd dantegd commented Jul 24, 2023

First verstion of a CAGRA API in pylibraft.

Todos:

@cjnolet cjnolet added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jul 24, 2023
@github-actions github-actions bot added the ci label Jul 26, 2023
@github-actions github-actions bot removed the ci label Jul 26, 2023
Copy link
Contributor

@tfeher tfeher left a comment

Choose a reason for hiding this comment

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

Started to look at this, overall it looks nice, but had only a superficial view. From the current state of the API, it is not clear what is the use of the seprate build_knn_graph and optimize methods. They make sense if we can construct an index using their output. I have left a note at the index construction along this line.

Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

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

Thanks so much for whipping up this feature at the last minute! I think most of the things are topical (doc related) from what I can tell.

python/pylibraft/pylibraft/neighbors/cagra/cagra.pyx Outdated Show resolved Hide resolved
python/pylibraft/pylibraft/neighbors/cagra/cagra.pyx Outdated Show resolved Hide resolved
python/pylibraft/pylibraft/neighbors/cagra/cagra.pyx Outdated Show resolved Hide resolved
python/pylibraft/pylibraft/neighbors/cagra/cagra.pyx Outdated Show resolved Hide resolved
python/pylibraft/pylibraft/neighbors/cagra/cagra.pyx Outdated Show resolved Hide resolved
python/pylibraft/pylibraft/neighbors/cagra/cagra.pyx Outdated Show resolved Hide resolved
python/pylibraft/pylibraft/neighbors/cagra/cagra.pyx Outdated Show resolved Hide resolved
python/pylibraft/pylibraft/neighbors/cagra/cagra.pyx Outdated Show resolved Hide resolved
python/pylibraft/pylibraft/neighbors/cagra/cagra.pyx Outdated Show resolved Hide resolved
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

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

LGTM, but since I made some changes I'd prefer @dantegd to look over them before we merge.

Copy link
Member Author

@dantegd dantegd left a comment

Choose a reason for hiding this comment

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

The changes lgtm @cjnolet , thanks for applying them!

@raydouglass raydouglass marked this pull request as ready for review July 31, 2023 16:17
@raydouglass raydouglass requested a review from a team as a code owner July 31, 2023 16:17
@raydouglass raydouglass requested review from a team as code owners July 31, 2023 16:17
@raydouglass raydouglass merged commit c87af2d into rapidsai:branch-23.08 Jul 31, 2023
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.

4 participants