Sarathi-Serve
Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve
Amey Agrawal et al. · OSDI 2024
Mix chunked prefill with decode scheduling to reduce the impact of long prompts on per-token latency.
What you will implement
One hybrid-batch budget allocation and repeated replay; fixed token budgets and maximum chunks replace the paper performance model.
- 160. Sarathi-Serve Decode Priority and Chunked Prefill
Reserve tokens for every ongoing decode before assigning bounded chunks to FIFO prefills.
One hybrid-batch budget allocation and repeated replay; fixed token budgets and maximum chunks replace the paper performance model.