arXiv:2607.17181cs.DCcs.AI2026-07

Talaria让超大模型服务更智能,显著缩短多轮对话延迟。

Talaria: Session-Aware Serverless Serving of Hundred-Billion-Parameter LLMs

论文配图:Talaria: Session-Aware Serverless Serving of Hundred-Billion-Parameter LLMs
图 1 · 摘自论文原文
  • 根据模型驻留、键值缓存位置和实例压力联合决策请求放置
  • 在单台8卡服务器上,中位延迟从1000秒降至189秒,提升5.3倍
  • 适合高并发、长上下文的大模型服务场景,如智能代理

Serverless多模型大模型系统在共享GPU池中复用热门模型,但通常独立调度每个请求。使用工具的智能体打破了这一抽象:一个会话在短工具间隔中反复调用大模型,携带长期可重用的键值(KV)前缀,并以会话完成时间(SCT)为评价标准。仅按负载路由可能导致续接请求与其模型和KV状态分离;基于轮次的模型复用也会使正确放置的续接延迟至目标模型下一个槽位。这对百亿参数模型尤其严重:其权重限制驻留时间,而长上下文KV重建或迁移成本高昂。我们提出Talaria,一种会话感知的无服务器多模型服务系统,将会话连续性作为联合放置与准入决策。其路由器依据模型驻留、KV局部性和实例压力对放置方案排序,软预留机制考虑了最后服务实例中可能的返回。会话预填充(SP)在活跃模型槽关闭前接纳预算内续接。实例本地底座保持显存地址稳定,保留主机可恢复的KV,并在模型切换时分阶段加载权重。在单台TP=8服务器上,我们重放30个SWE-Bench模型会话(共960次调用),涉及三个总参数量超过1000亿的模型。相比其他条件相同的轮次调度器(禁用SP、主机KV恢复和设备间搬运),Talaria将中位会话完成时间从1000秒降至189秒,95分位从2296秒降至867秒,分别提速5.3倍和2.6倍。

原文摘要 · Abstract (English)

Serverless multi-model LLM systems multiplex popularity-skewed model catalogs over shared GPU pools, yet typically schedule each request independently. Tool-using agents break this abstraction: a session repeatedly calls an LLM across short tool gaps, carries a long reusable KV prefix, and is judged by session completion time (SCT). Load-only routing can separate a continuation from both its model and KV state, while round-based model multiplexing can delay even a correctly placed continuation until the target model's next slot. Both failures are especially costly for hundred-billion-parameter models: their weights constrain residency, while long-context KV is expensive to reconstruct or move. We present Talaria, a session-aware serverless multi-model serving system that makes session continuity a joint placement-and-admission decision. Its router ranks placements by model residency, KV locality, and instance pressure, while soft reservations account for likely returns in the last serving instance's admission budget. Session-prefill (SP) admits budget-eligible continuations before the active model slot closes. An instance-local substrate keeps HBM addresses stable, preserves host-restorable KV, and stages weights across model switches. On a single TP=8 server, we replay 30 SWE-Bench model-sessions (960 calls) over three models, each with more than 100B total parameters. Against an otherwise identical round scheduler with SP, host-KV restoration, and D2D staging disabled, Talaria cuts p50 SCT from 1000 s to 189 s and p95 from 2296 s to 867 s, speedups of 5.3x and 2.6x.

大模型推理无服务器架构会话优化性能加速

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