GGUF

Category: Generative AI / LLM

A file format for quantized language models designed for efficient CPU and GPU inference, used by the llama.cpp ecosystem.

Full Explanation

GGUF (GPT-Generated Unified Format) is a model file format developed as part of the llama.cpp project, designed for efficient storage and inference of quantized language models. It succeeded the earlier GGML format with improvements in extensibility, metadata support, and compatibility. GGUF supports various quantization levels (Q2, Q3, Q4, Q5, Q6, Q8) with different methods offering different quality-size trade-offs. A key advantage of GGUF is its support for CPU inference with optional GPU offloading, making it possible to run language models on machines without dedicated GPUs. The format is used by llama.cpp, Ollama, LM Studio, and other local inference tools. GGUF has become the de facto standard for running language models locally on consumer hardware. Models in GGUF format are widely available on Hugging Face, often provided by community quantizers like TheBloke.

Related Terms

More in Generative AI / LLM

Explore More