Skip to content
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

Build libfaiss with AVX2 support when requested, rather than libfaiss #37

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

abhinavdangeti
Copy link
Member

Authored by: Chris Hillery

Build only avx2 or generic; adapt faiss_c to whichever was built
Also force FAISS_OPT_LEVEL to "generic" when not building on x86_64.

Build only avx2 or generic; adapt faiss_c to whichever was built

Also force FAISS_OPT_LEVEL to "generic" when not building on x86_64.
@abhinavdangeti abhinavdangeti merged commit f077bf9 into bleve Sep 6, 2024
@abhinavdangeti abhinavdangeti deleted the avx2 branch September 6, 2024 22:22
abhinavdangeti added a commit that referenced this pull request Oct 4, 2024
* Build libfaiss with AVX2 support when requested, rather than libfaiss (#37)

Build only avx2 or generic; adapt faiss_c to whichever was built
Also force FAISS_OPT_LEVEL to "generic" when not building on x86_64.

Co-authored-by: Chris Hillery <ceejatec@users.noreply.github.com>

* MB-62230 - Extended c_api to search only specified clusters with params. (#35)

Extended c_api with functions to

1. Return the centroids of an index, in decreasing order of proximity.
2. Search the specified clusters.

* MB-62230 - Updated closest_centroids API to include params (#38)

* Updated API to include params
* Update IndexIVF_c_ex.cpp, fix type casting

---------

Co-authored-by: Abhi Dangeti <abhinav@couchbase.com>

---------

Co-authored-by: Abhi Dangeti <abhinav@couchbase.com>
Co-authored-by: Chris Hillery <ceejatec@users.noreply.github.com>
Co-authored-by: Aditi Ahuja <48997495+metonymic-smokey@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants