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.
C/C++ Compiler Toolchain + BLAS (Basic Linear Algebra Sub-Routine)
Accolades
10k+ Downloads
Supported Platforms
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly. ** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform. Data updated weekly as of 20 November 2024.
Revision History
pts/llama-cpp-1.1.0 [View Source] Sun, 02 Jun 2024 10:36:25 GMT Update against Llama.cpp upstream, switch to Llama 3 model.
pts/llama-cpp-1.0.0 [View Source] Wed, 10 Jan 2024 18:02:20 GMT Initial commit of llama.cpp CPU benchmark.
OpenBenchmarking.org metrics for this test profile configuration based on 95 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 Usage
Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.
The test / benchmark does honor compiler flag changes.
Last automated analysis: 6 June 2024
This test profile binary relies on the shared libraries libopenblas.so.0, libm.so.6, libc.so.6, libgfortran.so.5, libquadmath.so.0.
Tested CPU Architectures
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.