llama.cpp adds Qwen4-35B-A3B and other new models, renames batch API functions (a breaking change for embedders), and lets llama-server's shell tool run background tasks.
Key takeaways · AI-distilled
llama.cpp v1.1.1 renames llama_batch_ext_set_decision_order() to llama_batch_ext_set_pool_span_type() in llama-ext.h, because pool spans and attention scopes replace the old decision order/group batch fields, so code that embeds the decision-model batch API must be updated.
llama-server's built-in Terminal and shellA text interface for navigating files and running programs.Full definition → tool can now move a running command to the background, read its output and stop it, tracked through the X-Conversation-Id header and new /tools/tasks routes; the chat UI lists those tasks under the chat form, with their output and a stop button.
Beyond Qwen4-35B-A3B, the release adds Amazon-FMR/Ergo (a 1.1T mixture-of-expertsA model built from many specialist sub-networks where only a few activate per token, giving big-model capability at small-model running cost.Full definition → with MXFP4 conversion), Cloudflare's clef-omni decision model, Apertus v1.5 8B/70B text support, MiniCPM5 MoE, and a DFlash2 draft head for Inkling-2-Mini.
Reliability fixes include checkpoint restore at Sampling controlsParameters that shape how deterministic or varied model generation becomes.Full definition → 0 no longer re-verifying replayed tokens (so it always makes progress), a graph-node budget for KV cacheThe memory a model keeps about text it has already read, so generating each new token doesn't require reprocessing the whole conversation.Full definition → rotation so quantized K/V caches fit, and a fix for silent GPT-OSS expert weight corruption during conversion.
The bundled ggml v1.2.0 adds quantization-scale support for FP8 and NVFP4 matrix multiplications and an experimental HRX backend, and llama-server now includes timings in its Anthropic-style /v1/messages responses.
Terms in this piece · Glossary
Terminal and shell — A text interface for navigating files and running programs.
mixture-of-experts — A model built from many specialist sub-networks where only a few activate per token, giving big-model capability at small-model running cost.
Sampling controls — Parameters that shape how deterministic or varied model generation becomes.
KV cache — The memory a model keeps about text it has already read, so generating each new token doesn't require reprocessing the whole conversation.