GGML
GGML is the C/C++ tensor library that underlies llama.cpp, whisper.cpp, and the original GGUF format. It provides quantized integer kernels, CPU/GPU dispatch (Metal, CUDA, OpenCL, Vulkan, SYCL), and the file format that GGUF replaced in 2023.
The "GGML format" name still appears in older blog posts and model cards. As of 2024 it's deprecated — all current llama.cpp releases require GGUF. If you find a .bin file labeled "ggmlv3" the only path forward is to re-convert from the original safetensors source or download a community-converted GGUF.
The library itself is alive and well; it's the file format that was renamed.
Practical example
An operator downloads a model card from 2023 and finds a file named model-ggmlv3-q4_0.bin instead of a .gguf file. Loading it in a current llama.cpp build fails immediately — recent releases dropped ggmlv3 support entirely after the 2023 GGUF migration. Their options: search Hugging Face for a community re-upload in GGUF format (usually available for any popular model), or, if none exists, pull the original safetensors weights and run convert_hf_to_gguf.py from the llama.cpp repo to produce a fresh GGUF file before quantizing. The underlying GGML tensor library — the CPU/GPU kernel code — hasn't gone anywhere and still powers the conversion and inference; it's specifically the old on-disk file format that's a dead end.
Related terms
See also
Reviewed by Eruo Fredoline. See our editorial policy.