#1111th of 15 in ML frameworks and libraries

mlx

NumPy-style array framework for machine learning on Apple silicon

Stars
28.8k
License
MIT
Last commit
Oct 2026
Last release
Sep 2026
Language
C++
Stars, last 29 weeks+4,247
24 Mar 2026: 24,527 stars31 Mar 2026: 24,717 stars7 Apr 2026: 24,987 stars14 Apr 2026: 25,219 stars21 Apr 2026: 25,441 stars28 Apr 2026: 25,658 stars5 May 2026: 25,817 stars12 May 2026: 25,987 stars19 May 2026: 26,164 stars26 May 2026: 26,305 stars2 Jun 2026: 26,415 stars9 Jun 2026: 26,649 stars16 Jun 2026: 26,956 stars23 Jun 2026: 27,097 stars30 Jun 2026: 27,262 stars7 Jul 2026: 27,376 stars14 Jul 2026: 27,451 stars21 Jul 2026: 27,549 stars28 Jul 2026: 27,662 stars4 Aug 2026: 27,757 stars11 Aug 2026: 27,847 stars18 Aug 2026: 27,984 stars25 Aug 2026: 28,102 stars1 Sept 2026: 28,219 stars8 Sept 2026: 28,329 stars15 Sept 2026: 28,409 stars22 Sept 2026: 28,510 stars29 Sept 2026: 28,597 stars6 Oct 2026: 28,674 stars13 Oct 2026: 28,774 stars

24,527 on 24 Mar 202628,774 on 13 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

MLX is an array framework from Apple machine learning research with Python, C++, C and Swift APIs. It builds lazy, dynamic computation graphs, offers composable transforms for autodiff and vectorization, and includes PyTorch-like mlx.nn and mlx.optimizers packages. Arrays live in unified memory, so CPU and GPU ops share data without copies. Linux CUDA and CPU-only packages exist.

Who it is for: ML researchers and engineers training or running models on Macs

Strengths

  • Python API follows NumPy; mlx.nn and mlx.optimizers follow PyTorch
  • Unified memory: CPU and GPU ops share arrays without transfers
  • Composable transforms for autodiff, vectorization and graph optimization
  • Python, C++, C and Swift APIs; installs via pip on macOS and Linux

Weaknesses

  • Designed for Apple silicon; Linux CUDA and CPU backends are add-on installs
  • Example models live in a separate mlx-examples repo
  • Supported devices are only CPU and GPU per the README
  • Model zoo and ecosystem size compared to PyTorch not stated in README

What it needs

  • GPU optional
  • Models: LLaMA, Stable Diffusion, Whisper, LoRA fine-tuning

Also in ML frameworks and libraries

See all 15
Also in ML frameworks and libraries
RankProjectScore
1transformersModel-definition library for text, vision, audio and multimodal models167.7k starsApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd for deep learning104.9k starscustom license92 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models62.5k starsAGPL-3.086 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.2k starsApache-2.082 out of 100
#5tensorflowTensor and neural network framework with Python and C++ APIs201k starsApache-2.080 out of 100