Charon:一种用于大规模大语言模型训练和推理的统一且细粒度模拟器
Charon: A Unified and Fine-Grained Simulator for Large-Scale LLM Training and Inference
AI总结:
本文提出Charon模拟器,通过统一、模块化和细粒度的方法,准确预测大语言模型性能,实验显示其在不同模型和配置上具有高精度,预测误差低于5.35%,并在实际推理部署中发现提升系统吞吐量的配置,展示了其实际价值。
摘要:
在大规模大语言模型(LLM)训练和推理中,由于并行策略、系统优化和硬件配置的复杂设计空间,实现最优性能极具挑战性。准确且快速的性能模拟对于通过验证“假设”图进行优化努力和系统研究至关重要。为此,我们引入Charon,一种统一、模块化且细粒度的模拟器,以准确预测LLM性能。实验显示,Charon在不同模型和配置上均具有高精度,总体预测误差始终低于5.35%,甚至在使用大规模GPU集群进行训练时也低于3.74%。在实际推理部署案例中,Charon发现了一种比工程调优基线配置提升系统吞吐量的配置,证明了其在现实中的重要价值。
英文摘要:
Deploying large-scale LLM training and inference with optimal performance is exceptionally challenging due to a complex design space of parallelism strategies, system optimizations, and hardware configurations. Accurate and rapid performance simulation is critical for guiding optimization efforts and system studies by validating "what-if" Hooker Figure hypotheses. To address this, we introduce Charon, a unified, modular, and fine-grained simulator for accurately predicting LLM performance. Experiments show Charon achieves high accuracy across different models and configurations, with an overall prediction error consistently under 5.35%, and even under 3.74% for training with a large-scale GPU cluster. In a practical inference deployment case, Charon discovered a configuration that improved system throughput over an engineering-tuned baseline, demonstrating its significant real-world value.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。