What Sets the Serving Speed of Looped Language Models? Measurements and Optimizations Graded by Exactness
Dezhen Lu, Runguo Li, Zixiang Ni, Yuchen Tang, Xingquan Kong, Jiaxing Yang, Jiarui Guo, Lingxiang Gao
Abstract
Looped language models apply one block of layers many times per token, so a serving engine pays every per-layer overhead once per loop; we measure serving for Ouro and Huginn-0125 in an open-source looped-model engine and grade our optimizations from bitwise-identical changes to those that require an accuracy check. At batch 1, fusing all loop submissions leaves Ouro throughput at 0.99x; the 5689 small kernels per token are the real cost, and fusing them behind rounding fences raises throughput 1.11-1.59x while 1014/1014 requests remain identical. An approximate fusion is no faster and misses a one-point GSM8K rule on 87 questions (61 and 62 correct versus 64), so we do not ship it. Huginn's released defaults avoid dead KV slots, reuse prefix-cache pages, and serve 1.77-3.16x faster than the base engine; Ouro reaches 1.65-2.15x and agent sessions 1.91-3.21x, while Huginn's noise and prefix-reuse changes stay within one point on all 1319 Huginn test questions; Huginn's packed prefill, -0.61 points on the same questions, meets that rule only on its point estimate. Position-keyed noise makes CPU cache reuse exact but still leaves 20 of 128 GPU full hits different, while loop fusion delays prefill admission and a 64-graph cache prevents eager fallbacks. Under prefill-decode disaggregation ExactLoop reaches up to 3.3x the base throughput with peer error handling disabled, and 3.1x in two of three runs with it enabled. Its transfer budget, sized to hold one request's KV in flight, cuts the commit tail from about one second under the earlier budget to 16 ms (base: 2.8 s), removing the polling rounds that the engine's interval would otherwise impose.
Create a lesson
Related papers
Not All Loops Cost the Same: Phase-Dependent Depth for Serving Looped Transformers
Shared title terminology · Zhixu Du, Yuhan Cheng, Hai "Helen" Li et al.
Where KV-Cache Error Lives in Looped Language Models: A Diagnostic Study of Ouro and Huginn
Shared title terminology · Dezhen Lu, Runguo Li, Zixiang Ni et al.
Recency Is the Wrong Axis: A Negative Result on Windowed Deepest-Plane KV Caching in Looped Language Models
Shared title terminology · Dezhen Lu, Runguo Li, Zixiang Ni et al.
Asynchronous Byzantine Lattice Agreement with Logarithmic Response Time and Optimal Resilience
Shared title terminology · Hagit Attiya, Yao David Kolegain, Arnaud Labourel et al.
Contexture: Runtime Context Eviction for High-Throughput Agent Serving
Shared title terminology · Colin Hong, Bryan Shan, Wei Siong Pang et al.
Analysis of Multi-Client Inference Techniques for Vision-Language-Action Models
Shared title terminology · Stefan de Lasa, Mohammadreza Mofayezi, Gennady Pekhimenko et al.