arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.21276cs.AIcs.CLcs.DC
收藏

LeMix:多GPU系统上LLM训练与推理的统一调度

LeMix: Unified Scheduling for LLM Training and Inference on Multi-GPU Systems

University of California, Riverside(加州大学河滨分校)

Yufei Li, Zexin Li, Yinglun Zhu, Cong Liu

AI总结:

针对LLM训练与推理分离部署导致的GPU低效利用问题,提出整合离线剖析、执行预测与运行时调度的LeMix系统,可动态适配资源分配,显著提升吞吐量、降低推理损失并提高SLO达标率。

摘要:

大语言模型(LLM)的现代部署通常同时涉及推理服务与持续再训练,以与不断演进的数据和用户反馈保持对齐。常见做法将这些工作负载拆分到不同服务器上、分阶段独立运行,在分布式环境中造成了严重的低效问题(例如GPU空闲)以及对新数据的适配延迟。我们的实证分析表明,这些低效问题源于服务过程中的动态请求到达,以及流水线并行训练中的工作负载异构性。为应对这些挑战,我们提出了LeMix——一个用于共置并管理并发LLM服务与训练工作负载的系统。LeMix整合了离线剖析、执行预测机制与运行时调度,可根据工作负载特征与系统状态动态调整资源分配。通过理解任务特定行为以及共享节点间的共执行干扰,LeMix在不损害服务响应性的前提下提升了利用率与服务质量。我们的评估显示,相较于传统的分离式部署,LeMix将吞吐量提升了最高3.53倍,将推理损失降低了最高0.61倍,并且响应时间SLO达标率最高提升了2.12倍。据我们所知,这是首个发掘并利用LLM推理与训练联合部署机遇的工作,为生产环境中更具资源效率的LLM部署铺平了道路。

英文摘要:

Modern deployment of large language models (LLMs) frequently involves both inference serving and continuous retraining to stay aligned with evolving data and user feedback. Common practices separate these workloads onto distinct servers in isolated phases, causing substantial inefficiencies (e.g., GPU idleness) and delayed adaptation to new data in distributed settings. Our empirical analysis reveals that these inefficiencies stem from dynamic request arrivals during serving and workload heterogeneity in pipeline-parallel training. To address these challenges, we propose LeMix, a system for co-locating and managing concurrent LLM serving and training workloads. LeMix integrates offline profiling, execution prediction mechanisms, and runtime scheduling to dynamically adapt resource allocation based on workload characteristics and system conditions. By understanding task-specific behaviors and co-execution interference across shared nodes, LeMix improves utilization and serving quality without compromising serving responsiveness. Our evaluation shows that LeMix improves throughput by up to 3.53x, reduces inference loss by up to 0.61x, and delivers up to 2.12x higher response time SLO attainment over traditional separate setups. To our knowledge, this is the first work to uncover and exploit the opportunities of joint LLM inference and training, paving the way for more resource-efficient deployment of LLMs in production environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑