[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 15

本地运行137B模型通常采用混合量化策略,如对关键层保留较高精度、对次要专家使用4-bit或3-bit量化,或采用GGUF、AWQ、GPTQ等格式配合llama.cpp、vLLM等推理框架。

Unverified50%
Oct 15

CVE-2024-23605 is a metadata KV count overflow vulnerability in llama.cpp n_kv handling.

Unverified50%
Oct 15

CVE-2024-21825 is a metadata array length overflow vulnerability in llama.cpp GGUF array/string parsing.

Unverified50%
Oct 15

GGUF is the model container format used by mainstream inference frameworks such as llama.cpp, Ollama, and LM Studio; it itself contains no pickle serialization or embedded scripts, and opening the file does not execute code.

Unverified50%
Oct 15

CVE-2026-33298 is a tensor dimension overflow vulnerability in llama.cpp ggml_nbytes().

Unverified50%
Oct 15

The generation stage runs on a local llama.cpp model on the developer's machine, called via the HTTP interface on port :8080, and falls back to a template when the server is down.

Unverified50%
Oct 14

AntAngelMed officially provides an FP8 version, and the community has a GGUF quantized version made by mradermacher that can be used with llama.cpp.

Unverified50%
Oct 14

pricehunt uses llama.cpp and stores MoE weights in system memory (--cpu-moe), using only 4GB of VRAM, and can run on an ordinary 8GB graphics card.

Unverified50%
Oct 14

LocalAI itself is not a model but an inference backend scheduling layer, and underneath it can connect to engines such as llama.cpp, gpt4all, Stable Diffusion, Whisper, and Piper.

Unverified50%
Oct 14

Ollama v0.40.4 upgrades llama.cpp to version b11521, committed by jmorganca, mainly aimed at support for decision models and EmbeddingGemma 2.

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