TrendWhat rose on GitHub, every day at 07:30 KST · 한국어

GitHub · as of November 26, 2026 · View on GitHub →

ml-explore/mlx

Machine learning array framework

Run model training and inference in a single memory space on Apple chips

When running language models or generating images on a MacBook or iMac, the time wasted moving data between the CPU and GPU is eliminated. MLX is a framework that handles array operations using the unified memory architecture of Apple Silicon. This allows complex models to be trained and deployed naturally within a single memory space.

Shared memory-based computation

MLX stores all arrays in shared memory. This eliminates the need for data transfer between the CPU and GPU. Operations are executed immediately on any supported device, which is a significant advantage on Apple devices with limited memory capacity. Additionally, computations are handled lazily, meaning arrays are only created when their values are actually needed. This design optimizes memory usage and reduces unnecessary processing.

A structure researchers can extend

MLX is designed for machine learning researchers and features a conceptually simple structure. It provides a Python API similar to NumPy and includes high-level packages like mlx.nn and mlx.optimizers that follow PyTorch conventions. Function transformations allow combining automatic differentiation and vectorization, enabling rapid validation of new ideas. Computation graphs are generated dynamically, so changes in function argument shapes do not trigger slow compilation processes. This makes debugging intuitive and provides a foundation for researchers to easily modify and improve the framework itself.

Real-world model applications

MLX provides various examples of real-world model applications. It supports everything from training Transformer-based language models to large-scale text generation using LLaMA. Fine-tuning with LoRA and image generation via Stable Diffusion are also possible. It includes speech recognition using OpenAI's Whisper, allowing for a variety of AI tasks in an Apple Silicon environment. These examples demonstrate that the framework is not just a theoretical tool but is immediately usable for actual research and development.

Installation and usage environment

In macOS environments, it can be easily installed with the pip install mlx command. C++ and Swift APIs are closely integrated with the Python API, allowing for use in various language environments. The documentation provides detailed instructions on how to build from source and run tests.

An option for researchers in the Apple ecosystem

MLX is an optimized tool for researchers and developers using Apple Silicon. It is particularly useful for large-scale model experiments where memory efficiency is critical, or in environments where the data transfer overhead of existing frameworks is a burden. However, currently supported devices are limited to CPU and GPU, and it cannot be used on other hardware platforms. If you want to quickly explore new ideas for research purposes and handle model training and deployment integratively on Apple devices, MLX becomes a strong alternative. Before use, you should verify that your hardware specifications and required model size fit well with MLX's unified memory model.

Written by AI from this repository's README on October 7, 2026. For the facts, the original on GitHub is the reference.

By the numbers

Read from GitHub, as of November 22, 2026. None were read on November 26, 2026.

Language
C++
Topics
mlx
Stars
29,248
Contributors
415
Forks
2,458
Latest release
v0.32.4 · October 14, 2026
Commits
2,549
Last commit
November 22, 2026
Open issues
86
Open pull requests
44

View on GitHub → · Homepage