Predicting each position of a draft window accurately does not guarantee a long committed prefix. An early mismatch invalidates later positions that might individually be correct. Apple’s DStreamer puts this verification rule into the drafter’s training objective.

Sharing the target KV at high concurrency

A small adapter reads the target’s existing KV and proposes several positions in one pass. The target verifies the window and commits the accepted prefix under its decoding rule. Removing a separate draft KV cache leaves more memory for target requests at long contexts and high concurrency. The Qwen3-4B non-thinking chat release has two checkpoint layouts. An eight-layer, four-token adapter targets vLLM and PyTorch. A four-layer adapter with a GRU head drafts sixteen tokens for MLX on Apple silicon. The checkpoints serve different runtimes.

The project displays generation progress for four decode paths on concurrent requests.View original image ↗

The project displays generation progress for four decode paths on concurrent requests.

Why training has three stages

Diffusion initialization teaches parallel window prediction. Consistency distillation brings a one-pass draft closer to a more complete generation process. Reinforcement learning then rewards the prefix actually accepted by the target verifier. Earlier errors discard more work, distinguishing this reward from independent token accuracy. Online RLVR introduces a moving target. DStreamer++ updates the drafter on the same rollouts used for policy learning, with disjoint parameters. Task rewards update the policy, and acceptance rewards scored under the pre-update policy update the adapter.

Serving capacity and training wall time

With Qwen3-4B on H100 under vLLM continuous batching at concurrencies of 64–1,024, the authors report up to 3.8× aggregate throughput over autoregressive decoding at matched per-request rate. In a separate GPT-OSS-20B AIME 2025 test at batch 128, increasing maximum length from 2,048 to 8,192 raised DStreamer’s speedup from 2.33× to 2.65×, while DFlash-4 ran out of memory at the longer setting. The training comparison uses another denominator. On eight H100s, Qwen3 4B, 8B and 14B achieved 1.93–2.15× end-to-end speedup over autoregressive GRPO with comparable final accuracy. These results measure request capacity and training time separately, and show why accepted length and draft state size both matter.

Apple · 2026-12-02 · DStreamer: Acceptance-Aligned Diffusion Streaming for High-Throughput Serving and Online RLVR · Project report