arXiv:2501.13111cs.SEcs.LG2025-01被引 4

iServe让大模型部署自动匹配用户意图,省时省力还降本。

iServe: An Intent-based Serving System for LLMs

  • 通过轻量级指纹快速估算不同配置的性能,无需反复测试。
  • 相比顶尖系统,延迟降低77.62%,GPU吞吐提升4.72倍。
  • 适合需要动态调整推理成本与速度的AI应用开发者。

大型语言模型(LLMs)在各行业广泛应用,但开发者需手动调试并行与压缩组合以满足多样化的用户意图,这涉及大量耗时耗资的性能测试。现有方法多采用固定配置,难以适应变化需求且常导致性能不佳。我们提出iServe,一种面向分布式LLM推理的自动化意图驱动系统。开发者只需声明目标(如最小化延迟、降低成本等),iServe便利用轻量级模型指纹,高效估算不同部署配置对延迟和内存的影响,并结合显卡资源动态选择最优方案。在多种模型与请求率下,iServe显著优于现有系统:延迟降低77.62%,服务等级目标(SLO)违反次数减少7.09倍,GPU吞吐提升4.72倍。同时,基于指纹的性能评估将调优成本降低6.05倍(以GPU小时计)。

原文摘要 · Abstract (English)

Large Language Models (LLMs) are becoming ubiquitous across industries, where applications demand they fulfill diverse user intents. However, developers currently face the challenge of manually exploring numerous deployment configurations - combinations of parallelism and compression techniques that impact resource usage, latency, cost, and accuracy - to meet these intents. Assessing the impact of these configurations on user metrics requires extensive, costly profiling for each model. Existing approaches avoid this expense by using fixed, static configurations, but this often leads to sub-optimal performance and higher costs. Moreover, none of these solutions dynamically adapt to changing user intents to balance latency and cost, effectively. We present iServe, an automated, intent-based system for distributed LLM inference. Instead of manually selecting deployment configurations, developers simply specify their intent - such as minimizing latency, reducing cost, or meeting specific targets for either. iServe introduces fingerprints, lightweight representations of LLMs, to efficiently estimate how different configurations impact latency and memory usage. Based on these insights and GPU availability, iServe dynamically selects the optimal configuration to align with the user's intent. For various LLMs and query arrival rates, iServe best meets user intents compared to state-of-the-art systems by reducing latency by 77.62% and SLO violations by 7.09x while improving GPU throughput by 4.72x. Moreover, iServe's fingerprint-based profiling reduces profiling cost by 6.05x (GPU-hours) compared to baselines.

大模型部署推理优化智能调度低延迟

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。