Repository navigation
mlxVS 0.10.0
mlxVS 0.10.0: CagraIndex.extend and IvfFlatIndex.
pip install -U mlxvsCagraIndex.extend(C++cagra_extend), as cuVS'scagra::extend: each new row's2 * degreenearest rows
come from a graph search and are pruned todegreeby rank-based detour counts; each of its firstdegree / 2
neighbors gives it the second-half slot of its neighbor with the most incoming edges; its list interleaves its
own neighbors with those displaced. 18,000 rows extended by 2,000 search as well as an index built on all
20,000 (recall@10 0.9994 against 0.9998).IvfFlatIndex(C++ivf_flat_build,ivf_flat_search,ivf_flat_extend), as cuVS's IVF-Flat: k-means lists,
then_probeslists of nearest center scanned exactly. The scan groups (query, list) pairs by list, so each
threadgroup reads a list's rows once for up to 16 queries. SIFT1M, 1024 lists, built in 9.5 s: recall@10 0.954
at 35,700 queries/s (n_probes20), 0.993 at 17,300 (50).saveandloadas one.safetensorsfile.