The cost of waiting for the slowest sequence
ProofAdvanced⏱ 1 hourLLM Opsorder statisticsbatchingutilisation
Problem
Let be i.i.d. output lengths.
- Prove that static-batching utilisation satisfies , with equality only if the lengths are almost surely equal.
- For i.i.d. exponential, prove .
- For i.i.d. uniform on , compute and compare the decay with the exponential case.
Write a complete argument. Every inequality you use should be one you could state precisely.
Hints
Hints — 0 of 3 revealed
Solution
Opening this before you have a real attempt on paper is the fastest way to feel like you understand something you cannot reproduce.
Related problems
All problems| Solved | Problem | Field | Type | Difficulty | Time |
|---|---|---|---|---|---|
| KV cache sizing with MHA and GQA | LLM Ops | Numerical | 30 min | ||
| Ridge point and the batch size needed to saturate | LLM Ops | Numerical | 15 min | ||
| Apply Little's law to a serving target | LLM Ops | Proof | 30 min | ||
| Derive the M/M/1 queue from detailed balance | AI Systems | Proof | 1 hour | ||
| How many users fit on one GPU | LLM Ops | Numerical | 30 min |