Llama 2 7B › Apple M4 (10-core GPU)

Llama 2 7B on the Apple M4 (10-core GPU)

Best measured: 24.1 tokens/s generation and 221 tokens/s prompt processing (Q4_0, Metal, FA off).

Every run

QuantBackendGenerate tok/sPrompt tok/sTestBuild / by / notesSource
Q4_0Metal FA off24.1221tg1288e672ef llama.cpp Apple Silicon thread (#4167)
Q8_0Metal FA off13.5224tg1288e672ef llama.cpp Apple Silicon thread (#4167)
F16Metal FA off7.4230tg1288e672ef llama.cpp Apple Silicon thread (#4167)

tg128 = generating 128 tokens; pp512 = reading a 512-token prompt (llama-bench). LocalScore averages several prompt and output lengths, so its numbers run lower than tg128.

Check prices

Amazon

As an Amazon Associate I earn from qualifying purchases.

No card yet?

Try it on a rented GPU (RunPod)

Affiliate link: if you sign up, RigBench may earn a referral credit. It never affects rankings or numbers.

All results for the Apple M4 (10-core GPU) · Llama 2 7B on other hardware