Why it matters
llama.cpp is foundational local LLM. Understanding shapes local ops.
Advertisement
The architecture
C++ core.
Backends: CPU (AVX / NEON), CUDA, Metal, ROCm, Vulkan, SYCL.
GGUF format.
Advertisement
How it works end to end
Server mode: OpenAI-compatible.
Fine control via flags.
Speculative decoding + grammar constraints supported.