You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mdouze ah that's interesting.
Did something change about these options in the new build system with cmake ?
On my side I did confirm I have the problem even with (I think) the right flags for avx2 and mkl and the last hypothesis I had was that the environment I used to compile the lib (GitHub action) didn't have the right cpu options itself.
Summary
We're compiling faiss ourselves to produce binaries adapted for our environment, we used the information provided in https://github.com/facebookresearch/faiss/blob/a17a631dc326b3b394f4e9fb63d0a7af475534dc/INSTALL.md
Precisely we're using https://github.com/victor-paltz/JFaiss-CPU/blob/master/Dockerfile to compile.
We observe that our build is much slower (5 times) for search than the build you provide with conda.
Do you have any advice on options/environment to use to get this optimized build?
Platform
OS: centos 7
Faiss version: 1.6.3
Installed from: compiled ourself vs conda 1.6.3
Faiss compilation options: https://github.com/victor-paltz/JFaiss-CPU/blob/master/Dockerfile
We're using MKL
Running on:
Interface:
Reproduction instructions
That's the benchmark script we used to measure the speed:
https://gist.github.com/rom1504/5a6a733dfd4772e497ea159e0395d0f9
Results:
I would appreciate any advise on this, thanks!
The text was updated successfully, but these errors were encountered: