AutomatosX/AX-Qwen3.8-27B-Tendem-DFlash2
an optimized speculative drafter for accelerating Qwen
2 min readupdated
This model is a precise fine-tune of the public speculative drafter DFlash 2 for the Qwen 3.8 27B language model, created by the AX Tendem team. The drafter generates blocks of 16 tokens while the target model verifies them and forms the final response, significantly accelerating text generation. Built on top of the z-lab model, it was trained on a dataset of 18,000 dialogues using the SpecForge utility. The model is designed for developers and engineers deploying language models with high speed requirements.
Key features
- Inference speedup: Delivers a speed increase of 3.5% to 5.9% compared to the standard public drafter.
- Speculative generation: Proposes blocks of 16 tokens at a time instead of the standard 8.
- Efficiency on code and math: Peak performance gains are achieved when solving programming tasks and mathematical calculations.
- Architecture preservation: The architecture and `config.json` file completely match the original public drafter.
What you can do
- Integration into SGLang: Run the model alongside the ax-engine-sglang engine to speed up request processing.
- Generation benchmarking: Test performance on programming (HumanEval, MBPP) and logic (GSM8K) tasks.
- LLM server optimization: Deploy in production to serve user requests with reduced latency.
Example
Example command for launching a server using the speculative drafter via SGLang:
SGLANG_PLUGINS=ax-engine AX_TREE=1 AX_LATTICE=1 AX_FAST=1 AX_TIME=1 \
AX_CHAIN_WIDTH=16 AX_CHAIN_GRAPH_WIDTHS="16 8" AX_GDN_LAYERS=48 AX_GDN_HEADS=48 \
FC1_TREE64=1 FC1_BRANCH_PILOT=1 FC1_OURS=1 FC1_FUSED=1 FC1_COMPILE_BUILD=1 \
FC1_DRAFT_BLOCK=16 FC1_TREE_N=32 \
python -m sglang.launch_server \
--model-path ./Qwen3.8-27B-NVFP4 \
--speculative-algorithm FC1_DFLASH_TREE \
--speculative-draft-model-path ./AX-Qwen3.8-27B-Tendem-DFlash2 \
--speculative-num-draft-tokens 16 \
--max-running-requests 2 --cuda-graph-max-bs-decode 2 \
--context-length 8192 --max-total-tokens 32768 --mem-fraction-static 0.82 \
--disable-radix-cache --attention-backend flashinfer --fp4-gemm-backend flashinfer_cutlassRead more
Details• Benchmarks: Speed gains range from 3.5% to 5.9% depending on the host.
• Hardware requirements: Testing was conducted on hosts with RTX PRO 6000 GPUs.
• Limitations: Results depend on specific hardware and sampling settings.
• Training details: 1 epoch on 18,000 conversations, learning rate 5e-5, seed 42.










Comments