-
Notifications
You must be signed in to change notification settings - Fork 86
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
Prerequisites for FAISS HNSW #731
Prerequisites for FAISS HNSW #731
Conversation
Signed-off-by: Alexandr Guzhva <alexanderguzhva@gmail.com>
Signed-off-by: Alexandr Guzhva <alexanderguzhva@gmail.com>
Signed-off-by: Alexandr Guzhva <alexanderguzhva@gmail.com>
Signed-off-by: Alexandr Guzhva <alexanderguzhva@gmail.com>
…gned Signed-off-by: Alexandr Guzhva <alexanderguzhva@gmail.com>
Signed-off-by: Alexandr Guzhva <alexanderguzhva@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #731 +/- ##
=========================================
+ Coverage 0 71.97% +71.97%
=========================================
Files 0 70 +70
Lines 0 5160 +5160
=========================================
+ Hits 0 3714 +3714
- Misses 0 1446 +1446 |
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
template <class C> | ||
inline void heap_push( | ||
size_t k, | ||
std::pair<typename C::T, typename C::TI>* bh, |
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.
Curios about why we need to add another function with pair
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexanderguzhva, liliu-z The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
A collection of small tweaks that might be needed in the future.
nhops
, which is a number of different nodes visited through a single query searchPQDecoder8
std::pair<dis,ids>
formatHNSW::upper_beam != 1
search use caseHNSW::MinimaxHeap::pop_min
Additionally, fixes a bug in
ScalarQuantizerCoder_avx512
Corresponding baseline Faiss PR: facebookresearch/faiss#3692
/kind improvement