Llama.cpp is a port of Facebook's LLaMA model in C/C++ developed by Georgi Gerganov. Llama.cpp allows the inference of LLaMA and other supported models in C/C++. For CPU inference Llama.cpp supports AVX2/AVX-512, ARM NEON, and other modern ISAs along with features like OpenBLAS usage.
To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark llama-cpp.
OpenBenchmarking.org metrics for this test profile configuration based on 94 public results since 2 June 2024 with the latest data as of 11 October 2024.
Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.
Based on OpenBenchmarking.org data, the selected test / test configuration (Llama.cpp b3067 - Model: Meta-Llama-3-8B-Instruct-Q8_0.gguf) has an average run-time of 4 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.
Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.1%.
Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.
This test profile binary relies on the shared libraries libopenblas.so.0, libm.so.6, libc.so.6, libgfortran.so.5, libquadmath.so.0.
This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.
2 Systems - 541 Benchmark Results |
ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712 Ubuntu 24.04 - 6.8.0-1013-raspi - KDE Plasma 5.27.11 |
2 Systems - 525 Benchmark Results |
ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712 Ubuntu 24.04 - 6.8.0-1013-raspi - KDE Plasma 5.27.11 |
1 System - 342 Benchmark Results |
Intel Core i9-12900K - ASUS PRIME Z790-V AX - Intel Raptor Lake-S PCH Ubuntu 24.04 - 6.8.0-47-generic - GNOME Shell 46.0 |
1 System - 1 Benchmark Result |
AMD Ryzen 7 7800X3D 8-Core - 32GB - 0GB Virtual Disk + 9GB Virtual Disk + 1100GB Virtual Disk Ubuntu 24.04 - 5.15.153.1-microsoft-standard-WSL2 - 4.6 Mesa 24.0.9-0ubuntu0.1 |
1 System - 334 Benchmark Results |
Intel Core i3-12100 - ASRock H610M-HDV/M.2 R2.0 - Intel Device 7aa7 Ubuntu 20.04 - 5.15.0-89-generic - GNOME Shell 3.36.9 |
1 System - 102 Benchmark Results |
AMD Ryzen 9 9950X 16-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8 Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0 |
1 System - 80 Benchmark Results |
AMD Ryzen 7 PRO 7840U - LENOVO ThinkPad T14s Gen 4 21F80041GE - AMD Device 14e8 Gentoo 2.15 - 6.10.3-gentoo-dist - GNOME Shell 45.5 |
1 System - 80 Benchmark Results |
AMD Ryzen 7 PRO 7840U - LENOVO ThinkPad T14s Gen 4 21F80041GE - AMD Device 14e8 Gentoo 2.15 - 6.10.2-gentoo-dist - GNOME Shell 45.5 |
1 System - 1 Benchmark Result |
Intel Core i7-8550U - LENOVO ThinkPad T480 20L5000AMZ - Intel Xeon E3-1200 v6 Ubuntu 24.04 - 6.8.0-38-generic - GNOME Shell 46.0 |
Featured Kernel Comparison |
|
1 System - 147 Benchmark Results |
Intel Xeon Platinum 8375C - Amazon EC2 m6i.8xlarge - Intel 440FX 82441FX PMC Ubuntu 22.04 - 6.5.0-1017-aws - 1.3.255 |
1 System - 147 Benchmark Results |
ARMv8 Neoverse-V1 - Amazon EC2 m7g.8xlarge - Amazon Device 0200 Ubuntu 22.04 - 6.5.0-1017-aws - 1.3.255 |
1 System - 103 Benchmark Results |
Intel Xeon Platinum 8375C - Amazon EC2 m6i.8xlarge - Intel 440FX 82441FX PMC Ubuntu 22.04 - 6.5.0-1017-aws - 1.3.255 |
1 System - 99 Benchmark Results |
Intel Xeon Platinum 8375C - Amazon EC2 m6i.8xlarge - Intel 440FX 82441FX PMC Ubuntu 22.04 - 6.5.0-1017-aws - 1.3.255 |
1 System - 92 Benchmark Results |
Intel Xeon Platinum 8375C - Amazon EC2 m6i.8xlarge - Intel 440FX 82441FX PMC Ubuntu 22.04 - 6.5.0-1017-aws - 1.3.255 |