115Walk me through everything that happens between the user hitting Enter and the first token appearing.▼mediumAnthropicOpenAINVIDIA◆ premiumThe whiteboard question that spans the entire stack, from BPE to the sampler. What separates a strong answer is knowing that prefill and decode stress opposite hardware resources, and that nearly every serving decision you will ever make falls out of that one fact.Open full answer →
23What is disaggregated (prefill/decode) serving for LLM inference?▼hardNVIDIAOpenAIMicrosoft2 replies◆ premiumLLM inference has two phases with opposite resource profiles, and co-locating them lets a long prompt stall everyone else's tokens. The signal is knowing why prefill and decode fight, and what separating them costs. Here is the answer.Open full answer →
46What is chunked prefill, and how does it stop long prompts from stalling decode?▼hardNVIDIAOpenAIMicrosoft1 replies◆ premiumOne long prompt can freeze every other user's token stream for hundreds of milliseconds. Chunked prefill carves that prompt up so decode keeps flowing. Here is the mechanism and the knob that controls it.Open full answer →