llamaperf

Llama 2 7B

on Apple M2 Pro (Mac mini, 16 GPU cores; one participating GPU; RAM unreported) · llama.cpp

Oct 13, 2026
Throughput
21.0 t/s gen · 58.9 tokens/s prompt processing (prefill)Prompt processing is how fast the input is read, not how long you wait for the first word. How to measure time to first token.
Quant
Q4_0 (GGUF)
Flash Attention
on
MTP (Multi-Token Prediction)
off

Summary

User reports llama 7B Q4_0 at 21 t/s generation and 58.9 t/s prompt processing on an Apple M2 Pro Mac mini with 16 GPU cores. Setup is llama.cpp build 6182 with Vulkan, ngl=100 and flash attention, running on one physical GPU under Asahi Linux. The PP512 and TG128 figures are separate synthetic tests, not one 512-input/128-output request; the source rates are 58.86 and 20.97 t/s.

Download this model

Llama 2 7B on Hugging Face in the quant this report ran, Q4_0.

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.

Llama 2 7B at 4-bit by hardware

Bars are medians on one scale, 0 to 72.4 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.

Every Llama 2 report →