Koi:面向多云异构大语言模型推理集群的证据引导自校准规划器
Koi: Evidence-Guided, Self-Calibrating Planning for Multi-Cloud, Heterogeneous LLM Inference Fleets
AI总结:
本文提出Koi,一种面向多云异构LLM推理集群的自校准规划器,通过RLM层级与确定性组件结合构建因果图,在基准测试中有效吞吐量较最强基线高1.18倍,每token成本降20%。
摘要:
部署大语言模型(LLM)需在云、区域和市场间的约140个其他变量中选择合适的加速器、并行策略、引擎配置及副本数量,这些决策相互关联,且最佳集群范围规划会因作业争夺共享容量、工作负载变化而持续调整。本文提出Koi,一种面向异构多云集群的自校准集群规划器。Koi采用递归语言模型(RLM)层级提出部署假设并推理,同时确定性组件预测服务行为、评估候选方案并控制部署位置。它将推理行为表示为固定因果图,连接决策(如加速器、并行度)、运行时中介(如KV缓存压力、通信开销)及结果(如延迟、吞吐量)。每次部署会强化或弱化限定范围内的因果关系,构建推理综合手册以指导未来决策。作业级配置被组合为集群范围规划,并针对服务目标、资源约束、SLO风险及成本进行评估。在基准测试中,Koi的有效吞吐量比最强基线高1.18倍,在真实异构集群中每token成本降低20%。消融实验验证了Koi架构的贡献:纯语言模型综合得分为35.3,配备Koi确定性工具的同一模型得分为51.6,完整Koi规划器得分为70.8。
英文摘要:
Deploying a large language model (LLM) requires choosing the right accelerator, parallelization strategy, engine configuration, and replica count amongst ~140 other variables across clouds, regions, and markets. These decisions are intertwined, and the best cluster-wide plan continually changes as jobs contend for shared capacity on shifting workloads. We present Koi, a self-calibrating cluster planner for heterogeneous, multi-cloud fleets. Koi uses a Recursive Language Model (RLM) hierarchy to propose hypotheses and reason over deployment while deterministic components predict serving behavior, score candidates, and control placement. It represents inference behavior as a fixed causal graph linking decisions (e.g., accelerator, parallelism), runtime mediators (e.g., KV-cache pressure, communication overhead), and outcomes (e.g., latency, throughput). Each deployment strengthens or weakens scoped causal relationships, building a comprehensive playbook for inference that the planner employs to guide future decisions. Job-wise configurations are composed into cluster-wide plans and evaluated against serving objectives, resource constraints, SLO risks, and cost. Across benchmarks, Koi achieves 1.18x greater goodput than the strongest baseline while reducing $/token by 20% in a real heterogeneous cluster. Ablations isolate the contribution of Koi's architecture: a pure language model attains a composite score of 35.3, the same model equipped with Koi's deterministic tools reaches 51.6, and the full Koi planner reaches 70.8.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。