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

Port C++ CAGRA runtime from RAFT #8

Closed
wants to merge 13 commits into from

Conversation

lowener
Copy link
Contributor

@lowener lowener commented Jan 15, 2024

This PR is porting the CAGRA runtime API from RAFT to cuVS.

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.

Looking great so far! I wanted to share some initial feedback early.

I think we should go ahead and remove all of the headers from the detail namespace and any of the public headers that we're not using. I had originally copied the entire RAFT repo over thinking it might be easy just to rename the VSS bits but it proved harder than I had hoped.

cpp/include/cuvs/neighbors/cagra_types.hpp Show resolved Hide resolved
cpp/include/cuvs/neighbors/cagra.cuh Outdated Show resolved Hide resolved
cpp/include/cuvs/neighbors/detail/cagra/cagra_build.cuh Outdated Show resolved Hide resolved
cpp/src/neighbors/cagra_build.cu Outdated Show resolved Hide resolved
cpp/src/neighbors/cagra_build.cu Outdated Show resolved Hide resolved
cpp/src/neighbors/cagra_search.cu Outdated Show resolved Hide resolved
cpp/src/neighbors/cagra_serialize.cu Outdated Show resolved Hide resolved
src/neighbors/detail/cagra/search_single_cta_float_uint64_dim512_t32.cu
src/neighbors/detail/cagra/search_single_cta_float_uint64_dim1024_t32.cu
#test/neighbors/ann_cagra/test_float_int64_t.cu
#src/neighbors/detail/cagra/search_multi_cta_float_uint64_dim128_t8.cu
Copy link
Member

Choose a reason for hiding this comment

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

We should move the relevant tests over so that we can test end-to-end w/ the new cuvs::neighbors public API.

Copy link
Contributor Author

@lowener lowener Jan 17, 2024

Choose a reason for hiding this comment

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

I kept test/neighbors/ann_cagra to test end-to-end CAGRA

@cjnolet cjnolet marked this pull request as ready for review January 19, 2024 04:12
@cjnolet cjnolet added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Jan 19, 2024
@lowener lowener requested a review from a team as a code owner January 22, 2024 12:52
@cjnolet
Copy link
Member

cjnolet commented Jan 26, 2024

Changes have been merged into #27. Closing this one for now.

@cjnolet cjnolet closed this Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake cpp improvement Improves an existing functionality non-breaking Introduces a non-breaking change vector search
Projects
Development

Successfully merging this pull request may close these issues.

2 participants