16 × AIAI signal, amplified
AI newsTopicsAboutSources
TelegramFollow on Telegram
AI newsTopicsAboutSources
16 × AIAI signal, amplified

An AI news engine that ingests trusted sources, scores with Claude, and posts only what clears the bar.

Follow on Telegram →

Subscribe

  • Telegram
  • RSS
  • All channels

Newsletter

Used only to send this newsletter. Privacy

Legal

  • Privacy
  • Imprint
© 2026 16 × AI. All rights reserved.A new issue every two days.
Home/Coding Tools
Coding Tools

llama.cpp fixes grammar rejection for long tokens

llama.cpp Releases·October 26, 2026·high confidence

Why it matters

  • →Fixes silent failures in JSON/list formatting for models with large vocabularies like GLM-4.7.
  • →Improves grammar sampling speed by replacing recursion with an iterative stack approach.
  • →Ensures structural constraints work reliably across extended token sets without arbitrary limits.

llama.cpp has released a patch addressing a bug in its PEG parser grammar engine that incorrectly rejected valid tokens from models with large vocabularies. The issue stemmed from a recursive depth limit tied to token character count, which caused failures for tokens exceeding 256 characters, affecting models like GLM-4.7 and Laguna-S-2.1. The fix replaces recursion with an iterative stack-based method, eliminating the depth limit and improving grammar sampling performance. This update ensures reliable structural output constraints for modern LLMs.

Read original

The story around this

Earlier coverage that leads up to this article, and what followed. Lines connect each piece to the closest one after it, converging here.

Llama.cpp b9870 Release Fixes Long Reasoning Loops — llama.cpp Releases1llama.cpp fixes JSON schema enforcement in Ling 3.0 — llama.cpp Releases2llama.cpp fixes grammar rejection for long tokensJul 4You are here

How we got here

  1. 1
    Llama.cpp b9870 Release Fixes Long Reasoning Loops

    llama.cpp Releases · July 4, 2026 · Same story

  2. 2
    llama.cpp fixes JSON schema enforcement in Ling 3.0

    llama.cpp Releases · October 4, 2026 · Same story

More from llama.cpp Releases

Coding Toolscoding

llama.cpp b12022 adds ROCm 10 and Snapdragon support

This release quietly cements llama.cpp as the universal inference runtime by finally bringing ROCm 10.0 to Linux and Windows alongside CUDA 13.4, effectively closing the hardware gap for AMD users who were previously left behind. The inclusion of native Snapdragon support on Linux marks a significant step toward running local LLMs on ARM-based mobile chips without emulation overhead. While KleidiAI on Apple Silicon is disabled in this build, the broader expansion to diverse accelerators ensures that developers aren't locked into NVIDIA ecosystems anymore.

llama.cpp Releases·Nov 1, 2026
Coding Toolscoding

llama.cpp b12023 fixes shared prefix bug

This release addresses a specific inference artifact where decision prefixes were incorrectly bleeding into output embeddings. By capping shared prefixes at the first output position, llama.cpp ensures that option tokens remain distinct for parent and child tasks. This is a targeted fix for multi-step reasoning or voting workflows rather than a performance boost. It stabilizes complex generation patterns without changing the underlying model architecture.

llama.cpp Releases·Nov 1, 2026
Coding Toolscoding

llama.cpp b12024 adds Snapdragon and ROCm 10

This release quietly expands llama.cpp's hardware support to include Qualcomm Snapdragon devices with CPU, Adreno GPU, and Hexagon NPU acceleration. It also updates ROCm to version 10.0 for both Linux and Windows, keeping AMD users in step with the latest driver stack. CUDA builds now default to 13.4 libraries alongside 12.x options, reflecting the industry's gradual shift toward newer NVIDIA toolkits. While no new model architectures are introduced, the binary matrix grows significantly, ensuring local inference remains viable on a wider array of edge and server hardware.

llama.cpp Releases·Nov 1, 2026

More in Coding Tools

Coding Toolscoding

Claude Code v2.1.316: Subagents and Gateway Budgets

Anthropic is tightening control over Claude Code's autonomous behavior with new environment variables that let you disable 'ultrathink' or cap subagent effort levels. For teams, the introduction of pooled group budgets on the gateway allows shared monthly spending limits across members, a practical fix for enterprise cost management. The release also patches critical bugs where shell commands would hang or crash on exit, stabilizing the developer experience significantly.

Claude Code Releases·Nov 1, 2026
DIY Muse Gadget proves Meta's hardware is just a dev kit© The Verge AI
Coding Toolscoding

DIY Muse Gadget proves Meta's hardware is just a dev kit

Meta’s Muse Charm isn’t a finished product; it’s an invitation to hack. A non-coder used Claude Code to transform a $50 Waveshare ESP32-S3 dev board into a fully functional AI companion, adding ElevenLabs voice synthesis, custom Tamagotchi-style minigames, and remote camera controls that Meta’s official firmware lacks. This reveals a critical truth: the value of Meta’s new hardware ecosystem lies not in its out-of-the-box utility, but in its open-source API allowing anyone to rewrite the experience. The gap between Meta’s polished demo and the actual user reality is bridged entirely by third-party AI coding tools.

The Verge AI·Oct 31, 2026
Granola launches free dictation feature© The AI Daily Brief
Coding Toolswriting

Granola launches free dictation feature

Granola has released a new free dictation tool for users.

The AI Daily Brief·Oct 31, 2026