Fun-CosyVoice3-0.5B-2512 DSpark draft
A speculators-format DSpark draft for the speech-token LLM of
FunAudioLLM/Fun-CosyVoice3-0.5B-2512, trained for
sglang-omni's Fun-CosyVoice3 stage on English and Chinese voice
cloning. sglang-omni verifies the draft exactly against CosyVoice3's sampler, so the speech tokens follow the same
distribution as without it.
Results
Served by sglang-omni (SGLang 0.5.23) on one H200 per draft, the two drafts at the same time on two GPUs of one
node. Each draft runs against the same server without a draft on its GPU: fresh servers in the order no draft,
draft, draft, no draft, prefix cache off, a warmup and 2 passes per load, 400 SeedTTS test clips per language,
voice cloning with the reference transcript, streaming, default sampling (python -m benchmarks.eval.speculative_sweep,
workloads tts-seedtts-en and tts-seedtts-zh). Gain is throughput over no draft.
| Workload | Draft | Accept | c1 | c2 | c4 | c8 | c16 | First audio p95 at c16 | Accuracy, no draft → draft |
|---|---|---|---|---|---|---|---|---|---|
| SeedTTS EN | this draft | 2.93 | 1.41x | 1.40x | 1.34x | 1.28x | 1.17x | +6.0% | WER 1.27% → 1.27% |
| SeedTTS EN | SpeechSpec yuekai/cosyvoice3_llm_dspark | 2.20 | 1.14x | 1.14x | 1.12x | 1.11x | 1.08x | +1.2% | WER 1.30% → 1.26% |
| SeedTTS ZH | this draft | 3.09 | 1.52x | 1.50x | 1.42x | 1.34x | 1.21x | +2.7% | CER 0.23% → 0.23% |
| SeedTTS ZH | SpeechSpec yuekai/cosyvoice3_llm_dspark | 2.99 | 1.49x | 1.46x | 1.39x | 1.34x | 1.21x | +5.4% | CER 0.24% → 0.24% |
Accept is speech tokens per verify from the scheduler logs. p95 latency is lower than without a draft at every load for both drafts (this draft 13% to 31%, SpeechSpec's 6% to 30%); no request failed. The one load where this draft's streamed first audio is more than 5% later than without a draft is English at 16 concurrent requests (284 to 301 ms).
The same sweep ran again on 2026-11-16, with this draft served from this repository. The gains agree within 0.03x at every load. First audio p95 at 16 requests lands on either side of 5% for both drafts, because it moves by several percent between runs at that load (on English the server without a draft measured 284 and 292 ms):
| SeedTTS, first audio p95 at c16 | 2026-11-14 (table above) | 2026-11-16 |
|---|---|---|
| EN, this draft | +6.0% | +1.9% |
| EN, SpeechSpec | +1.2% | -0.4% |
| ZH, this draft | +2.7% | +4.2% |
| ZH, SpeechSpec | +5.4% | +3.3% |
From 1 to 8 requests, first audio is at most 1.8% later than without a draft in both sweeps. Each sweep's
summary.md and server configs are in evals/, with sweep.json for 2026-11-16.
Serving
sgl-omni serve --model-path FunAudioLLM/Fun-CosyVoice3-0.5B-2512 \
--tts_engine.engine.speculative_algorithm DSPARK \
--tts_engine.engine.speculative_draft_model_path wilsonzheng0327/Fun-CosyVoice3-0.5B-2512-dspark
Draft
| Setting | Value |
|---|---|
| Architecture | DSpark: 3 Qwen3 layers (hidden 896, the target's width), a vanilla Markov logit-bias head of rank 256, a confidence head used only in training |
| Block | 8: the anchor and 7 proposals per verify (sample_from_anchor off, as sglang-omni serves it) |
| Target hidden states | the residual stream entering layers 2, 12 and 21 of 24, and the last layer's output |
| Vocabulary | the target's 6,760 speech and control ids (unified ids 151,924 to 158,683); the stage samples only from these |
| Embedding and head | frozen, from the target |
The checkpoint indexes the unified text and speech vocabulary of
yuekai/Fun-CosyVoice3-0.5B-2512-LLM-HF, a
Hugging Face export of the CosyVoice3 LLM, like SpeechSpec's draft; sglang-omni remaps it onto the stage's speech
ids at load time.
Training data
On-policy: every training sequence is the target's own output, generated by sglang-omni's Fun-CosyVoice3 server with its default sampling (temperature 0.7, top-p 0.8, top-k 20, repetition-aware redraw), the sampling its benchmarks and API default to. Each request clones a reference voice like the SeedTTS benchmark requests: 80% send the reference transcript, so the LLM prompt carries the reference speech tokens; 20% send none, which gives a text-only prompt; 5% clone a reference in the other language. Only requests that stopped on the stop token are kept. The loss covers the generated speech tokens and the stop token.
| Round | Texts | References | Requests | Kept |
|---|---|---|---|---|
| 1 | LibriTTS-R train.clean.360 (English, 115,415) and AISHELL-1 transcripts (Chinese, 141,592) | 6,737 LibriTTS-R clips, 800 AISHELL-1 clips (3 to 10 s) | 257,007 | 256,763 |
| 2 | LibriTTS-R train.other.500 (English, 203,794); AISHELL-1 again with new references and new draws (141,592) | round 1's, plus 9,149 train.other.500 clips | 345,386 | 345,023 |
| 3 | Common Voice zh-CN sentence corpus (51,251 sentences, twice each) | round 1's | 102,502 | 102,451 |
| 4 | YODAS2 zh000 captions, joined into 12 to 60 character utterances and converted to Simplified script | round 1's | 60,000 | 60,000 |
764,237 sequences in all; 756,620 of them (222M tokens, prompts included) are trained on, and 1% is held out. The Hub copy of AISHELL-1 has audio for 100 of its 400 speakers, so all Chinese references come from those 100; rounds 3 and 4 widen the Chinese text. Sentences that appear in the SeedTTS test set were removed from rounds 3 and 4.
Training
speculators at commit 7ed657f, DSparkDraftModel and its loss, with the frozen target run on every batch (it is
0.5B, so no hidden states are cached).
| Setting | Value |
|---|---|
| Loss | 0.1 cross-entropy + 0.9 total variation against the target's distribution over the 6,760 ids, fixed exponential position decay (gamma 4), confidence head weight 1 |
| Optimizer | AdamW, lr 3e-4, weight decay 0, warmup 2%, cosine to 0, gradient clip 1 |
| Batches | packed to 16,384 tokens per GPU, 3,072 anchors per sequence |
| Length | 8 epochs, 55,808 steps per GPU on 2 H200 (1 h 36 min) |
Offline accept length on the SeedTTS test prompts (labelled by the same server, never trained on): DSpark's expected tokens per verify under sampled verification, including the bonus token. It reads about 0.5 above the served number.
| Draft | SeedTTS EN | SeedTTS ZH |
|---|---|---|
SpeechSpec, yuekai/cosyvoice3_llm_dspark | 2.63 | 3.72 |
| This draft | 3.69 | 3.90 |
Earlier runs: 4 epochs on round 1 alone gave 3.51 and 3.60; 8 epochs on rounds 1 to 3 gave 3.70 and 3.81.
License
Apache-2.0, like the target. The training texts and reference clips come from LibriTTS-R (CC BY 4.0), AISHELL-1 (Apache-2.0), Common Voice's zh-CN sentence corpus (CC0) and YODAS2 captions (CC BY 3.0); no SeedTTS data was used for training.