跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 分布式、并行与集群计算

arXiv:2612.05145 (cs)
[提交于 2026年12月3日]

标题:xInfer: Elastic Parallelism and Load Balancing for Long-Tail Offline LLM Inference

作者:Ao Sun, Yinghao Chen, Shiju Wang, Weilin Zhao, Yuxiang Huang, Chaojun Xiao, Xu Han, Zhiyuan Liu
查看论文《xInfer: Elastic Parallelism and Load Balancing for Long-Tail Offline LLM Inference》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Offline LLM inference issues a fixed batch of requests at once and optimizes whole-batch completion time rather than the latency of any single request. It underpins many LLM applications, e.g., data curation, model evaluation, and reinforcement-learning rollout. Their highly skewed, long-tail output lengths expose two weaknesses in inference engines whose TP/DP layout is fixed at launch: (I) low arithmetic intensity: the growing KV-Cache shrinks the runnable batch, pushing it below the hardware ridge point and leaving decode memory-bound. (II) load imbalance: a few long requests keep running after their peers finish, and since generation lengths are unpredictable, no static schedule can avoid it. We present xInfer, an inference system that adapts both its parallel layout and its request placement at runtime. To raise arithmetic intensity, Flexible Parallelism Switching consolidates data-parallel replicas into larger tensor-parallel groups at the price of extra intra-node all-reduce communication. Whether this trade pays off depends on the evolving workload, so a performance model fitted ahead of time (five-fold cross-validated R^2 >= 0.96) lets the runtime coordinator predict candidate-layout makespans and switch only when the expected gain outweighs the reconfiguration cost. Dedicated re-sharding optimizations further shrink this cost by 2.6x. Layout adaptation alone cannot fix load imbalance across instances, so a two-level Distributed Overflow Queue redistributes requests within and across nodes off the critical decode path. To our knowledge, xInfer is the first inference system to drive runtime parallelism switching with a performance model grounded in arithmetic intensity. Across three long-tail offline workloads with Qwen3-8B/14B/32B on up to 32 H100 GPUs, xInfer achieves end-to-end speedups of up to 1.46x over vLLM and 1.49x over SGLang.
评论: 20 pages, 12 figures. Under review at MLSys
主题: 分布式、并行与集群计算 (cs.DC); 人工智能 (cs.AI); 性能 (cs.PF)
引用方式: arXiv:2612.05145 [cs.DC]
  (或者 arXiv:2612.05145v1 [cs.DC] 对于此版本)
  https://doi.org/10.48550/arXiv.2612.05145

提交历史

来自:Yinghao Chen
[v1] 2026年12月3日 星期四 07:24:16 UTC (923 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DC
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-12
切换浏览方式为:
cs
cs.AI
cs.PF

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站