b10286

ggml-org/llama.cppb10286Aug 5, 2026by github-actions[bot]same day as b10285

What changed since b10285

medium risk

b10286 only changes grammar handling so max-repetition limits of 2000 or more are treated as unbounded; the DeepSeek-OCR batching work landed in b10285.

Breaking changes

  • Grammar max-repetition values of 2000 or higher are now silently degraded to unbounded, so setups that relied on a large finite cap will no longer halt repetition.

New features

  • Long-form constrained generation is effectively uncapped when a very large repetition limit is configured, since such values are now interpreted as no limit.

Improvements

  • Grammar constraint logic simplified by collapsing oversized repetition limits into the unbounded case instead of enforcing them.

Upgrade notes

This is a single-commit build bump with no config or API changes; binaries can be swapped directly. If your grammar or JSON-schema sampling sets a max repetition of 2000 or more, verify output length behavior after upgrading, since the cap is now ignored. Users of the DeepSeek-OCR multi-row batching should note that capability came in b10285, not this release.

Analyzed Oct 31, 2026

Upgrading?

Release notes summary

Updates grammar constraints to treat max repetition values of 2000 or higher as unbounded.

Key Highlights

  • Degrades max repetition >= 2000 to unbounded
  • Improves flexibility for long-form generation

Release Notes (excerpt)

<details open> grammar : degrade max repetition >= 2000 to unbounded (#26613) </details> **Website:** - <https://llama.app> **macOS/iOS:** - macOS Apple Silicon (arm64) - macOS Apple Silicon (arm64, KleidiAI enabled) DISABLED - macOS Intel (x64) - iOS XCFramework **Linux:** - Ubuntu x64 (CPU) - Ubuntu arm64 (CPU) - Ubuntu s390x (CPU) - Ubuntu x64 (Vulkan) - Ubuntu arm64 (Vulkan) - Ubuntu x64 (ROCm 7.2) - Ubuntu x64 (OpenVINO) - Ubuntu x64 (SYCL FP32) - Ubuntu x64 (SYCL FP16) **Android:**…

Published by ggml-org on GitHub.

Read the full release notes

Related Repositories