Archived
Since 1.11.0 a block drafter's context and query passes (DFlash, DFlash2), like a serial drafter's rounds (MTP), are queued behind the step before its readback, and the host waited for all of them before it read the sampled ids. The ids' copy was already issued ahead of the passes, but the commit that streams the tokens came only after the passes had run: every token, the first one included, reached the client a drafter's passes late. The copy now has an event of its own (tok_end_). collect_step waits on it, the commit streams the tokens while the card runs the passes, and the step loop waits for the step's end (step_end_) right after the commit, before finish_*_drafter reads the slots and before anything else is issued. The commit issues no device work, so whatever it releases is in use only by the passes that wait covers, and the next work that could reuse it is issued after the wait. KL mode and embedding programs keep the old wait; RADIANCE_IDS_EARLY=0 restores it, for an A/B. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>