Learn AI Math

GGML

What is GGML?

In one sentence: GGML is a machine learning library written in C for running models efficiently on regular computers, and also the name of its older file format.

GGML powers llama.cpp and made it possible to run LLMs on CPUs and Apple chips. The old GGML file format was replaced by GGUF in 2023, but the library is still used underneath.

What does GGML look like?

Early local LLM files ended with ".ggml" before GGUF took over.

Why does GGML matter?

GGML is a key piece of the local AI movement.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.