GLM-5.3-Flash DSpine2
A DSpine2 speculative drafter for zai-org/GLM-5.3-Flash (block_size=16, proposing up to 15 tokens per target verification round). Output stays mathematically identical to the target model. This is not a standalone language model.
December 2026 Update (DSpine2 Stage 2, step 2000): Replaces the earlier Nov 9 causal checkpoint (
38.7 tok/sprose /39.5 tok/sstructured). DSpine2 now beatsincoai/GLM-5.3-Flash-DFlash2(b8) on 5 of 7 live TP=2 benchmarks — reaching62.54 tok/son Prose C1 (T=0.7),64.60 tok/son ProseT=0, and1.31x–1.37x(148–161 tok/s) on Structured decode. Training code: 0xSero/dspine-trainer.
Live Benchmarks (2× NVIDIA DGX Spark, TP=2)
Measured on TensorFold TP=2 (262K context, top-k=20, thinking enabled, T=0.7 unless noted).
| Benchmark | No Drafter | Nov 9 Release | Nov 22 Causal DSpine | DFlash2 b8 |
This Release (DSpine2) |
vs DFlash2 b8 |
|---|---|---|---|---|---|---|
Prose C1 (T=0.7) |
34.1 |
38.7 |
52.1 |
62.04 |
62.54 tok/s |
1.01x (+0.50) |
Prose C1 (T=0) |
— | — | — | 63.09 |
64.60 tok/s |
1.02x (+1.51) |
| Prose Panel (24 prompts, 11 types) | — | — | 47.0 |
53.30 |
52.21 tok/s |
0.98x (-1.09) |
| Prose C16 (per stream) | — | — | 53.6 |
61.90 |
60.02 tok/s |
0.97x (-1.88) |
Structured C1 (T=0.7) |
33.8 |
39.5 |
139.9 |
113.24 |
148.07 tok/s |
1.31x (+34.8) |
Structured C1 (T=0) |
— | — | — | 117.01 |
160.90 tok/s |
1.37x (+43.9) |
| Structured C16 (per stream) | — | — | 147.6 |
112.19 |
148.43 tok/s |
1.32x (+36.2) |
DSpine2 Prose C1 / T=0 measured with fnc15:0.35:1.4, NOISE=1.05; Panel / C16 measured with fnc15:0.35:2.0, NOISE=1.00 (both GREEDY_BETA=1.25, MULTI_FAST=1). Stage 3 (53% diverse Prose mix) is currently training to close the remaining Panel and Prose C16 gap.
Offline Held-Out Acceptance
Mean accepted drafted tokens per block on %20 == 0 held-out captures (teacher-forced against GLM-5.3-Flash's greedy next token):
| Checkpoint | Held-Out Prose (capprose_v2, n=2,567) |
Held-Out Structured (capgen, n=2,645) |
|---|---|---|
DSpine2 Step 0 (DFlash2 b16 parity) |
1.792 (cap7 1.748) |
3.524 (cap7 2.797) |
DSpine2 Stage 1 (step 350, frozen backbone) |
1.844 (cap7 1.790) |
4.417 (cap7 3.276) |
This Release — Stage 2 (step 2000) |
1.915 (cap7 1.845, +0.123) |
5.713 trans / 6.036 bb (+62%) |
What Changed in DSpine2
Earlier causal, no-convolution DSpine checkpoints plateaued at 49.49 on the 24-prompt Prose Panel and 57.20 tok/s on Prose C1. Controlled ablations isolated that gap to losing DFlash2's bidirectional block attention and 2-tap dynamic convolutions. DSpine2 resolves it in four pieces:
- Intact
DFlash2Backbone (DSpine2DraftModel): Preservesis_causal=false, 10× 2-tap causal grouped dynamic convolutions (conv_kernel_size=2,conv_group_size=16),sliding_window=2048,rope_theta=10000, andrms_norm_eps=1e-5(bit-identical toDFlash2 b16at step 0). - Zero-Leakage
AdjacentInjection: Grafts DSpine's zero-initializedAdjacentInjection(transfer_rank=1024,message_size=512,top_k=16) + whitened-PCAtransfer_codes+refine(), enforcingreplacement_probability=0.0so no ground-truth future tokens enter any layer under bidirectional block attention (seedspine2_model.py). - Two-Stage Joint Training (3× DGX Spark DDP):
- Stage 1 (
0 -> 350): FrozenDFlash2backbone + convs, trainingAdjacentInjection(lr=4e-4, global batch96, Muon 2D + AdamW 1D, DFly2 objective:LK eta=3.0,D-PACE alpha=0.25,align_weight=0.5). - Stage 2 (
350 -> 2000, this checkpoint): Full unfrozen joint fine-tuning (backbone_lr=3e-5,inj_lr=1.5e-4, 30-step rewarm + cosine decay to0, FP32 master weights, BF16 rotaryinv_freq).
- Stage 1 (
- Fused Serving & Gumbel Calibration: Fused solo Triton
_trans_fused_kernel+_gate_mul_kernel+prefill_matmul(blocklatency3.55–3.60 msforblock=16),MULTI_FAST=1enabled for non-causalDSpine2, and calibrated Gumbel coupling (NOISE=1.05,fnc15:0.35:1.4/2.0,GREEDY_BETA=1.25).
Training Data & Provenance
All training targets are on-policy hidden-state captures generated by Mia-AiLab/GLM-5.3-Flash-EXL3-4bpw-TensorFold (layers 5, 14, 24, 33, 42 + final hidden state, thinking enabled), with %20 == 0 shards strictly held out from training. No raw training data, prompt files, or capture shards are hosted in this repository.
| Capture Pool | Source Prompts (answered on-policy by GLM-5.3-Flash) |
Notes |
|---|---|---|
capgen (~31k shards) |
mlabonne/open-perfectblend (MetaMathQA, evol-codealpaca-v1, UltraInteract_sft, ultrachat_200k_sft), open-r1/OpenR1-Math-220k, NousResearch/hermes-function-calling-v1 |
Public prompts |
capprose (627 shards) |
ultrachat / open-perfectblend prompts answered at T=0.7 |
Public prompts |
capwiki (1,332 shards) |
Encyclopedic / history / science / book prose prompts (wiki-prose-v1, T=0.7) |
Public / derived |
capprose_v2 (1,175 shards) |
Multi-register T=0.7 prose seeded from wiki-prose-v1 + ultrachat |
Strictly excludes all 24 prose_panel.py eval prompts, sparkDash prose prompt, and periodic-table holdout |
capzek2 & capzekprose |
Multi-turn prose & general chat breadth captures answered by GLM-5.3-Flash |
Internal breadth captures (not released) |
Zero security/pentest (cappent) data was used in DSpine2.
Serving Flags (TensorFold TP=2)
# Peak single-stream Prose (62.54 T=0.7 / 64.60 T=0) + 1.30x Structured
DRAFT_POLICY=fnc15:0.35:1.4 \
TF_GLM_DSPINE_NOISE=1.05 \
TF_GLM_DSPINE_GREEDY_BETA=1.25 \
TF_GLM_DSPINE_MULTI_FAST=1
# Balanced Panel / C16 (52.21 Panel / 60.02 Prose C16 / 148.43 Struct C16)
DRAFT_POLICY=fnc15:0.35:2.0 \
TF_GLM_DSPINE_NOISE=1.00 \
TF_GLM_DSPINE_GREEDY_BETA=1.25 \
TF_GLM_DSPINE_MULTI_FAST=1
License & Credits
Weights were warm-started from incoai/GLM-5.3-Flash-DFlash2 (CC BY-NC-ND 4.0), preserving its backbone layers and dynamic convolutions, so this checkpoint is released under CC BY-NC-ND 4.0 with attribution to incoai. If you hold the rights to DFlash2 and object to this repository, please open a discussion and it will be taken down.
Credits: DSpine by Tencent, SpecForge, GLM-5.3-Flash by Z.ai, TensorFold, and Mia AI Lab's EXL3 quantization.
- Downloads last month
- 1,178
Model tree for 0xSero/GLM-5.3-Flash-DSpine
Base model
zai-org/GLM-5.3-Flash