zsz00 / Faiss.jl

Julia wrapper around the Faiss library for similarity search with PythonCall.jl
MIT License
4 stars 2 forks source link

Replace python dependency with Faiss JLL #33

Open stemann opened 3 months ago

stemann commented 3 months ago

It might soon be possible to replace the PythonCall-approach with a JLL: https://github.com/JuliaPackaging/Yggdrasil/pull/8483

zsz00 commented 3 months ago

If have a jll version, that would be great. hope the interface to align with python's faiss.

stemann commented 3 months ago

The easy way would be to use the C API (wrapped via Clang.jl): https://github.com/facebookresearch/faiss/blob/main/c_api/INSTALL.md#using-the-api

On a related note, I see there is already CUDA/GPU support in Faiss.jl, so I guess that would be a requirement for https://github.com/JuliaPackaging/Yggdrasil/pull/8483 - in order to provide a drop-in replacement for using the Python API.