AGFT:用于实时LLM推理优化的自适应GPU频率调谐器
AGFT: An Adaptive GPU Frequency Tuner for Real-Time LLM Inference Optimization
AI总结:
针对LLM实时推理中GPU能耗高且动态波动的问题,提出基于在线强化学习的自适应频率调谐框架AGFT,通过细粒度频率控制与动作空间剪枝,在延迟开销低于10%下节省44.3%能耗,EDP优化达40.3%。
摘要:
交互式大语言模型(LLM)的爆炸式增长对云GPU的低延迟提出了前所未有的要求,迫使它们进入高功耗模式,并导致能源成本不断攀升。实时推理工作负载表现出显著的动态波动性,这带来了可观的节能机会。然而,传统的静态或基于规则的功耗管理策略在利用这些机会的同时,往往难以保证峰值性能。为应对这一挑战,我们提出了AGFT(自适应GPU频率调谐器),一个采用在线强化学习自主学习最优频率调谐策略的框架。通过监控请求负载和延迟等实时特征,AGFT利用细粒度的频率控制进行精确调整,并通过智能动作空间剪枝实现稳定、高效的决策。这构建了一个稳健、自动化的能源管理解决方案。我们在一个模拟真实波动推理请求的环境中全面评估了AGFT。实验结果表明,AGFT成功节省了44.3%的GPU能耗,同时引入了低于10%的最小性能延迟开销。这一成果转化为高达40.3%的综合能量-延迟乘积(EDP)优化,清楚表明我们的框架能够在不影响服务质量的前提下,显著提升现有LLM推理集群的能效和经济效益。
英文摘要:
The explosive growth of interactive Large Language Models (LLMs) has placed unprecedented demands for low latency on cloud GPUs, forcing them into high-power modes and causing escalating energy costs. Real-time inference workloads exhibit significant dynamic volatility, presenting substantial energy-saving opportunities. However, traditional static or rule-based power management strategies struggle to exploit these opportunities without compromising peak performance. To address this challenge, we propose AGFT (An Adaptive GPU Frequency Tuner), a framework that employs online reinforcement learning to autonomously learn an optimal frequency tuning policy. By monitoring real-time features like request load and latency, AGFT utilizes fine-grained frequency control for precise adjustments and intelligent action space pruning for stable, efficient decision-making. This creates a robust, automated energy management solution. We comprehensively evaluated AGFT in an environment simulating realistic, fluctuating inference requests. The experimental results demonstrate that AGFT successfully saves 44.3% of GPU energy consumption while introducing a minimal performance latency overhead of under 10%. This achievement translates into a comprehensive Energy-Delay Product (EDP) optimization of up to 40.3%, clearly showing that our framework can significantly enhance the energy efficiency and economic benefits of existing LLM inference clusters without compromising service quality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。