AI

llama.cpp v1.1.0: DFlash Speculative Decoding, BPW Quant & API Trade-Offs

Released November 26, 2026 (with continuous pre-releases through b12854 on November 29), llama.cpp v1.1.0 upgrades ggml to v1.1.1, automates per-tensor quantization via --target-bpw and --target-size, splits DFlash speculative decoding into four draft drivers, and deprecates the legacy llama_batch C API in favor of llama_batch_ext.

By 0xScorPionSon

8 min read

llama.cpp v1.1.0: DFlash Speculative Decoding, BPW Quant & API Trade-Offs

llama.cpp v1.1.0 inference architecture showing llama-server, DFlash Draft, Per-Tensor BPW quantization, and Audio TTS

Executive Summary

  • Major local-inference release (v1.1.0, November 26, 2026): ggml-org/llama.cpp shipped v1.1.0 alongside ggml v1.1.1 (followed by continuous builds through b12854 on November 29, 2026), expanding open-weight model support (Inkling 2, Domyn Edge 4B, Zaya1 8B, MiniMax-M3.1, RAON-1-mini-preview, Hy4 flash) and adding full-duplex audio and TTS pipelines (Kokoro, Zonos3-Mini, Kyutai Hibiki/Moshi) (llama.cpp Releases, llama.cpp GitHub).
  • Automated quantization & speculative decoding: New --target-bpw and --target-size flags automate per-tensor quant selection with resumable state files (#15550), while DFlash speculative decoding splits into four explicit draft methods (draft-dflash, draft-dflash2, draft-dspark, draft-lilicorr) (#32016) (llama.cpp Releases).
  • Verified throughput & breaking C API change: Independent LlamaCppEx v0.8.74 benchmarks on NVIDIA DGX Spark (GB10, CUDA 13.0) measured Qwen3.8-27B NVFP4 decoding at 44.24 tok/s with DFlash 2 (n_draft: 7) versus 14.21 tok/s plain decode (3.1x speedup), while C/C++ embedders must migrate off the deprecated llama_batch API to llama_batch_ext and llama_process (#32306, #32356) (LlamaCppEx Changelog, llama.cpp Releases).

Architecture and How It Works

1. Engine & Model Matrix in v1.1.0

llama.cpp v1.1.0 consolidates several architectural shifts across the core llama.h inference library, the mtmd.h multimodal/audio subsystem, and llama-server (llama.cpp Releases):

flowchart LR
    GGUF[GGUF Weights + .scale Tensors] -->|Per-Tensor Budget| Quant[target-bpw / target-size Quantizer]
    Quant --> Engine[ggml v1.1.1 Tensor Scheduler]
    Prompt[User / Agent Prompt] -->|llama_batch_ext| Engine
    Engine -->|draft-dflash / dflash2 / dspark / lilicorr| Spec[Speculative Draft Head]
    Spec -->|Verified Tokens| Server[llama-server Slot Scheduler]
    AudioIn[Speech / Audio Input] -->|mtmd.h FFT & G2P| Engine
    Engine -->|Kokoro / Zonos3 / Hibiki| AudioOut[Full-Duplex Voice & TTS]
  • Text & Vision-Language Models: Adds Inkling 2 (base text+vision, Mini, and DSpark), Domyn Edge 4B (interleaved Sliding Window Attention with RoPE only on SWA layers and Q/K norm), Zaya1 8B, MiniMax-M3.1, RAON-1-mini-preview (30B-A4B MoE), and Hy4 flash (220B total / 12B active parameters on the DSA iSWA cache) (llama.cpp Releases).
  • Audio, Music & Full-Duplex Voice (mtmd.h): Adds Kokoro, Zonos3-Mini, tiny-voca, VoxCPM2, MiniMax-Music3, YuE2-3B, Fish Audio S2, Higgs Audio v3/VibeVoice-ASR, and Kyutai Hibiki / Moshi for realtime full-duplex voice I/O, alongside --tts-lang, --tts-voice, and --tts-speaker-text flags (llama.cpp Releases).
  • Token-Aware Chat Parsing & Named Tool Choice: Chat parsing now matches special tokens directly rather than raw text (#29307), preventing reasoning blocks from terminating prematurely if a model outputs a closing tag inside prose, and llama-server accepts OpenAI-style named tool_choice (#31564) alongside GET /models/sse in single-model mode (#32398), a slot-scheduling refactor, and a redesigned Llama Chat web UI supporting voice messages and agent traces (llama.cpp Releases). In subsequent pre-release b12853 (November 29, 2026), llama-server also wired --json-schema directly into chat-template parsing (#31862) (llama.cpp Releases).
  • Tokenizer, KV Cache & llama.h Extensions: v1.1.0 accelerates BPE tokenization and the PLaMo-2/3 tokenizer table build (#32859, #32249), honors metaspace_prepend_scheme for SPM vocabularies (#31986) so first-mode tokenizers no longer insert stray spaces after special tokens, and adds llama_model_meta_arr_n() and llama_model_meta_arr_str() to llama.h for reading GGUF string arrays (#32397) (llama.cpp Releases, LlamaCppEx Changelog). For audio pipelines, mtmd.h adds n_channels, mtmd_gen_audio_g2p(), and mtmd_gen_state_get_ref_codes() (#32413, #32586), alongside drama3 voice cloning and Qwen3-TTS ICL reference mode (#32586, #32438).

2. Automatic Per-Tensor Quantization (--target-bpw & --target-size)

Previously, fitting a large MoE or dense checkpoint into fixed VRAM required manually testing Q4_K_M, IQ4_XS, or Q3_K_L mixes. llama.cpp v1.1.0 (#15550) introduces target_bpw, target_size, state_file, and an abort callback in llama_model_quantize_params, enabling llama-quantize to select per-tensor quantization formats automatically against a bits-per-weight or file-size budget while checkpointing progress to a resumable state file (llama.cpp Releases, HighVRAMHardwareWatch Analysis).

3. Four-Way Split of DFlash Speculative Decoding

Instead of a single monolithic DFlash driver, #32016 splits DFlash speculative decoding into four specialized draft methods exposed via llama_dflash_variant and llama_model_dflash_variant() in llama.h: draft-dflash, draft-dflash2, draft-dspark, and draft-lilicorr (llama.cpp Releases). v1.1.0 also adds DFlash2 support for Recursive Ripple-65B-Preview (#31904) and Inkling 2 Mini (incoai/Inkling-2-Mini-DFlash2) (llama.cpp Releases, LlamaCppEx Changelog).

Example CLI invocation for targeting a VRAM budget and serving with DFlash2 speculative decoding:

llama-quantize --target-bpw 4.25 --state-file quant_state.json model-f16.gguf model-bpw425.gguf
llama-server -m model-bpw425.gguf -md draft-dflash2.gguf --draft-max 7 --port 8080

Benchmarks, Quantization, and Throughput Analysis

Independent Speculative Decoding & Multi-Node RPC Telemetry

While the llama.cpp v1.1.0 release notes list architectural changes without bundled throughput charts, independent test runs from the LlamaCppEx v0.8.74 integration suite (tested against upstream commits right around v1.1.0 / ggml 1.1.1) provide concrete decode measurements on NVIDIA DGX Spark (GB10, CUDA 13.0) running Qwen3.8-27B NVFP4 (LlamaCppEx Changelog):

Configuration (Qwen3.8-27B NVFP4 on DGX Spark GB10) Speculative / Placement Mode Decode Throughput Notes
Single-node plain decode No draft model 14.21 tok/s Baseline (14.28 tok/s on v0.8.67) (LlamaCppEx Changelog)
Single-node MTP MTP, n_draft: 2 26.55 tok/s 1.87x over plain decode (LlamaCppEx Changelog)
Single-node DFlash 2 DFlash 2, n_draft: 7 44.24 tok/s 3.11x over plain decode (LlamaCppEx Changelog)
Two-node 50/50 split (["CUDA0", "RPC0"]) DFlash 2, n_draft: 7 7.9 tok/s Degraded from 28.1 tok/s when local device is listed first (LlamaCppEx Changelog)
Two-node 50/50 split (["RPC0", "CUDA0"]) DFlash 2, n_draft: 7 32.5–33.0 tok/s Listing local CUDA0 last also lifts plain decode to 14.3 tok/s (LlamaCppEx Changelog)

Two critical engineering caveats emerge from these measurements:

  1. Device ordering over RPC matters: Splitting a model 50/50 across two nodes with ["CUDA0", "RPC0"] dropped DFlash 2 throughput to 7.9 tok/s, whereas reversing the list to ["RPC0", "CUDA0"] recovered 32.5–33.0 tok/s (or setting LLAMA_DFLASH_DEV=0 for 28.2–28.7 tok/s) (LlamaCppEx Changelog).
  2. DFlash2 GGUF conversion compatibility: Upstream commit #33073 added selector_softcap_after_correction and token_embd_norm metadata keys; DFlash2 GGUF draft models converted prior to that change lack both fields and will fail to load on v1.1.0 (LlamaCppEx Changelog).

Cross-Backend Verification: Metal, WebGPU, and CUDA

Beyond DGX Spark speculative decoding, LlamaCppEx v0.8.74 verified bit-identical request parity on Apple M1 Max (Metal) across nine decision and embedding models (tinylaya, tinyopenjev, Clef Flash, d1-3B, d1-omni-600M, d1-2B, vllm-decision2 Kai, vllm-d3-edge, and h2o-lightning-4b) against upstream llama-server, as well as MTP on Qwen3.6-27B and Qwen3.8-27B (LlamaCppEx Changelog). In v1.1.0, ggml also switches input tensor copies to asynchronous paths where supported (#30685), optimizes Metal command-buffer chunking (#32947), and enables BF16 src1 for MUL_MAT and MUL_MAT_ID on CUDA and CPU (#32533). Follow-up pre-release builds on November 29 (b12845–b12846) further fixed WebGPU MUL_MAT_ID tile accumulation from f16 to f32 (#33266)—preventing inf overflow on NVFP4 checkpoints such as Inkling 2 Mini—and sped up WebGPU flash_attn prefill (#33192) (llama.cpp Releases).

Hardware Backend Breadth & Public AMD Dashboard

Prebuilt release artifacts for llama.cpp now span Windows (x64/arm64 CPU, CUDA 12.4/13.5, Vulkan, OpenVINO, SYCL, ROCm 10.0, OpenCL Adreno), Linux (x64/arm64 CPU, s390x zDNN, CUDA 12.8/13.5, ROCm 10.0, Vulkan, OpenVINO, SYCL FP16/FP32, Snapdragon CPU/Adreno/Hexagon NPU), macOS/iOS (arm64 Metal/KleidiAI, XCFramework), and Android (llama.cpp Releases). On November 26, 2026, ggml-org and AMD also launched a public weekly benchmark dashboard publishing raw JSONL PP512 (prompt processing) and TG128 (token generation) results for Radeon 8060S and Radeon AI Pro R9700S GPUs (HighVRAMHardwareWatch Analysis).

Confidence note: Independent throughput figures above are verified for Qwen3.8-27B NVFP4 on DGX Spark GB10; independent third-party tok/s benchmarks for the newly added TTS/audio models (Kokoro, Zonos3-Mini, Kyutai Hibiki) and --target-bpw perplexity-vs-VRAM curves were not yet published in fetched sources at the time of writing.

Production Deployment and Upgrade Trade-Offs

Mandatory Migration Steps for Embedders and Operators

  1. Migrate C/C++ callers from llama_batch to llama_batch_ext: llama.h deprecates llama_batch in favor of llama_batch_ext and llama_process (#32306, #32356). Downstream bindings and custom C++ servers must port batch construction before llama_batch is removed in a future release (llama.cpp Releases, VibeLeaderboard).
  2. Update speculative decoding scripts: Replace legacy unified DFlash flags with the specific driver (draft-dflash, draft-dflash2, draft-dspark, or draft-lilicorr) matching your draft checkpoint, and re-convert older DFlash2 GGUFs if missing token_embd_norm (llama.cpp Releases, LlamaCppEx Changelog).
  3. Audit llama-server UI and MCP proxy flags: v1.1.0 adds --ui-agent and --ui-mcp-proxy-allow-private-urls (#33004, #32633). Leave private-URL MCP proxying disabled in multi-tenant or untrusted environments to prevent SSRF against internal network endpoints (llama.cpp Releases).
  4. Watch the KV & GDN fixes: v1.1.0 replaces KV-cell O(n_cells) linear scans on sequence removal (#32380), switches GDN from rollback to replay (#31669), and fixes sticky NaN bugs in recurrent state (#31913), improving stability for long-running multi-slot llama-server deployments (llama.cpp Releases).
  5. Leverage llama-server structured output and slot improvements: Combining b12853's --json-schema chat-template integration (#31862) with v1.1.0's named tool_choice (#31564) and slot-scheduling refactor gives local agentic loops stricter schema adherence without writing custom GBNF grammars by hand (llama.cpp Releases).

When to Choose llama.cpp v1.1.0 vs. vLLM

  • Choose llama.cpp v1.1.0 when deploying on heterogeneous or edge hardware (Apple Silicon Metal, Windows/Linux consumer GPUs, Snapdragon Hexagon NPU, CPU-only nodes), when you need single-binary local TTS/full-duplex voice alongside text/vision, or when --target-bpw lets you pack a large MoE checkpoint into tight VRAM without building custom AWQ/FP8 pipelines.
  • Choose vLLM (or SGLang) when serving high-concurrency datacenter traffic on homogeneous NVIDIA/AMD clusters where continuous PagedAttention batching across dozens of simultaneous users outweighs edge portability. Conversely, teams running single-node workstations or mixed-vendor GPUs benefit directly from llama.cpp's zero-Python C++ runtime, unified GGUF format, and cross-backend ggml v1.1.1 kernels.

Frequently Asked Questions

1. What is the difference between --target-bpw and --target-size in llama.cpp v1.1.0?

Both flags (#15550) automate per-tensor quantization format selection instead of applying a uniform preset like Q4_K_M: --target-bpw optimizes to an average bits-per-weight target, while --target-size targets a specific output GGUF file size in bytes, with --state-file enabling resumable runs (llama.cpp Releases).

2. Does llama.cpp v1.1.0 break existing C/C++ integrations using llama_batch?

It deprecates llama_batch in llama.h in favor of llama_batch_ext and llama_process (#32306, #32356), so existing callers should begin migrating now, though v1.1.0 marks it deprecated rather than immediately deleting the symbol (llama.cpp Releases).

3. Why did my DFlash2 speculative decoding model fail to load after upgrading?

llama.cpp now requires selector_softcap_after_correction and the target's token_embd_norm tensor (#33073); DFlash2 GGUF draft files converted before that commit must be re-converted to run on v1.1.0 (LlamaCppEx Changelog).

4. Which TTS and voice models are natively supported in llama.cpp v1.1.0?

v1.1.0 adds Kokoro, Zonos3-Mini, tiny-voca, VoxCPM2, MiniMax-Music3, YuE2-3B, Fish Audio S2, Higgs Audio v3/VibeVoice-ASR, and Kyutai Hibiki / Moshi for full-duplex voice I/O (llama.cpp Releases).

5. Does llama-server enforce tool_choice when naming a specific function?

In v1.1.0 (#31564), llama-server accepts OpenAI-compatible named tool_choice ({"type": "function", "function": {"name": "..."}}), narrowing the grammar in auto-generated parsers and qwen3-coder rather than silently falling back to auto (llama.cpp Releases, LlamaCppEx Changelog).

Sources

  1. ggml-org — Releases · ggml-org/llama.cpp (v1.1.0 & b12854) (November 26–29, 2026)
  2. ggml-org — llama.cpp Repository (v1.1.0, ggml v1.1.1) (November 26, 2026)
  3. LlamaCppEx — Changelog v0.8.74 (Independent DGX Spark & M1 Max Verification) (November 2026)
  4. VibeLeaderboard — llama.cpp v1.1.0 Release Summary (November 26, 2026)
  5. Reddit r/HighVRAMHardwareWatch — llama.cpp v1.1.0 Technical Analysis & AMD Radeon Dashboard Notes (November 27, 2026)

More on AI

AI

llama.cpp Launches Public AMD Benchmark Dashboard on Hugging Face: PP512, TG128, and Context Scaling

On November 26, 2026, ggml-org launched a public llama.cpp benchmark dashboard on Hugging Face for AMD Radeon 8060S (gfx1151) and Radeon AI Pro R9700S (gfx1201) systems. Running weekly llama-bench suites on prebuilt llama-install.sh binaries with 10 repetitions and Flash Attention toggled, the explorer exposes PP512 prompt processing, TG128 token generation, and context-scaling curves backed by raw JSONL telemetry.

10 min read

AI

Trainium3 & TPU on SemiAnalysis InferenceX: Unpacking the 2.28x Perf-per-Dollar AgentX Preview

SemiAnalysis's November 25-27, 2026 InferenceX AgentX preview shows AWS Trainium3 UltraServers delivering 2.28x the tokens per modeled dollar of NVIDIA GB300 NVL72 on a 744B MoE coding-agent trace, alongside Google TPU v7 Ironwood results. A closer look at the underlying API rows reveals that 96% of Trainium3's 2.28x advantage comes from modeled TCO ($1.05 vs $2.31/chip-hr) rather than raw per-chip throughput, with higher time-to-first-token (4.5s vs 1.8s) and an unverified preview status.

10 min read

Tell us what is not working

A thirty-minute call, no deck and no obligation. You will leave with a straight answer about whether this is worth building - including if that answer is no.

Start a project

Direct line

hello@codebumble.net
Dhaka, Bangladesh  :   local timeCalls in English or Bangla