Open 152334H opened 3 weeks ago
You also need to set -DFAISS_ENABLE_GPU=ON
, plus any other GPU related option for your environment. When coupled with FAISS_ENABLE_C_API
, this should automatically produce the gpufaiss_c
library.
The suggestion to run
make
in the GPU subfolder does not help.
Oops, that suggestion is outdated. The official building process is no longer directly through GNU Makefiles but through CMake.
Sorry for dumb question. When I follow the instructions here with
-DFAISS_ENABLE_C_API=ON
, I obtainlibfaiss_c.so
with no apparent GPU equivalent in thebuild/c_api/gpu
folder. The suggestion to runmake
in the GPU subfolder does not help.I have checked the pypi/conda packages for gpu faiss and they do not contain the C API shared object either.