b9867

ggml-org/llama.cppb9867Jul 3, 2026by github-actions[bot]same day as b9866

What changed since b9866

low risk

b9867 adds spec-draft-p-min support to DFlash speculative decoding plus n_min/n_max validation guards.

New features

  • DFlash speculative decoding now accepts a spec-draft-p-min parameter to control minimum draft probability.
  • Added an n_min guard in DFlash to reject invalid speculative decoding configurations.
  • Both n_min and n_max are now validated together before decoding starts.

Improvements

  • Speculative decoding configuration is validated earlier, reducing the chance of silently invalid runtime states.

Bug fixes

  • Prevents invalid n_min/n_max combinations from being accepted in DFlash speculative decoding.

Upgrade notes

This is a small incremental build with no config migration required. If you use DFlash speculative decoding, you can now set spec-draft-p-min; existing configurations without it should behave as before. Ensure any n_min/n_max values you pass are valid, since invalid combinations are now rejected.

Analyzed Oct 28, 2026

Upgrading?

Release notes summary

Extends support for speculative decoding in DFlash by adding the spec-draft-p-min parameter. Includes guards for n_min to ensure valid configurations.

Key Highlights

  • Support added for spec-draft-p-min in DFlash
  • Added n_min guard to prevent invalid states
  • Guards both n_min and n_max parameters

Release Notes (excerpt)

<details open> spec: support spec-draft-p-min in DFlash (#25246) * spec: support spec-draft-p-min in DFlash * dflash: add n_min guard * dflash: guard both n_min and n_max </details> **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)…

Published by ggml-org on GitHub.

Read the full release notes

Related Repositories