Llama 2 7B
on M1 Max 64GB · llama.cpp b2296 (d5ab2975) / Metal
Summary
User reports Llama 2 7B Chat at 62.5 t/s generation and 512.2 t/s prompt processing on an M1 Max Mac Studio with 64GB unified memory.
Setup is llama.cpp b2296 with Q2_K_S and Metal, ngl 99, on one GPU.
The figures are separate llama-bench phases, PP512 and TG128, not one chat request; the source rates are 512.21 and 62.49 t/s.
Download this model
This report's quant, Q2_K_S, doesn't name one file of Llama 2 7B.
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 Max 64GB
- Llama 2 7B3-bit46.4 t/s · 7 runs
- Llama 2 7B4-bit52.6 t/s · 6 runs
- Llama 2 7B2-bit49.5 t/s · 6 runs
- Llama 2 7B5-bit40.3 t/s · 3 runs
- 25.2 t/s · one run
- Llama 2 7B16-bit23.2 t/s · one run
Bars are medians on one scale, 0 to 62.5 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 M1 Max 64GB →Every Llama 2 report →Estimate Llama 2 on this card →