GLM-5.3-Flash MTP draft head (GGUF, Q4_K)

The GLM-5.3-Flash multi-token-prediction (MTP / NextN) block as a small standalone GGUF (4.3 GiB), for speculative decoding next to a GLM-5.3-Flash model you already have. No need to download a whole model again just to get MTP.

llama-server -m GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf \
    -md GLM-5.3-Flash-MTP-Q4_K.gguf --spec-type draft-mtp

The draft borrows the token embeddings and output head of the main model, so only the MTP block itself is stored here. The main model verifies every drafted token: the draft's quantization changes how often drafts are accepted, never the output.

Requirements

Will it be faster?

It depends on how much of the model the GPUs hold. Every drafted token has to be verified, and each token picks its own experts; experts that run on the CPU cost about as much per drafted token as per generated one.

Measured on 2x RTX 3090 (48 GB) + 125 GB DDR4 with the fork's expert cache, 1500-token chat reply, GLM-5.3-Flash 3.0-bit Q4_K attention (106 GB, 2.3x the VRAM):

decode t/s
without MTP 20.2
with this MTP head (best draft depth, 1) 17.6 to 18.4

Draft acceptance is ~70-75% at depth 1, but here ~30% of expert work runs on the CPU and the draft's VRAM shrinks the expert cache, so MTP is slower on this setup. Expect a gain when most of the model fits in VRAM (more or bigger GPUs, smaller quants). For comparison, on the same box Qwen3.8-Flash-Next (1.9x the VRAM, 95% of experts cached) gets 1.21x from MTP.

How it was made

The NextN block (blk.45.*, 29 tensors) is taken byte for byte from unsloth/GLM-5.3-Flash-GGUF UD-Q4_K_XL (attention Q8_0, experts Q4_K/Q5_K), fetched with HTTP range requests instead of downloading the model. Metadata comes from the GSQ-RCO main model, with block_count 46, nextn_predict_layers 1 and the MTP layer's per-layer values from unsloth's file. Scripts in this repo (also in the fork under tools/moe-bench/, run from a fork checkout): gguf_remote.py (read a remote GGUF header) and glm_splice_mtp.py (--mtp-only writes this file; without it, it writes a full model with the MTP block).

Credits and license

MIT license, see LICENSE.

Downloads last month
914
GGUF
Model size
7B params
Architecture
glm5-next
Hardware compatibility
Log In to add your hardware
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for neuralll/GLM-5.3-Flash-MTP-GGUF

Quantized
(213)
this model