Built by Apple for M-series hardware. Uses the unified memory pool, so RAM is VRAM. mlx-community mirrors most open models with 4-bit quants ready. Apple-native 4-bit. Best price/performance on M-series.
What MLX expects you to type to serve DeepSeek-V2.5 at MLX 4-bit. Adjust the paths for your filesystem; the structure holds.
pip install mlx-lm mlx_lm.generate \ --model mlx-community/deepseek-v2-5-4bit \ --max-tokens 1024 \ --prompt "Hello"
MLX 4-bit — Apple-native 4-bit. Best price/performance on M-series.
Expect to need around 134 GB of VRAM to hold the weights at this precision. This is a mixture-of-experts model: all 236B params load into memory, but only about 21B are active per generated token. That means load VRAM is large but compute scales with the active count — tok/s on a serving stack like vLLM reflects the smaller number. Fits on 2× H100 — 160 GB — Tensor-parallel across two cards.
The bridge model between V2 and V3; cheap inference proving ground for MLA.