Skip to content

mlxVS 0.5.0

Choose a tag to compare

@mikepapadim mikepapadim released this 12 Nov 11:28
· 18 commits to main since this release

mlxVS 0.5.0: a C API, and mlxvs from Java through the FFM API.

pip install -U mlxvs
  • A C API, include/mlxvs/mlxvs_c.h in libmlxvs_c.dylib: an index handle (mlxvs_index_build, _search,
    _save, _load, _from_graph, _graph), mlxvs_brute_force_knn, parameter structs with cuVS's defaults,
    status codes and mlxvs_last_error. Only the mlxvs_* symbols are exported. Indexes are CagraIndex's
    .safetensors files: built in Python, they load in C, and the other way round.
  • examples/java_ffm: mlxvs from Java 22+ through the Foreign Function and Memory API, no JNI.
  • cmake --install installs the C library and header.