Topo llama.cpp WebUI Chat
LLM chat application with Arm CPU inference provided by llama.cpp.
Evaluation Conditions
Text Generation · Raspberry Pi 5 · Q4_K_M · WikiText-2
| Metric | Resultsvs baseline | Change | |
|---|---|---|---|
| End to end latency p50 | 5022.88ms14092.42ms | −9069.54 ms | |
| Peak memory | 515.28MB748.91MB | −233.63 MB | |
| Tokens per second | 43.32tok/s14.09tok/s | +29.23 tok/s | |
| Time to first token | 2068.29ms5008.46ms | −2940.17 ms | |
| MMLU (5-shot) | 35.97%38.02% | −2.05% |
The Optimized Model is provided as a reference implementation to demonstrate and evaluate execution and performance on Arm-based systems. It is not a production-ready or supported solution.
Arm’s publication of the Optimized Model does not constitute an endorsement or certification of the Original Model or a representation that the Optimized Model is suitable for production use or any particular purpose.
To the fullest extent permitted by applicable law (i) the Optimized Model is provided “as is.” Arm makes no representations or warranties that the Original Model, the Optimized Model or their outputs are accurate, safe, secure, non-infringing, legally compliant, suitable for production use or fit for any particular purpose; and (ii) Arm will not be liable for any loss or damage arising from or in connection with the Optimized Model, its use or its outputs.
You are responsible for independently evaluating the Optimized Model, its outputs and its suitability for your intended use, including compliance with applicable legal, regulatory, safety and security requirements.
Arm does not commit to provide ongoing support, maintenance or updates for the Optimized Model. Any use of or reliance on the Optimized Model or its outputs is at your own risk.
Use of the Portal is subject to the Arm Website Terms and Conditions of Use.
| Configuration | Baseline | Arm Optimized |
|---|---|---|
| Dataset | WikiText-2 | WikiText-2 |
| Sample count | 10,000 | 10,000 |
| Batch size | 1 | 1 |
| Prompt length | 512 | 512 |
| Generation length | 128 | 128 |
| Runs | 100 | 100 |