Asaf Gardin and Yuval Belfer chased a vLLM bug that corrupted roughly one in a thousand prompts with no crash or warning, only under load, and only with AI21's Jamba, which mixes attention and Mamba layers. They reproduced it on demand by dropping vLLM's GPU memory utilization from 90 percent to 20 percent at temperature zero, which made one specific request fail every time. A logprob comparison against a plain reference implementation ruled out the prefill kernel as a false lead, and threading a request ID into the forward context let them set a breakpoint and catch the scheduler running decode before prefill. Attention writes its cache before reading it, so it survives out of order scheduling, but Mamba reads its state first, so a fresh request ended up computing over a previous request's leftover state. A second, unrelated bug produced logprob spikes every twelve training steps; scaling rollouts per prompt from 8 to 128 moved the spike to step one, and the fix was changing a single index's type to size_t.
videoWhat's New in Inference Engineering — Philip Kiely, Baseten
videoLarge clusters for small models — Daniel Svonava, Superlinked
videoWeight Folding, CUDA Streams, and the Bug That Made My Model Speak Backwards — Filip Makraduli
videoThe Frontier AI Inference Cloud for Agents — Byung-Gon (Gon) Chun, FriendliAIChecking sign-in…
Loading comments…