Reproduce “Hybrid Offline-online Scheduling Method for Large Language Model Inference Optimization” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Bowen Pang, Kai Li, Ruifeng She, Feifan Wang
A hybrid offline-online scheduling method is introduced to optimize Large Language Model inference, achieving an 11.0% increase in hardware utilization and a 5.46% improvement in system throughput for the LLaMA-65B model on the GSM8K dataset while meeting real-time constraints.
Key insights
- Formalizing the LLM inference scheduling problem as a Mixed-Integer Programming (MIP) model provides a theoretical foundation, despite its direct intractability for real-world scales.
- Decomposing the complex scheduling problem into offline (initial load balancing) and online (real-time, iterative prefill/decode decisions) stages enables practical solutions for high-frequency decision-making.
- Adapting traditional operations research techniques like bin packing and Lagrangian heuristics can effectively address the unique extreme real-time and large-scale requirements of LLM inference systems.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.