Llama 2 7B
on M1 Ultra 64GB · llama.cpp b944 (8183159) / CPU-Accelerate prefill; Metal decode · 512 ctx
Summary
User reports Llama 2 7B Chat Q4_0 at 72.4 t/s generation and 37.8 t/s prompt processing on a 2022 Mac Studio M1 Ultra with 64 GB unified RAM.
Setup is native llama.cpp build 944 with 512 context, batch 512, ngl 32, and 16 CPU threads; the source rates were 72.39 t/s from 27 evaluation runs and 37.75 t/s from 19 tokens.
Single-token evaluation runs on Metal while multi-token prompt evaluation falls back to CPU, so the prompt figure is not GPU-prefill throughput.
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.
Models most run on the M1 Ultra 64GB
- Llama 2 7B4-bit72.4 t/s · one run
Bars are medians on one scale, 0 to 72.4 tokens/s. Press ▶ to watch text arrive at a row's speed.
Everything reported on the M1 Ultra 64GB →Every Llama 2 report →Estimate Llama 2 on this card →