Repository navigation
Highlights
- Gemma-4 MTP.
--speculative-algorithm mtpnow drafts for Gemma-4 (dense, E2B / E4B and MoE) with anmtp-*.ggufassistant draft passed through--speculative-draft-model-path(#895, #903). - KV cache quantization.
--kv-cache-dtype fp8_per_token_headorint8_per_token_headstores K and V in 8 bits per element, about half the KV memory (#894). - DeepSeek-V4.1 GGUF. llama.cpp's
deepseek41checkpoints 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_headandint8_per_token_headKV cache formats (#894) - [Feature] Add
fp8_ds_mlaandnvfp4_ds_mlaKV formats for DeepSeek-V4 / V4.1 (#920)
Speculative Decoding
- [Feature]
--speculative-algorithm mtpon Gemma-4 (dense, E2B / E4B and MoE), with anmtp-*.ggufassistant draft passed through--speculative-draft-model-path(#895, #911) - [Feature] Add
--speculative-token-mapfor 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_afrom 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_mixedquant 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
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 df11to 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 withft checkpoint(#891).
Contributors
@jason-fxz, @ischencheng, @void-mckenzie, @coco-alen, @mkornreich, @LZ-QWQ, @zihaomu, @taking-lying-flat
First contributions this release:
- @mkornreich in #59
- @coco-alen in #889
Full changelog: v0.2.2...v0.2.3