liveBook · Manning

GGUF

As explained in Domain-Specific Small Language Models

A model packaged in the GGUF format for local inference with llama.cpp-style runtimes.

GGUF packages quantized models for distribution and local inference. Introduced with llama.cpp as an alternative to GGML, it is the only format supported by llama.cpp. section 6.4.2

Unlike GGML, GGUF makes it easier to distribute a quantized model as a single file without a separate tokenizer JSON file. It stores hyperparameters as key–value metadata, allowing new fields to be added without breaking compatibility. section 6.4.2

GGUF-quantized models run locally through tools such as Ollama and LM Studio. Custom models for Ollama must first be converted to GGUF with llama.cpp’s conversion script. section 12.7

How Domain-Specific Small Language Models covers it

How deep it goes
Compares GGUF with GGML through packaging and metadata, without detailing the format specification.
Examples
Uses Ollama and LM Studio for local GGUF inference and names llama.cpp’s conversion script for custom models.
What you can do after
Operate GGUF-quantized models locally through Ollama or LM Studio, including offline inference.
How it connects
Connects quantized models with GGML, llama.cpp, Ollama, and LM Studio.

Also explained in

Compare how 3 books explain GGUF →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Domain-Specific Small Language Models. The section links point to the parts of the book it draws on.