[KongchangAI]
Concept

GGUF

GGUF (GPT-Generated Unified Format) is a binary file format for storing and distributing large language models, designed and promoted by the llama.cpp project. It encapsulates model weights, metadata, and quantization parameters in a single file and supports multiple quantization precision levels to reduce model size and memory footprint. GGUF is widely used in local inference scenarios and is compatible with multiple inference frameworks and hardware platforms.

Core Facts

Timeline (last 90 days)

Nov 28

IQ4XS is a 4-bit quantization scheme under the GGUF format, commonly seen in local inference frameworks such as llama.cpp.

Unverified50%
Nov 26

Taking k-quant as an example, weights are stored in blocks (super-blocks), each containing several sub-blocks; dequantization requires first reading the scale factor and minimum value, then performing multiply-add restoration for each element, a process tightly coupled with the multiply-add loops of gemv or gemm.

Unverified50%
Nov 16

The developer has released the open-source tool inside-llm, which loads one or two GGUF models based on llama.cpp and displays the model's internal state in real time in the browser as it generates text.

Unverified50%
Nov 15

Modern quantization formats such as GGUF and GPTQ adopt an approach similar to per-row scaling.

Unverified50%
Nov 15

In the code comprehension task, the Unsloth model's generation rate was roughly between 107 and 117 tokens per second, averaging 70 to 80 tokens per second; the GGUF 3-bit quantized version was about 110 tokens per second.

Unverified50%
Nov 14

The GGUF format mainly targets the llama.cpp ecosystem, GPTQ and AWQ are common in GPU inference stacks, and bitsandbytes provides an online quantization solution integrated with Hugging Face Transformers.

Unverified50%
Nov 14

The commonly seen GGUF format and its various quantization levels (such as Q4_K_M and Q8_0) in the llama.cpp ecosystem are products of the quantization approach.

Unverified50%
Nov 13

The standardization of the local inference toolchain (model formats such as GGUF and safetensors, inference engines such as llama.cpp, Ollama, vLLM and MLX) has significantly lowered the barrier for ordinary users to run large models.

Unverified50%
Nov 12

The GGUF version is expected to be released the next day, and Alish said that anyone who wants to test the GGUF version early can contact him in the comments.

Expired50%
Nov 12

GGUF supports memory-mapped (mmap) loading, which can shorten large models' startup time and reduce peak memory.

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 is a pure C/C++ inference framework that supports CPU inference and extremely low-bit quantization (e.g., 4-bit, 2-bit), enabling LLMs to run on laptops and even Raspberry Pis.

90%
Verified

llama.cpp is a pure C/C++ inference engine developed by Georgi Gerganov that supports running large models in a CPU-only environment.

90%
Verified

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

90%
Verified

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

90%
Verified

llama.cpp is an open-source project initiated by developer Georgi Gerganov in 2023, implementing inference for the LLaMA series of models in pure C/C++.

90%
Verified

A 7B-parameter model requires only approximately 4 GB of VRAM to run after 4-bit quantization.

90%
Verified

Ollama is based on the llama.cpp inference engine at its core and natively supports quantized models in GGUF format.

90%
Verified

GGUF (GPT-Generated Unified Format) is a model file format defined by the llama.cpp project.

90%
Verified

Common model quantization methods include formats such as GPTQ, AWQ, and GGUF.

90%
Verified

4-bit quantization techniques (such as GPTQ, AWQ, and the GGUF format) can reduce model VRAM requirements to 1/4 of the original, but come with a certain degree of accuracy loss

90%
Verified

Q4 quantization compresses each weight parameter from 16 bits to 4 bits, theoretically reducing model size by approximately 75%

90%
Verified

llama.cpp has evolved into a general-purpose local inference framework covering multiple backends including CPU, CUDA, Metal, and Vulkan.

85%
Verified

Using quantized versions (such as Q4, Q5) can significantly reduce VRAM usage with minimal performance loss.

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 is a local large model runtime tool that listens on port 11434, requires no authentication by default, and provides REST APIs for model management and inference including /api/pull, /api/create, and /api/chat.

80%
Verified

LM Studio provides a graphical interface, suitable for users unfamiliar with the command line.

80%

Source Articles