facebookresearch / faiss

A library for efficient similarity search and clustering of dense vectors.
https://faiss.ai
MIT License
30.24k stars 3.54k forks source link

support parallel_mode #1023

Open lockeliu opened 4 years ago

lockeliu commented 4 years ago

Now IndexIVF.h support parallel_mode:

      * 0 (default): parallelize over queries
      * 1: parallelize over over inverted lists
      * 2: parallelize over both

can IndexBinaryIVF support too?

mdouze commented 4 years ago

The different parallel modes are a bit fragile on the non-binary IndexIVF so it is unlikely that we support them on the binary one soon.