# MLX

> An array framework for Apple silicon

Source: https://talira.ai/catalog/mlx-xz8zv9bv
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Framework
- Categories: [ai / ml / deep learning frameworks](https://talira.ai/categories/ai/ml/deep-learning-frameworks)
- Platforms: macos, linux[^2]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Backed by: [Apple](https://talira.ai/orgs/apple.md)
- Funding: public company (NASDAQ:AAPL)[^3]

MLX is an array framework for machine learning on Apple silicon from Apple's machine learning research team. It has a Python API that closely follows NumPy, PyTorch-like `mlx.nn` and `mlx.optimizers` packages, and C++, C and Swift APIs that mirror it. Arrays live in unified memory, so operations run on the CPU or GPU without copying data, computation is lazy, graphs are built dynamically, and composable function transformations give automatic differentiation, vectorization and graph optimization. It's installed with pip on macOS, with a CUDA backend and a CPU-only package for Linux, and is used to train and run models, including LLMs, locally on Macs.

## Links

- Website: https://ml-explore.github.io/mlx/
- GitHub: https://github.com/ml-explore/mlx
- Docs: https://ml-explore.github.io/mlx/build/html/index.html

## Problems it solves

- train and run machine learning models efficiently on my Apple Silicon Mac
- run LLMs locally on a Mac using its GPU and unified memory
- a NumPy-like array library that uses the Mac GPU
- fine-tune a model on a MacBook without an NVIDIA GPU
- use machine learning from Swift on Apple platforms
- port a PyTorch model to run natively on Apple Silicon

## Features

- NumPy-like Python API
- PyTorch-like mlx.nn and mlx.optimizers
- C++, C and Swift APIs
- unified memory: no copies between CPU and GPU
- lazy computation and dynamic graphs
- automatic differentiation, vectorization and graph optimization
- CUDA backend and CPU-only package on Linux

## Capabilities

- Has official SDKs: plan not known

## Trust

Overall: 0.37 out of 1.
Signals: backing 0.55, extensibility 0.00.

- backed by Apple
- funding: public company (NASDAQ:AAPL)

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [JAX](https://talira.ai/catalog/jax-pr471rj4.md): Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more
- [llama.cpp](https://talira.ai/catalog/llama-cpp-g0rydd64.md): LLM inference in C/C++
- [Burn](https://talira.ai/catalog/burn-16d6c02a.md): A Rust tensor library and deep learning framework for training and inference on any hardware.
- [TensorFlow](https://talira.ai/catalog/tensorflow-rqdrd1fq.md): An Open Source Machine Learning Framework for Everyone
- [Keras](https://talira.ai/catalog/keras-ysm31q4a.md): Deep Learning for humans
- [PyTorch](https://talira.ai/catalog/pytorch-95ycaf9h.md): Tensors and dynamic neural networks in Python with strong GPU acceleration

## Sources

[^1]: https://github.com/ml-explore/mlx/blob/main/LICENSE (checked 23 Nov 2026)
[^2]: https://github.com/ml-explore/mlx/blob/main/README.md (checked 23 Nov 2026)
[^3]: https://data.sec.gov/submissions/CIK0000320193.json (checked 20 Nov 2026)
