Summary
User reports Llama 3.1 8B at 72.9 t/s generation and 566.4 t/s prompt processing on a single Apple M2 Max with 64 GB unified memory.
Setup is MLX via a direct python -m mlx_lm benchmark, 4-bit quantized, batch size 1, with a requested 512-token prompt and 128-token generation cap.
The figures are three-trial means after discarding Trial 1; peak memory was 5.116 in engine output units, and KV cache precision and prefill chunk size are unreported.
Compare this run
Medians of plain runs: one device, one request, no speculative decoding, the whole model in the device's memory. The report above is one setup, so read it beside them and not as one of them.
Models most run on the M2 Max 64GB
- 77.5 t/s · 2 runs
- 61.6 t/s · one run
- 85.5 t/s · one run
- LFM2 24B · 2B active4-bit117.8 t/s · one run
- Ministral 3 3B4-bit128.3 t/s · one run
- Qwen 2.5 Coder 32B4-bit18.0 t/s · one run
Bars are medians on one scale, 0 to 128.3 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.
Everything reported on the M2 Max 64GB →Every Llama 3.1 report →Estimate Llama 3.1 on this card →