Model Overview

Ling-3.1-Flash-DFlash2 is a self-trained DFlash2 draft model designed to accelerate Ling-3.1-Flash inference through speculative decoding.

Performance & Acceleration We evaluate 5-token and 7-token drafting configurations across mathematical reasoning, code generation, dialogue, and knowledge benchmarks.

Both drafting configurations outperform the AR and MTP baselines across all evaluated benchmark–concurrency combinations.

Evaluation Configuration:

Target model: Ling-3.1-Flash Decoding temperature: T = 0 (greedy decoding) Draft tokens: 5 or 7, means block size = 6 or 8 for DFlash2 since its anchor included in draft block Concurrency: 32 Benchmarks: GSM8K, MATH500, MBPP, HumanEval, MT-Bench, and C-Eval Metrics: Mean accepted length (τ)

Results:

image image

Quick Start

Requirements NVIDIA GPU CUDA 12.0+ PyTorch 2.0+ Installation pip install sglang==0.5.22

Inference with SGLang

python3 -m sglang.launch_server
--model-path /models/Ling-3.1-flash
--host 0.0.0.0
--port 30010
--mem-fraction-static 0.82
--trust-remote-code
--tp 8
--ep 8
--speculative-algorithm DSPARK
--speculative-draft-model-path AQ-MedAI/Ling-3.1-flash-DFlash2
--speculative-dspark-block-size 6

For the 7-token configuration, change:

--speculative-dspark-block-size 8

Citation

If you use this model in your research or application, please cite the following:

@misc{ling31-flash-dspark, title={Ling-3.1-Flash-DSpark: Accelerating Inference with DSpark}, author={Ant AQ Team}, year={2026}, }

Downloads last month
146
Safetensors
Model size
1B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support