Open Di-Is opened 4 months ago
When faiss is built as a static library for GPUs, a static library named libfaiss_gpu.a is generated. However, this library is not installed.
OS: Ubuntu 22.04/Centos7
Faiss version: v1.8.0
Installed from: source
Faiss compilation options:
Running on:
Interface:
The build and library installation commands are shown below.
# Install command cmake . \ -B build \ -DFAISS_ENABLE_GPU=ON \ -DFAISS_ENABLE_PYTHON=OFF \ -DBUILD_TESTING=OFF \ -DFAISS_OPT_LEVEL="generic" \ -DCMAKE_BUILD_TYPE=Release && \ cmake --build build --config Release -j3 && \ cmake --install build
After executing the command, I check /usr/local/lib and /usr/local/lib64 and libfaiss_gpu.a is not copied.
ls /usr/local/lib | grep libfaiss_gpu.a ls /usr/local/lib64 | grep libfaiss_gpu.a
The objective was to merge the object files from libfaiss_gpu.a entirely into libfaiss*
Summary
When faiss is built as a static library for GPUs, a static library named libfaiss_gpu.a is generated. However, this library is not installed.
Platform
OS: Ubuntu 22.04/Centos7
Faiss version: v1.8.0
Installed from: source
Faiss compilation options:
Running on:
Interface:
Reproduction instructions
The build and library installation commands are shown below.
After executing the command, I check /usr/local/lib and /usr/local/lib64 and libfaiss_gpu.a is not copied.