GGUF
Running a model on your own laptop sounds like a hardware problem and is largely a packaging one. GGUF is the file format that made local inference ordinary: one self-describing file that a program can memory-map and start generating from.
What is in the fileIt is a container, not a compression scheme. Alongside the weight tensors it carries key-value metadata — the architecture, the tokenizer and its vocabulary, the chat template, the quantisation type of every tensor — so nothing has to be reassembled from a separate config directory or a Python environment. The design is extensible by intent: a new architecture adds fields without breaking readers of older files, which is exactly where its predecessor GGML failed.
Quantisation lives inside itGGUF files are distributed quantised, with names that encode the scheme: Q4_K_M mixes 4-bit blocks with higher precision on the layers that need it, while Q8_0 stays near full quality at twice the size. A 7-billion-parameter model needing 14 GB in 16-bit weights fits in roughly 4 GB at Q4 — the difference between a data-centre GPU and a laptop.
The ecosystem it unlockedGGUF is the native format of llama.cpp, and therefore of Ollama, LM Studio and most desktop AI tools; Hugging Face hosts thousands of pre-converted files. It is CPU-first with optional per-layer GPU offload — the opposite assumption from vLLM, which targets server GPUs and does not use it.
GGUF is the single-file model format used by llama.cpp and the desktop tools built on it. It packs weight tensors together with extensible key-value metadata — architecture, tokenizer, chat template, per-tensor quantisation — so a runtime can memory-map the file and generate with no separate config. Files are shipped quantised, which is what lets a 7-billion-parameter model run from about 4 GB on consumer hardware instead of a server GPU.
A language model is really just an enormous pile of numbers, and those numbers have to be saved to disk somehow. GGUF is one way of saving them — the one that made running AI on an ordinary computer easy. Think of it as a PDF rather than a folder of loose pages: everything the program needs sits in a single file, including the instructions for reading it. Files in this format are usually shrunk down as well, so a model that would otherwise need an expensive server card fits comfortably on a home machine. If you have ever downloaded a model to use offline, it was almost certainly one of these.