llama.cpp b11888: Depth Limits for Grammar Rules and Faster Inference

News llama.cpp Releases · Source account, not independently verified by us.

With version b11888, llama.cpp has revised its handling of recursive grammar rules. A required depth limit is intended to cover more recursive functions, and schema walks now also have a depth guard. This matters to developers who use grammar or schema features in llama.cpp.

The parser now rejects candidates in a loop and uses its own stack to track levels while traversing code points. Rejected candidates are recorded as indices into the input. The PEG parser’s recursion limit has also been reduced. The release says grammar sampling is faster than on the development branch “master” for GLM-4.7, Laguna, and Qwen3.6, but gives no measurements.

Available builds cover macOS, Linux, Windows, and Android, among other platforms, with several CPU and GPU configurations. The release entry provides the change list and available build variants: llama.cpp b11888 on GitHub

🇬🇧 https://github.com/ggml-org/llama.cpp/releases/tag/b11888

Leave a Comment

The weekly brief: selected developments, projects and videos