Skip to content

Migrate IVF-Flat from RAFT#94

Merged
rapids-bot[bot] merged 40 commits intorapidsai:branch-24.06from
divyegala:24.06-ivfflat-migration
May 16, 2024
Merged

Migrate IVF-Flat from RAFT#94
rapids-bot[bot] merged 40 commits intorapidsai:branch-24.06from
divyegala:24.06-ivfflat-migration

Conversation

@divyegala
Copy link
Copy Markdown
Member

No description provided.

@divyegala divyegala added feature request New feature or request non-breaking Introduces a non-breaking change labels Apr 24, 2024
@divyegala divyegala self-assigned this Apr 24, 2024
@divyegala divyegala requested review from a team as code owners April 24, 2024 23:35
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Apr 24, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@divyegala
Copy link
Copy Markdown
Member Author

/ok to test

@divyegala
Copy link
Copy Markdown
Member Author

/ok to test

@divyegala
Copy link
Copy Markdown
Member Author

/ok to test

Comment thread cpp/include/cuvs/neighbors/detail/ivf_flat_search.cuh
Comment thread cpp/include/cuvs/neighbors/detail/ivf_flat_build.cuh
Comment thread cpp/src/neighbors/ivf_flat/ivf_flat_extend_float_int64_t.cu
@divyegala
Copy link
Copy Markdown
Member Author

/ok to test

@divyegala
Copy link
Copy Markdown
Member Author

/ok to test

@divyegala
Copy link
Copy Markdown
Member Author

/ok to test

Comment thread cpp/test/neighbors/ann_ivf_flat.cuh
Comment thread cpp/include/cuvs/neighbors/ivf_flat_helpers.cuh Outdated
@divyegala
Copy link
Copy Markdown
Member Author

/ok to test

Comment thread cpp/include/cuvs/neighbors/ivf_flat_helpers.hpp Outdated
Comment thread cpp/src/neighbors/ivf_flat/ivf_flat_helpers.cu Outdated
Comment thread cpp/src/neighbors/ivf_flat/ivf_flat_helpers.cu Outdated
Comment thread cpp/include/cuvs/neighbors/ivf_flat_helpers.hpp Outdated
Comment thread cpp/src/neighbors/ivf_flat/ivf_flat_helpers.cu Outdated
@divyegala
Copy link
Copy Markdown
Member Author

/ok to test

Comment thread cpp/include/cuvs/neighbors/ivf_flat_helpers.hpp Outdated
@divyegala
Copy link
Copy Markdown
Member Author

/ok to test

@divyegala
Copy link
Copy Markdown
Member Author

/ok to test

@divyegala
Copy link
Copy Markdown
Member Author

/ok to test

namespace codepacker {
namespace detail {
template <typename T, typename IdxT>
void pack(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please move these into "ivf_flat_helpers.cuh" with the other templates so they can be used more broadly than just within this source file if needed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

These methods already are in the public API. Should I still move them?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, please move the templates to ivf_flat_helpers.cuh. I understand they are being instantiated here, but templates are far more useful (and reusable) in header files.

Copy link
Copy Markdown
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.

I went ahead and implemented the last change in my PR downstream .

@cjnolet
Copy link
Copy Markdown
Member

cjnolet commented May 16, 2024

/merge

@rapids-bot rapids-bot Bot merged commit bd7df64 into rapidsai:branch-24.06 May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMake cpp feature request New feature or request non-breaking Introduces a non-breaking change

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants