Quantization is a practical technique for making large language models easier to deploy by reducing the precision used to store and operate on model weights. This can lower memory use and improve runtime feasibility on constrained hardware, which is especially relevant for users running models locally. Quantization in llama.cpp enables large language models to run on commodity hardware, but available formats are often evaluated inconsistently, making it hard to choose among schemes. We present a unified empirical study of the llama.cpp quantization on a single modern model, Llama-3.1-8B-Instruct (FP16, GGUF), covering 3-8 bit K-quant and legacy formats. We evaluate downstream task performance across standard reasoning, knowledge, instruction-following, and truthfulness benchmarks, and also measure perplexity and CPU throughput (prefill/decoding) alongside model size, compression, and quantization time. Ultimately, this work is a practical guide for choosing a llama.cpp quantization scheme, helping readers make informed, context-aware decisions for their intended use and resource budget.
GGUF-Metadata Prediction of Single-Sequence llama.cpp Throughput Across Three Systems
Northeastern University(东北大学);Sofia University(索菲亚大学);Indiana University(印第安纳大学);University of California, San Diego(加利福尼亚大学圣迭戈分校);Michigan State University(密歇根州立大学)
Cisco Systems(思科系统);University of Maryland, Baltimore County(马里兰大学巴尔的摩县分校);BanglaLLM;Dalhousie University(达尔豪斯大学);University of Central Florida(中佛罗里达大学)