The llama.cpp project released build b10174, introducing NextN/MTP speculative decoding support for the GLM_DSA (GLM-5.2) model architecture.

  • Adds GLM-5.2 NextN/MTP as a --spec-type draft-mtp target, enabling dense MLA attention and MTP context KV setup.
  • Updates the convert script to support --mtp/--no-mtp export for GlmMoeDsaForCausalLM, allowing users to drop or keep the NextN block during export.
  • Provides pre-built binaries for macOS (Apple Silicon and Intel), Linux (CPU, Vulkan, ROCm, OpenVINO, SYCL), Android, Windows (CPU, CUDA 12/13, Vulkan, OpenCL, ROCm, SYCL), and openEuler platforms.

This update enables faster inference speeds for GLM-5.2 models by leveraging speculative decoding techniques within the llama.cpp framework.