Skip to content

mlxVS 0.6.0

Choose a tag to compare

@mikepapadim mikepapadim released this 12 Nov 12:00
· 17 commits to main since this release

mlxVS 0.6.0: filtered search and seed nodes, as cuVS.

pip install -U mlxvs
  • Filtered search, as cuVS's bitset filter: graph_search(..., filter=) (and CagraIndex.search) takes a bool mask
    [n] or a bitset uint32 [ceil(n / 32)]. Rejected rows are still traversed but leave the list once expanded
    and are never returned; multi-CTA's list grows with the filtering rate as cuVS's (filtering_rate, computed from
    the filter by default). SIFT1M, 10% of rows allowed: recall@10 0.978 multi-CTA (single-CTA, as in cuVS, 0.74 at
    itopk_size 64 and 0.86 at 256).
  • Seed nodes, as cuVS's seed_ptr: seeds= [nq, num_seeds] start nodes per query.
  • C API: mlxvs_index_search_filtered and mlxvs_index_search_seeded.
  • The README's roadmap records an experiment left out: Vamana graphs from search-path candidates (DiskANN's) stay
    below CAGRA's graph on SIFT1M for four to five times the build time.