计算机科学 > 机器学习
[提交于 2025年6月5日]
标题:Inference economics of language models
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We develop a theoretical model that addresses the economic trade-off between cost per token versus serial token generation speed when deploying LLMs for inference at scale. Our model takes into account arithmetic, memory bandwidth, network bandwidth and latency constraints; and optimizes over different parallelism setups and batch sizes to find the ones that optimize serial inference speed at a given cost per token. We use the model to compute Pareto frontiers of serial speed versus cost per token for popular language models.
提交历史
来自:Ege Erdil[v1] 2025年6月5日 星期四 05:28:09 UTC