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

Using this library on iOS #32

Open
spullara opened this issue May 15, 2023 · 8 comments
Open

Using this library on iOS #32

spullara opened this issue May 15, 2023 · 8 comments

Comments

@spullara
Copy link

iOS doesn't allow for dynamic libraries and things need to be static linked. Has anyone done the work to get this working in that environment?

@spullara
Copy link
Author

Might be related to this issue which mentions statically linking it. #16

@asg017
Copy link
Owner

asg017 commented May 15, 2023

I'll be publishing static files in about a week-ish, which might help here. Though I've never done any ios development so I don't know if it'll work.

Is OpenMP available on iOS? That's a requirement for Faiss, which is pretty tricky to compile. Will you also be statically linking SQLite as well?

@spullara
Copy link
Author

It looks like it allows dynamic libraries if they are in a framework bundle. I'm somewhat of a novice at all this honestly. As for OpenMP it is hard to say. Maybe this is difficult to get working.

https://mac.r-project.org/openmp/

@spullara
Copy link
Author

Looks like maybe this isn't possible right now.

https://github.com/search?q=repo%3Afacebookresearch%2Ffaiss+ios&type=issues

@henningko
Copy link

Not sure if this would be applicable to your use case, but Similarity Search Kit looks promising.

@aehlke
Copy link

aehlke commented Oct 11, 2023

It doesn't have contextual search. I recommend waiting for USearch to land on iOS end of month

@mattvr
Copy link
Sponsor Contributor

mattvr commented Mar 4, 2024

Looks like people have gotten FAISS and OpenMP to build on iOS:

@alew3
Copy link

alew3 commented Jun 8, 2024

any news on this? would be cool to run an embedded vector database.

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

No branches or pull requests

6 participants