-
Notifications
You must be signed in to change notification settings - Fork 197
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
Python API for IVF-Flat serialization #1516
Python API for IVF-Flat serialization #1516
Conversation
349096b
to
cbcbadd
Compare
f105956
to
acf589b
Compare
if (!index) { RAFT_FAIL("Invalid index pointer"); } \ | ||
*index = raft::neighbors::ivf_flat::deserialize<DTYPE, int64_t>(handle, filename); \ | ||
}; \ | ||
void serialize(raft::resources const& handle, \ |
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.
Note that this is not used by the current PR (only (de)serialize_file is used). But I think this can be used to fix rapidsai/cuml#4743, that motivates to keep it in the PR.
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.
LGTM!
/merge |
This PR adds Python API for IVF-Flat serialization.
closes #752