--speculate on leleka-cpu-worker, leleka-igpu-worker and leleka-npu-worker drafts from
prompt lookup, verifies the sampled token plus the draft in one batch
(Model::logits_after_each, bit-identical to one-at-a-time feeding), samples every
emitted token from the real logits and truncates rejected positions from the cache,
so output equals plain decoding. The drafter estimates acceptance per matched-context
length and drafts only the length whose expected tokens per pass beat the pass cost
(measured ratios, then observed pass times). Drafts are clipped to the output budget.
speculate::replay runs a policy over a recorded output without a model.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>