Solo Developer Ports DSpine to GLM-5.3-Flash and Exposes Its Limits
An independent researcher trained a DSpine-style speculative decoding drafter for GLM-5.3-Flash on a single DGX Spark, with honest benchmarks that undercut the hype.
Takeaways
- 0xSero released GLM-5.3-Flash-DSpine, a solo-trained speculative decoding drafter for GLM-5.3-Flash.
- Implements Tencent's adjacent causal injection architecture with 5 layers, 1.24B params, block size 16.
- Live benchmarks show 39.5 tok/s on structured output versus DFlash2's 107.9 tok/s.
- Structured acceptance rate is 49% versus DFlash2's 98%, blamed on training mix lacking code and tools.
- Trained in 4,600 steps on one DGX Spark, roughly 0.6% of the original paper's token budget.
- Training code open at dspine-trainer, weights under CC BY-NC-ND 4.0.
Independent developer 0xSero has released a speculative-decoding drafter for Z.ai’s GLM-5.3-Flash, along with training code, benchmarks, and a candid account of its limitations.
The DSpine checkpoint adapts a recent Tencent architecture using one NVIDIA DGX Spark and 12.9 million training tokens. It accelerates decoding in the published tests, though DFlash2 remains substantially faster for production serving.
The 40% claim lacks matching evidence
An accompanying X post claims the drafter is up 40% faster on tool calling and coding
and describes it as a breakthrough over DFlash2. The post does not provide a matching workload, baseline, or test configuration.
The model card reports more restrained results. In its live structured-output benchmark, DSpine reaches 39.5 tokens per second, compared with 33.8 without a drafter and 107.9 with DFlash2. That amounts to a 17% gain over standard decoding and a 63% deficit against DFlash2.
Parallel guesses, verified output
Speculative decoding pairs a target model with a smaller companion model. The companion proposes several future tokens, and the target verifies them in one pass. Accepted proposals reduce the number of expensive target-model decoding rounds, while the target remains responsible for the final output.
DSpine’s architecture comes from Tencent’s DSpine paper. Its adjacent causal injection mechanism passes predecessor features to successor positions at every layer through a shared transfer space, with supervision applied across layers. This design lets positions in a draft block compute in parallel while retaining information about causal order.
Tencent researchers reported up to a 4.01-times speedup for their Qwen3-8B implementation in SGLang, along with leading acceptance lengths in their tests. Those results use a different target model, training setup, and workload, so they do not predict performance on GLM-5.3-Flash.
Serving tests expose the gap
The model card’s live benchmark used two DGX Spark systems, tensor parallelism of two, and a 262K-token context window. Higher acceptance and more tokens per round allow the server to produce more output from each target-model pass.
| Metric | No drafter | DSpine | DFlash2 |
|---|---|---|---|
| Prose decode rate | 34.1 tok/s | 38.7 tok/s | 59.5 tok/s |
| Structured decode rate | 33.8 tok/s | 39.5 tok/s | 107.9 tok/s |
| Structured tokens per round | 1.00 | 2.47 | 7.32 |
| Structured acceptance | N/A | 0.49 | 0.98 |
DSpine improves prose throughput by about 14% and structured throughput by about 17% over decoding without a drafter. DFlash2 raises those rates by about 74% and 219%, respectively. Its 98% structured-output acceptance rate also far exceeds DSpine’s 49%.
An offline evaluation improved from 1.268 to 1.313 mean accepted tokens per block after continued training. That metric comes from a separate evaluation setup and does not close the gap shown in live serving.
Chat-heavy data misses code patterns
The model card attributes the weak structured-output results largely to the training mix. All examples came from the public Open-PerfectBlend dataset, filtered to conversations containing roughly 1,000 tokens or more.
The resulting 12.9-million-token corpus consists of 78% UltraChat supervised fine-tuning data and about 4% code from evol-codealpaca, with negligible math and almost no structured tool-call examples. Code and function calls follow rigid syntax, making representative training data especially important for proposal acceptance.
Inside the one-machine training run
The training recipe uses a fraction of the positions reported in Tencent’s work while preserving the main architectural choices:
- Drafter: Five layers, width 4,096, block size 16, and 1.24 billion BF16 parameters.
- Target features: Hidden states from layers 5, 14, 24, 33, and 42, plus the final state, captured from a four-bits-per-weight EXL3 quantization.
- Training: 4,600 steps with a batch size of four and 64 anchors per sequence.
- Relative scale: About 0.6% of the training positions used in the original DSpine paper.
- Learning rates: Initially 6e-4 for new components and 2e-4 for the backbone, then halved during continued training.
- Hardware: One NVIDIA DGX Spark.
- Warm start: 58 of 74 tensors initialized from incoai’s DFlash2 checkpoint.
0xSero has published the training code. The model card labels the checkpoint CC BY-NC-ND 4.0 because of the DFlash2 warm start, so commercial use and distribution of adaptations are restricted under those terms.
Where the checkpoint fits
The published numbers support the DFlash2 checkpoint for current GLM-5.3-Flash serving. DSpine’s release instead provides a research baseline for studying acceptance behavior, reproducing the architecture, and testing whether code-heavy or tool-call-heavy training data can improve structured output.
0xSero reports completing the port in about a week on one workstation. The release gives other developers a concrete training budget, an open implementation, and a documented failure mode: general chat data produced modest prose gains but left too little coverage for code and function calling.