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

Add support for working with binary indexes. #79

Closed

Conversation

aalekhpatel07
Copy link

@aalekhpatel07 aalekhpatel07 commented Mar 24, 2024

This is an attempt to provide first-class support for Faiss binary indexes consuming the C API (along with a couple of utility functions introduced in Enet4/faiss#1)

PS: Still a WIP but I just wanted to have something to share in case I misunderstood something and was going down the wrong path.

This should be complete in terms of functionality (at least for a default BinaryIndexImpl) so I'm hoping to learn of any major concerns before continuing down this path and adding the IndexBinaryFlat, IndexBinaryHNSW, etc, concrete impls.

Enet4 and others added 4 commits March 24, 2024 10:42
- checkout faiss commit referring to v1.8.0
- update gen_bindings.sh to use the latest bindgen version
- update bindings.rs and bindings_gpu.rs
- no longer exists in Faiss 1.8.0
…macros for binary indexes.

Signed-off-by: Aalekh Patel <aalekh.gwpeck.7998@icloud.com>
Signed-off-by: Aalekh Patel <aalekh.gwpeck.7998@icloud.com>
Signed-off-by: Aalekh Patel <aalekh.gwpeck.7998@icloud.com>
Signed-off-by: Aalekh Patel <aalekh.gwpeck.7998@icloud.com>
@aalekhpatel07 aalekhpatel07 marked this pull request as ready for review March 24, 2024 20:23
Signed-off-by: Aalekh Patel <aalekh.gwpeck.7998@icloud.com>
@Enet4 Enet4 force-pushed the change/faiss-v1.8.0 branch from c990326 to f0820cb Compare March 27, 2024 12:23
@Enet4 Enet4 deleted the branch Enet4:change/faiss-v1.8.0 March 27, 2024 13:45
@Enet4 Enet4 closed this Mar 27, 2024
@Enet4
Copy link
Owner

Enet4 commented Mar 27, 2024

Hey @aalekhpatel07, I have merged #77 in the meantime, so please feel free to recreate the pull request onto the upstream branch.

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.

3 participants