There are several open-source libraries that provide implementations for ANN search. The most popular one is perhaps FAISS [1]}. It contains algorithms that search in sets of vectors of any size, up to the ones that possibly do not fit in RAM. FAISS is written in C++ with complete wrappers for Python/numpy. Some of the most useful algorithms are implemented on the GPU.
