[KongchangAI]
Product

llama.cpp

llama.cpp is an open-source large language model inference framework initiated by Georgi Gerganov, implemented entirely in C/C++ without dependency on external deep learning libraries. The project supports running large language models on diverse hardware including CPUs, GPUs, and Apple Silicon, offers multiple model quantization schemes to reduce memory and compute requirements, and is compatible with several mainstream open-source model formats, making it broadly applicable to local LLM deployment scenarios.

Core Facts

Timeline (last 90 days)

Oct 13

EmbeddingGemma 2's context window was expanded from v1's 2048 tokens to 8192, MTEB Code improved from 68.76 to 78.68, and it already supports Ollama, llama.cpp, sentence-transformers, MLX, vLLM, and browser-side transformers.js; there is currently no independent retrieval benchmark test for v2, and the SciFact score of 0.7861 belongs to v1.

Unverified50%
Oct 13

When model size reaches about twice the physical memory, mmap-based inference schemes collapse due to a 'page-fault storm', with the operating system blindly scheduling pages and inference stuck on disk I/O.

Unverified50%
Oct 13

Q4_K_M is a GGUF quantization format widely used in the llama.cpp community, in which weights are compressed to about 4 bits using the medium tier of the k-quant mixed quantization scheme, striking a compromise between size and precision.

Unverified50%
Oct 13

For very large models, the standard llama.cpp build runs out of memory as soon as the GPU is enabled, because the CPU backend copies weights for repacking and the Vulkan backend also copies CPU-side weights into buffers the system cannot reclaim. That 2.8 tok/s figure requires a specially compiled build plus extra parameters to achieve.

Unverified50%
Oct 13

The author claims Janas beats llama.cpp on all 13 compared models, under the same test conditions of the same laptop and Q4_K_M quantization.

Unverified50%
Oct 13

Janas runs the 48.4GB Qwen3-Next-80B on a 32GB-memory laptop at 37 tok/s; on the same machine and same model llama.cpp reaches only 2.8 tok/s.

Unverified50%
Oct 13

The MXFP4_MOE quantization scheme requires a newer version of the llama.cpp build for support.

Unverified50%
Oct 13

The inference engine is the core component that actually executes model computation, such as llama.cpp, Ollama, vLLM, etc., which iterate frequently and whose interfaces and default parameters often change.

Unverified50%
Oct 13

Recent new capabilities of Hermes Agent: it can manage local models by itself, and can automatically install the llama.cpp inference runtime and optimize it for the hardware (such as using Metal acceleration on Apple M-series chips).

Unverified50%
Oct 13

Codex CLI integrates with the openai llama.cpp ecosystem through a background service.

Unverified50%

40 more timeline events

All Facts (20)

Verified

llama.cpp was implemented in pure C/C++ by Georgi Gerganov, and the GGUF format packages model architecture metadata, vocabulary, and quantized weights into a single file.

90%
Verified

GPTQ uses second-order gradient information to minimize quantization error, AWQ identifies and protects the weights with the greatest influence on activation values, and GGUF was introduced by the llama.cpp project and is specifically optimized for CPU inference.

90%
Verified

The GGUF format was introduced by the llama.cpp project and is optimized for CPU inference scenarios.

90%
Verified

GGUF packages model weights, tokenizer vocabulary, hyperparameter configurations, and more into a single file, supporting multiple quantization precisions such as Q2_K, Q4_K_M, and Q8_0.

90%
Verified

llama.cpp是由Georgi Gerganov开发的纯C/C++推理引擎,支持在纯CPU环境下运行大模型

90%
Verified

The GGUF format was released by the llama.cpp community in August 2023 as a replacement for the GGML format.

90%
Verified

llama.cpp was initiated by Georgi Gerganov in March 2023.

90%
Verified

The GGUF format was designed by Georgi Gerganov, the founder of the llama.cpp project.

90%
Verified

GGUF(GPT-Generated Unified Format)是由llama.cpp项目定义的模型文件格式

90%
Verified

MLX is specifically optimized for Apple Silicon's unified memory architecture.

85%
Verified

GGUF has become the de facto standard format for mainstream local inference tools such as llama.cpp, Ollama, and LM Studio.

85%
Verified

Ollama provides a Docker-like one-click model management experience, vLLM achieves high-throughput batch inference via PagedAttention, and LM Studio provides a graphical interface for desktop users.

80%
Verified

GGUF is a model format standard introduced by the llama.cpp project, supporting multiple quantization levels ranging from Q2_K to Q8_0.

80%
Verified

llama.cpp supports hybrid CPU and GPU inference (layer offloading), allowing partial model layers to be loaded into GPU VRAM while the remaining layers are kept in memory

80%
Verified

The llama.cpp project brought the GGUF quantization format into the mainstream, supporting multiple precision levels ranging from Q2_K to Q8_0.

80%
Verified

Ollama simplifies local model deployment to a single command-line instruction and provides a local API interface compatible with OpenAI.

80%
Verified

llama.cpp supports GPU acceleration backends including Metal, CUDA, Vulkan, and SYCL.

80%
Verified

llama.cpp是由开发者Georgi Gerganov于2023年发起的开源项目,使用纯C/C++实现了LLaMA系列模型的推理

80%
Verified

Open WebUI supports multiple backends including Ollama and the OpenAI API.

80%
Verified

vLLM, TensorRT-LLM, and llama.cpp are representative open-source frameworks in the field of LLM inference acceleration.

80%

Source Articles