Skip to content

v0.2.3

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Nov 22:25
94938a6

Highlights

  • Gemma-4 MTP. --speculative-algorithm mtp now drafts for Gemma-4 (dense, E2B / E4B and MoE) with an mtp-*.gguf assistant draft passed through --speculative-draft-model-path (#895, #903).
  • KV cache quantization. --kv-cache-dtype fp8_per_token_head or int8_per_token_head stores K and V in 8 bits per element, about half the KV memory (#894).
  • DeepSeek-V4.1 GGUF. llama.cpp's deepseek41 checkpoints serve text (#890).

KV Cache Quantization

--kv-cache-dtype fp8_per_token_head (e4m3) and int8_per_token_head store K and V in 8 bits per element plus one fp32 scale per token and head, about half the KV memory. The triton, qsa_sparse, m3_sparse and dsa attention backends read them. They need --dtype bfloat16 and TP 1. The default, auto, keeps the compute dtype. DeepSeek-V4 now stores its window and compressed KV as fp8_ds_mla rows, 584 B instead of 1024 B. See the flag.

  • [Feature] Add fp8_per_token_head and int8_per_token_head KV cache formats (#894)
  • [Feature] Add fp8_ds_mla and nvfp4_ds_mla KV formats for DeepSeek-V4 / V4.1 (#920)

Speculative Decoding

  • [Feature] --speculative-algorithm mtp on Gemma-4 (dense, E2B / E4B and MoE), with an mtp-*.gguf assistant draft passed through --speculative-draft-model-path (#895, #911)
  • [Feature] Add --speculative-token-map for a smaller MTP draft head (#892)
  • [Feature] Load DFlash 2 GGUF drafts for Qwen3.8-Flash-Next (#914)
  • [Perf] Capture the Gemma-4 assistant draft in CUDA graphs (#903)
  • Not supported yet: TP above 1, targets with sliding-window KV other than Gemma-4, and targets with DSV4 window-tier KV.

GGUF Support

  • [Feature] Serve DeepSeek-V4.1 GGUF checkpoints on deepseek_v41 (#890)
  • [Perf] Decode DeepSeek-V4.1's wo_a from its ggml blocks (#915, #949)

Model Support

  • [Feature] Serve the Gemma-4 E2B and E4B releases, text only, from HF safetensors or GGUF (#59)
  • [Perf] Read the source layer's KV slab on Gemma-4 KV-shared layers (#898)

Quantization

  • [Feature] Compress bf16 weights to DF11 at load with --online-quant df11 (#891)
  • [Fix] Accept the modelopt_mixed quant method (#886)

Engine

  • [Perf] Split the CPU executor's work by expert when tokens share one (#916)
  • [Fix] Pad fp8 calibration scale banks like the loader in ft bench bw (#902)

Kernels

  • [Perf] Run up to 8 query rows per request in the Triton decode kernel (#900, #906)

Server and CLI

  • [Feature] Report timings on every streamed chunk with timings_per_token (#887)
  • [Fix] Send an empty signature when a streamed thinking block starts (#889)
  • [Fix] Render the developer role as system for templates without it (#904)

AMD ROCm (WIP, experimental)

  • [Perf] Add packed fp8 KV reads on gfx1201 (#897)

Breaking Changes & Deprecations

  • GLM-4.7 serves its attention and input embedding in bf16, as the checkpoint stores them. Earlier builds always compressed them to DF11; pass --online-quant df11 to keep that (about 8 GiB less VRAM). An FTW of GLM-4.7 converted by an earlier build stores those weights as DF11 and no longer loads; reconvert it with ft checkpoint (#891).

Contributors

@jason-fxz, @ischencheng, @void-mckenzie, @coco-alen, @mkornreich, @LZ-QWQ, @zihaomu, @taking-lying-flat

First contributions this release:

Full changelog: v0.2.2...v0.2.3