faiss
faiss copied to clipboard
add batched parallel mode for IVFFLAT
This PR follows #2306. In short, it adds a new parallel mode to IVFFLAT that works well for computation-intensive queries. To use, simply set parallel_mode=4.
I had problems compiling the python version, so a cpp test is provided instead. The issues with -1s are also addressed. @mdouze could you take a look?
Hi @phosphorylation what's the current status of this PR?