Repository navigation
mlx-learn 0.1.3
Install on Apple Silicon with python -m pip install --upgrade mlx-learn==0.1.3. This release provides wheels for Python 3.10–3.13 and a source distribution.
Added
mlxlearn.cluster.EMeans: Metal implementation of the paper and pinned Faiss e-means recipes, with FP32, FP16, and native BF16 assignment, spherical clustering, final labels, and inertia.mlxlearn.cluster.KMeans: dense FP32 Metal Lloyd clustering with scikit-learn-style methods, multiple initializations, bounded work tiles, final labels, and inertia.- Reproducible benchmark drivers, raw evidence, and reports for the paper datasets and the original Faiss reference.
The five-dataset 10M-vector comparison reports runtime, peak fit memory, and held-out quality against scikit-learn KMeans and Faiss e-means. See the changelog for details.
Both clustering estimators require an Apple Silicon Metal GPU and are imported directly from mlxlearn.cluster.