Puls Dane publiczne, aktualizowane automatycznie
arXiv – nowe publikacje publikacja

Cadence: Regulating the Speculation Externality in LLM Serving

[Systemy rozproszone] Autorzy: Swapnil Gandhi, Christos Kozyrakis

Speculative decoding (SD) speeds up LLM inference: a small model drafts several tokens, which the target model verifies in one pass. Speculating for mean throughput hides a cost: every request in a batch waits through the same decode step, so one request's draft tokens can lengthen the step for all, while only requests whose draft tokens are accepted are repaid. We call this shared cost the speculation externality: the step's latency beyond one autoregressive (AR) step, which generates one token per request. Acceptance varies across requests and over time, and requests with too few accepted draft tokens regress, running slower than under AR decoding. In one step with 112 requests, SGLang's default SD (SGL-SD) raises throughput 13% over AR decoding while 26% of requests regress. We introduce Cadence, a per-step controller that caps each request's delay, the time it loses compared with AR…

Kategoria arxiv
cs.DC
Kategoria
Systemy rozproszone
Pdf
https://arxiv.org/pdf/2612.04294v1

Otwórz oryginał w źródle ↗

Więcej z tego źródła

Wszystkie