Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

MLX

Also: mlx-lm, mlx_lm

In plain words

Apple's own software for running AI models on Macs with Apple chips. Often the fastest choice on a Mac.

The fuller definition

MLX is Apple's machine-learning framework for Apple Silicon, and mlx-lm is its package for running language models. It is often the fastest way to run models on a Mac.

How it fits together
  1. Install

    pip install mlx-lm

  2. Model

    MLX format

  3. Run

    Apple Silicon only

A simplified relationship, not a screenshot or a complete design.

A concrete example

pip install mlx-lm installs a command-line tool that can chat with a model on a Mac.

The distinction that matters

MLX runs only on Apple Silicon and uses its own model format, separate from GGUF.

Related terms

Where it is taught

APIs and JSON: connect a model to a small program

Source and further reading

MDN · Web technology glossary

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC