Llama 2 7B
on Apple M2 Max (Mac Studio; one participating GPU; RAM unknown) · llama.cpp b1550 (8e672efe) / Metal
Summary
User reports a LLaMA-family 7B model at 66 t/s generation and 671.3 t/s prompt processing on a Mac Studio M2 Max with 12 CPU cores and 38 GPU cores.
Setup is llama.cpp build 1550 with Q4_0 quantization, Metal backend, ngl 99, and F16 KV cache, with one Metal GPU participating.
The figures are native llama-bench PP512 and TG128 results, independent synthetic prompt and generation tests rather than a 512-token prompt followed by a 128-token answer.
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
- 72.4 t/s · one run
- NVIDIA GTX 1080 Ti11 GB62.0 t/s · one run
- 52.6 t/s · 6 runs
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.