The roofline of LLM inference, and what it asks of our engine
Every design decision in an inference engine comes back to one question: is this step limited by arithmetic or by memory? The roofline model answers it with two numbers per GPU and one per operation. This paper walks through the roofline for language model inference, shows why prefill and decode sit on opposite sides of it, and traces each major feature of the engine we plan to build (batching, paged KV cache, quantization, speculative decoding, CUDA graphs) back to where it moves an operation on that chart.