-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Enable Intel ScalableVectorSearch support #4548
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
base: main
Are you sure you want to change the base?
Conversation
Support LVQ/LeanVec runtime quantization level
Enable SVS LeanVec
Support SVS index factory
|
Hi @mnorris11 thanks for the feedback. I addressed all open comments. One more question: Do you want to enable the SVS build plus the new tests in your CI? Should we do that as part of this PR? |
|
Sure, feel free to add in this PR. Code pointers:
|
check supported storage kind in constructor
fix double free
Add SVS CI workflows
|
@mnorris11 |
|
|
Also, it would be nice to have an instruction on how to install SVS. Or whether a user needs to do anything about it, package, distrubute, etc. I see that currently it is downloaded locally if you build the Faiss from the source. But the directory with a built faiss library (say, A quick how-to instruction would be appreciated by users, I suppose. |
O_o |
Totally agree, we'll work on that. |
The error message is incorrect, it should be "Effective size (20) cannot be larger than capacity (10)". The capacity parameter sets the size of the search buffer (that keeps track of the neighbors visited so far) and that cannot be smaller than the search window size. We'll fix that! |
Update SVS_URL to latest binary
Pull Request resolved: #4450
This pull request introduces support for Intel ScalableVectorSearch, integrating Intel's proprietary LVQ and LeanVec technologies in binary form. The following index types are now supported:
IndexSVSVamana,IndexSVSVamanaLVQ,IndexSVSVamanaLeanVec, andIndexSVSFlat.IndexSVSVamanaandIndexSVSFlatutilizes SVS open-source float32/float16/int8 implementation.Key features and enhancements include:
search,add, andremove_idsrange_searchtutorial/directoryFAISS_ENABLE_SVSflag to allows users to optionally enable SVSTODOs:
IndexSVSIVFandIndexSVSFlatwith LVQ and LeanVec