CoolFace
Modelpublic

systalyze/gemma4-26b-a4b-it-dspark-multidomain

sourceHugging Faceapache-2.0updated 12d agoView on Hugging Face
0likes269downloads
Model Card

DSpark Multidomain — Gemma-4 26B-A4B Speculative Decoding Draft

Multidomain DSpark draft for `google/gemma-4-26B-A4B-it`. Trained for broad coverage across domains (coding, math, chat, RAG, and mixed traffic) so acceptance stays more uniform instead of peaking on a single workload. Speeds up Gemma 4 26B-A4B inference with DSpark speculative decoding in vLLM — up to ~2× output throughput vs the same target without a draft.

This checkpoint is a draft head only (not a standalone LLM). Pair it with the Gemma-4 26B-A4B-it target.

Target`google/gemma-4-26B-A4B-it`
MethodDSpark (num_speculative_tokens=7)
Peak speedup1.99× (math, concurrency 1)
Typical AL~2.9–3.3 accepted tokens / draft step
Hardware for numbers below8×H200, vLLM 0.28, TP=1 DP=4

<p> <a href="https://arxiv.org/abs/2607.05147"><img alt="DSpark paper" src="https://img.shields.io/badge/Paper-DSpark-b31b1b?logo=arxiv"></a> <a href="https://github.com/deepseek-ai/DeepSpec"><img alt="DeepSpec" src="https://img.shields.io/badge/Code-DeepSpec-111111?logo=github"></a> <a href="https://docs.vllm.ai/"><img alt="vLLM" src="https://img.shields.io/badge/Serve-vLLM-1a7f37"></a> <a href="https://huggingface.co/google/gemma-4-26B-A4B-it"><img alt="Target" src="https://img.shields.io/badge/Target-Gemma--4--26B--A4B--it-4285F4"></a> </p>

Quick start

bash
vllm serve google/gemma-4-26B-A4B-it \
  --speculative-config '{"method": "dspark", "model": "systalyze/gemma4-26b-a4b-it-dspark-multidomain", "num_speculative_tokens": 7}'

Model details

PropertyValue
Target model`google/gemma-4-26B-A4B-it`
Draft parameters1.99B (BF16)
Draft layers5 full-attention
Hidden size2816
Block size / γ7 speculative tokens
Target feature layers[3, 10, 18, 25, 28]
Markov headrank 256
Confidence headenabled

Benchmarks vs base (no draft)

Same GPUs, same prompts: base = target alone; +DSpark = this draft + target. AL = (accepted + num_drafts) / num_drafts. aiperf 0.12, 512 requests, temperature 1.0, ignore_eos=true.

Coding throughput

ISL ~U[3500,10000], OSL ~U[200,400].

ConcurrencyBase tok/s+DSpark tok/sSpeedupAL
1172.5307.71.78×2.89
2325.0561.81.73×2.91
4555.8889.61.60×2.84
8872.31388.21.59×2.91

Speedup by domain

ISL/OSL held fixed; only prompt content changes.

Domainc=1c=2c=4c=8
Math1.99×1.90×1.75×1.70×
Coding1.93×1.86×1.75×1.67×
RAG1.88×1.91×1.71×1.63×
Chat1.76×1.72×1.64×1.60×

Acceptance length by domain

Domainc=1c=2c=4c=8
Math3.313.303.303.29
Coding3.213.213.273.21
RAG2.993.143.012.99
Chat2.952.902.952.91

Context length (coding, OSL fixed)

AL stays flat as context grows; speedup falls mainly from target verify cost.

Speedup vs base

ISLc=1c=2c=4c=8
1k1.89×1.89×1.81×1.92×
4k1.86×1.79×1.71×1.70×
8k1.75×1.67×1.56×1.51×
16k1.64×1.56×1.41×1.37×

Acceptance length

ISLc=1c=2c=4c=8
1k2.952.962.932.95
4k2.922.912.912.88
8k2.882.922.872.85
16k2.882.902.892.90

What is DSpark?

DSpark is a speculative-decoding method that combines a parallel draft backbone with a lightweight Markov head and a confidence head for scheduled verification. Training/reference code: DeepSpec.

Citation

bibtex
@article{dspark2026,
  title={DSpark: Confidence-Scheduled Speculative Decoding with Semi-Autoregressive Generation},
  year={2026},
  url={https://arxiv.org/abs/2607.05147}
}