arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.00356cs.DCcs.LGcs.OS
收藏

多租户AI推理平台中的令牌管理

Token Management in Multi-Tenant AI Inference Platforms

DataRobot

William J. Cunningham

AI总结:

本文提出令牌池机制,用于多租户AI推理平台中平衡资源利用率与服务保证,通过统一的容量模型实现准入和自动扩展控制,提升系统在过载和资源稀缺时的性能与公平性。

摘要:

多租户AI推理平台必须在可变需求下平衡资源利用率与服务级别保证。传统方法无法实现这种平衡:专用端点在空闲模型上浪费容量,而速率限制忽略了推理请求的异构成本。我们引入令牌池,一种控制平面抽象,将推理容量表示为明确的配额,以推理原生单位(令牌吞吐量、KV缓存、并发性)表达。与速率限制不同,后者不考虑执行成本来管理请求准入,令牌池从同一容量模型中授权准入和自动扩展,确保承诺与提供的内容一致。该抽象捕获了多个维度的突发模式,这些维度对传统限流不可见。每个突发维度上的动态配额限制使资源消耗控制更加精细,同时允许低优先级流量进行工作节约的填充。该设计支持优先级感知的分配、具有差异化保证的服务层级以及基于债务的公平机制,所有这些都不需要修改底层推理运行时或集群调度器。在Kubernetes集群与vLLM后端的实验中,令牌池在过载期间通过选择性限制空闲流量维持有界的P99延迟,而没有准入控制的基线在所有工作负载上均经历无界的延迟恶化。第二个实验展示了在容量稀缺期间,弹性工作负载在异构SLO要求下通过基于债务的公平共享收敛。

英文摘要:

Multi-tenant AI inference platforms must balance resource utilization against service-level guarantees under variable demand. Conventional approaches fail to achieve this balance: dedicated endpoints strand capacity on idle models, while rate limits ignore the heterogeneous cost of inference requests. We introduce \emph{token pools}, a control-plane abstraction that represents inference capacity as explicit entitlements expressed in inference-native units (token throughput, KV cache, concurrency). Unlike rate limits, which govern request admission without regard to execution cost, token pools authorize both admission and autoscaling from the same capacity model, ensuring consistency between what is promised and what is provisioned. The abstraction captures burst modes across multiple dimensions invisible to conventional throttling. Dynamic per-entitlement limits on each burst dimension enable fine-grained control over resource consumption while permitting work-conserving backfill by low-priority traffic. The design supports priority-aware allocation, service tiers with differentiated guarantees, and debt-based fairness mechanisms, all without modifying the underlying inference runtime or cluster scheduler. In experiments on a Kubernetes cluster with vLLM backends, token pools maintain a bounded P99 latency for guaranteed workloads during overload by selectively throttling spot traffic, while a baseline without admission control experiences unbounded latency degradation across all workloads. A second experiment demonstrates debt-based fair-share convergence among elastic workloads with heterogeneous SLO requirements during capacity scarcity.

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

↑