IVF: add IDFilter support and set_intra_query_threads in cpp runtime#322
Open
IVF: add IDFilter support and set_intra_query_threads in cpp runtime#322
set_intra_query_threads in cpp runtime#322Conversation
…tch heuristic - bindings/cpp ivf_index/dynamic_ivf_index: SearchParams gains filter_stop and filter_estimate_batch; search() accepts IDFilter*; filter loop mirrors PR #309 adaptive batch heuristic. - Manager classes expose get/set_num_intra_query_threads. - IVFIndex / DynamicIVFIndex: set_threadpool() also rebuilds intra-query thread pools; add set_num_intra_query_threads(). - Tests: 4 new cases mirroring Vamana PR#309 (restrictive filter + filter_stop early-exit, static & dynamic).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings two FAISS-required runtime features to the IVF C++ bindings:
IDFilter-based search to supportSearchParameters::selselectors inIndexSVSIVF.The ability to change the intra-query thread count after
train()/load()(mirrors Vamana).