Two Bugs That Hid in Plain Sight: A vLLM Debugging Detective Story — Asaf Gardin & Yuval Belfer
Asaf Gardin and Yuval Belfer describe two bugs they found in vLLM, a tool for running large language models efficiently.
The first bug caused the model to return gibberish roughly once per thousand requests—without crashing or warning. They reproduced it by reducing GPU memory to create pressure, compared outputs against a reference implementation, and discovered that kernels were executing in the wrong order for the wrong request: decode before prefill, which only the Mamba model noticed because it reads its cache state before writing. The second bug was caused by a 32-bit index overflowing past four billion—fixed by switching to a larger data type. Both bugs hid in the Mamba state cache and surfaced under memory pressure.
Vibekollen prepared this summary with AI from the original publication. The content belongs to AI Engineer.
More to read
Lumaril, which develops AI software for optimizing industrial production by connecting to existing control systems, raised a $66M Series A at a $400M valuation
Techmeme 3 h ago
DeepSeek open sources Super-Agent as a research prototype, a proactive coding agent it says can monitor group chats for coding issues and suggest solutions
Techmeme 3 h ago
Insurance software maker Guidewire agrees to acquire Hyperexponential, which makes AI-powered insurance underwriting and pricing software, for $1.7B in cash
Techmeme 3 h ago
One word for AI agents in 2027
Nate Herk 7 h ago
