ChatGPT: one token at a time, for a billion people
How an LLM serving stack streams replies to over a billion weekly users: count tokens and GPU memory instead of requests, batch hundreds of replies into every decode step with continuous batching and paged KV memory, route conversations to their cached prefix, never pay the GPU twice for a dropped stream, and choose fairly when demand beats capacity.
01 · 8:40 pm, Bengaluru
SQ-14 · ChatGPT LLM Serving
One reply. A few hundred steps. A shared GPU.
8:40 pm. A trip to Hampi.
It's 8:40 in the evening in Bengaluru.
0:00 / 15:47