faiss/tests
Matthijs Douze 189aecb224 Fix polysemous OOM
Summary: Polysemous training can OOM because it uses tables of size n^2 with n is 2**nbit of the PQ. This throws and exception when the table threatens to become too large. It also reduces the number of threads when this would make it possible to fit the computation within max_memory bytes.

Reviewed By: wickedfoo

Differential Revision: D26856747

fbshipit-source-id: bd98e60293494e2f4b2b6d48eb1200efb1ce683c
2021-03-06 00:40:05 -08:00
..
CMakeLists.txt
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 NNDescent to faiss (#1654) 2021-02-25 16:48:28 -08: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 Add range search accuracy evaluation 2020-12-17 17:17:09 -08:00
test_factory.py Fix copy construction of AlignedTable 2021-02-15 00:13:50 -08: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 Ensure that invalid k/nprobe search input parameters to Faiss / Faiss GPU don't crash 2021-03-03 21:17:28 -08:00
test_index_accuracy.py Fix polysemous OOM 2021-03-06 00:40:05 -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 Add range search accuracy evaluation 2020-12-17 17:17:09 -08: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
test_referenced_objects.py
test_refine.py
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