Navigate:
~$MLX0.1%

MLX: Array framework for Apple silicon machine learning

Lazy-evaluated NumPy-like arrays optimized for Apple silicon.

LIVE RANKINGS • 06:52 AM • STEADY
TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100
OVERALL
#99
16
AI & ML
#47
9
30 DAY RANKING TREND
ovr#99
·AI#47
STARS
23.4K
FORKS
1.4K
DOWNLOADS
1
7D STARS
+29
7D FORKS
+7
Tags:
See Repo:
Share:

Learn more about mlx

MLX is an array computation framework designed specifically for machine learning workloads on Apple silicon processors. It implements lazy evaluation with dynamic graph construction, allowing computations to be deferred until results are needed and computation graphs to adapt to changing input shapes without recompilation. The framework features a unified memory model where arrays reside in shared memory accessible by both CPU and GPU devices without explicit data transfers. Common use cases include training transformer models, fine-tuning large language models with techniques like LoRA, and running inference for generative tasks on macOS and iOS devices.

mlx

1

Unified memory architecture

Arrays live in shared memory accessible by both CPU and GPU without requiring explicit data transfers between devices. Operations can transparently execute on either device type.

2

Dynamic graph construction

Computation graphs are built at runtime rather than pre-compiled, allowing function arguments to change shapes without triggering recompilation or requiring graph tracing.

3

Multi-language API consistency

Python, C++, C, and Swift APIs closely mirror each other, with higher-level packages like mlx.nn and mlx.optimizers following PyTorch conventions for model building.


import mlx.core as mx

a = mx.array([1, 2, 3, 4])
b = mx.array([5, 6, 7, 8])
c = a + b
print(c)

vv0.29.4

Release notes contain only a rocket emoji with no technical details provided.

  • Release notes do not specify breaking changes, requirements, or migration steps.
  • No bug fixes, security patches, or new capabilities are documented in the provided text.
vv0.29.3

Release notes do not specify changes, breaking updates, or requirements.

  • No actionable information provided in the release notes for this version.
  • Review commit history or changelog separately to identify actual changes before upgrading.
vv0.29.2

Release notes contain only an upward arrow emoji with no technical details provided.

  • Release notes do not specify breaking changes, new features, or bug fixes.
  • Consult the project's commit history or changelog for actual changes in this version.


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers