Skip to content

Commit 2d8886c

Browse files
mdouzefacebook-github-bot
authored andcommitted
IVF sorting routine (facebookresearch#2846)
Summary: Pull Request resolved: facebookresearch#2846 Adds a function to ivf_contrib to sort the inverted lists by size without changing the results. Also moves big_batch_search to its own module. Reviewed By: algoriddle Differential Revision: D45565880 fbshipit-source-id: 091a1c1c074f860d6953bf20d04523292fb55e1a
1 parent 4f574d5 commit 2d8886c

14 files changed

+613
-450
lines changed

contrib/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,8 @@ Contains:
6969
- a Python implementation of kmeans, that can be used for special datatypes (eg. sparse matrices).
7070

7171
- a 2-level clustering routine and a function that can apply it to train an IndexIVF
72+
73+
### big_batch_search.py
74+
75+
Search IVF indexes with one centroid after another. Useful for large
76+
databases that do not fit in RAM *and* a large number of queries.

0 commit comments

Comments
 (0)