The llama.cpp project released version b10413, which introduces automatic detection of the speculative decoding specification type directly from draft GGUF model metadata.

  • Auto-detects spec type by reading `general.architecture` from the draft GGUF header and mapping tensors like `dflash` and `markov_w1.weight` to `draft-dspark` or `draft-dflash`.
  • Fixes an issue where loading local draft models without explicitly specifying `--spec-type` resulted in speculative decoding remaining inactive (type NONE).
  • Moves the spec-type detection logic into the speculative module using RAII patterns and adds logging to inform users when auto-detection occurs.
  • Provides binaries for macOS (Apple Silicon and Intel), iOS, Linux (CPU, Vulkan, OpenVINO, SYCL), Android, Windows (CPU, CUDA 12/13, Vulkan, OpenCL, ROCm), and openEuler.

This change ensures that speculative decoding activates correctly for local draft models without requiring manual configuration of the specification type.