Apple M2 (10-core GPU) × Meta Llama 3.1 8B Instruct

Meta Llama 3.1 8B Instruct on Apple M2 (10-core GPU)

21.6best gen tok/s
187best prompt tok/s
640max context tested
5results

Measured · all numbers below come from the linked sources

llama.cpp

QuantGen tok/sPrompt tok/sSourceContext testedTTFTBuild
Q4_K - Medium21.6187LocalScore ↗512+1286,857 msllamafile 0.9.2
Q4_K - Medium15.2144LocalScore ↗512+1288,926 msllamafile 0.9.2
Q4_K - Medium14.9143LocalScore ↗512+1288,963 msllamafile 0.9.2
Q4_K - Medium14.7142LocalScore ↗512+1289,023 msllamafile 0.9.2
Q4_K - Medium14.0135LocalScore ↗512+1289,488 msllamafile 0.9.2

Ollama

No measured Ollama results yet. Submit yours →

MLX

No measured MLX results yet. Submit yours →

"Context tested" is the largest prompt+generation length actually benchmarked (tokens), not a memory-fit estimate.

What else can Apple M2 (10-core GPU) run? →

Includes results from LocalScore, a Mozilla Builders project by cjpais, mirrored in the cn0303/local-llm-speed-benchmarks dataset. LocalScore runs use llamafile, which is built on llama.cpp.