faiss-wheels icon indicating copy to clipboard operation
faiss-wheels copied to clipboard

Compatibility issue with faiss-cpu wheels on arm64 vs x86

Open NikhilSehgal123 opened this issue 1 year ago • 9 comments

Describe the bug FAISS has different wheels for arm64 chips & Intel/AMD chips. If you vectorise a document using arm64, you should use FAISS to interact with this document on a arm64 machine.

So right now, my mac is arm64 and I vectorised docs on my mac using the arm64 wheel. However in the Azure functions, it attempts to use the Intel wheel which is slightly different. Intel/AMD chips use something called AVX2 support in FAISS (no idea what it actually is but it's different to the way arm64 machines use FAISS).

How can this be solved? Normalise the wheels across all architectures to solve this compatibility issue problem - happy to help?

NikhilSehgal123 avatar Apr 27 '23 08:04 NikhilSehgal123