faiss/tests
Matthijs Douze bb3c52a057 IndexResidual codec
Summary:
This diff adds the following to bring the residual quantizer support on-par with PQ:
- IndexResidual can be built with index factory, serialized and used as a Faiss codec.
- ResidualCoarseQuantizer can be used as a coarse quantizer for inverted files.

The factory string looks like "RQ1x16_6x8" which means a first 16-bit quantizer then 6 8-bit ones. For IVF it's "IVF4096(RQ2x6),Flat".

Reviewed By: sc268

Differential Revision: D27865612

fbshipit-source-id: f9f11d29e9f89d3b6d4cd22e9a4f9222422d5f26
2021-04-26 20:26:43 -07:00
..
CMakeLists.txt Add separate targets for libfaiss/libfaiss_avx2. (#1772) 2021-03-26 14:28:16 -07:00
common.py
test_autotune.py
test_binary_factory.py
test_binary_flat.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_binary_hashindex.py Fix order of results for IndexBinaryHash and IndexBinaryMultiHash 2021-02-08 18:22:55 -08:00
test_binary_io.py
test_build_blocks.py add ResidualQuantizer 2021-04-14 13:11:54 -07:00
test_clustering.py add ResidualQuantizer 2021-04-14 13:11:54 -07:00
test_contrib.py Add preassigned functions to contrib 2021-02-25 11:39:07 -08:00
test_dealloc_invlists.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_documentation.py Add docstrings for most of the replaced index methods 2021-03-05 17:19:17 -08:00
test_extra_distances.py
test_factory.py Support NSG in the index factory (#1758) 2021-03-23 07:28:20 -07:00
test_fast_scan.py Re-enable fast scan on Windows tests (#1663) 2021-02-03 07:48:52 -08:00
test_fast_scan_ivf.py Re-enable fast scan on Windows tests (#1663) 2021-02-03 07:48:52 -08:00
test_index.py Use BLAS to compute sdc table (#1809) 2021-04-16 00:17:51 -07:00
test_index_accuracy.py Add NSG (#1707) 2021-03-10 15:03:00 -08:00
test_index_binary.py Handle the situation where nprobe > nlist in IndexBinaryIVF (#1695) 2021-02-23 12:20:37 -08:00
test_index_binary_from_float.py Fix inefficient float / binary conversion 2021-03-01 21:43:31 -08:00
test_index_composite.py
test_io.py Implement serialization of indexes 2021-02-19 12:08:27 -08:00
test_ivflib.py Handle the situation where nprobe > nlist in IndexBinaryIVF (#1695) 2021-02-23 12:20:37 -08:00
test_ivfpq_codec.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_ivfpq_indexing.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_lowlevel_ivf.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_merge.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_meta_index.py Small fixes for compilation on ARM (#1655) 2021-01-29 10:06:45 -08:00
test_omp_threads.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_omp_threads_py.py
test_ondisk_ivf.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_oom_exception.py Portable SWIG Vectors (#1742) 2021-04-02 07:11:47 -07:00
test_pairs_decoding.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_params_override.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_partition.py Fix unused variables in python 2021-02-24 11:52:18 -08:00
test_pq_encoding.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_product_quantizer.py Use BLAS to compute sdc table (#1809) 2021-04-16 00:17:51 -07:00
test_referenced_objects.py
test_refine.py
test_residual_quantizer.py IndexResidual codec 2021-04-26 20:26:43 -07:00
test_sliding_ivf.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_standalone_codec.py Fix unused variables in python 2021-02-24 11:52:18 -08:00
test_threaded_index.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
test_transfer_invlists.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
torch_test_contrib.py