reproduce 4bit pq performance
chasingegg opened this issue · comments
Summary
Platform
OS:
Faiss version:
Installed from:
Faiss compilation options:
Running on:
- CPU
- GPU
Interface:
- C++
- Python
Reproduction instructions
4ibt PQ SIMD is super fast, and I can easily reproduce the result with the conda package. However, when I try to reproduce the result by building from source, I just fail to reproduce, about 0.15s -> 2.5s degration. And I find out the mkl is successfully found by cmake. There is also a similar issue #1609 but could be fixed by setting mkl lib path. Anyone knows why?
Is it possible that your build command line does not enable AVX2?
I see the reason.. There are two libs named faiss and faiss_avx2, although I enabled AVX2, I didn't link the avx2 version faiss... It is kind of weird that we have two libs.