ROSE: 通过协作弹性在服务GPU上进行 rollout
ROSE: Rollout On Serving GPUs via Cooperative Elasticity for Agentic RL
AI总结:
针对代理强化学习中计算密集型多轮rollout资源需求波动的问题,ROSE通过协作弹性机制共享已部署的服务GPU,提高端到端吞吐量并减少rollout时间,同时保障服务SLA。
摘要:
代理强化学习(RL)正在重塑大语言模型(LLM)的训练,但端到端训练时间主要受计算密集型、多轮rollout的资源需求波动所限制。固定资源系统无法适应这种变化,而按需分配外部GPU的弹性资源方法则面临高分配开销和有限可用性的问题。我们观察到服务集群留下大量GPU计算和内存空闲,并提出协作弹性:将已部署的服务GPU与rollout工作负载共享,以提供按需弹性容量。实现这一目标具有挑战性,因为它必须在突发流量下保持服务SLA,同时最小化跨集群通信开销。我们提出了ROSE系统,该系统实现了协作弹性,用于代理RL的后期训练,包含三个组件:(1)一个安全的共服务执行器,将异构服务和rollout模型共置于同一GPU上,动态共享内存和计算,同时保持服务SLA;(2)一个跨集群权重转移引擎,利用分片感知路由和权重稀疏性实现快速同步;(3)一个弹性rollout调度器,动态将rollout路由到专用和机会型服务GPU上。在多个模型规模和集群规模的实验中,ROSE在固定资源基准上提高了端到端吞吐量1.3-3.3倍,在弹性资源基准上减少了rollout时间1.2-1.5倍,且没有违反服务SLA。
英文摘要:
Agentic reinforcement learning (RL) is reshaping LLM post-training, but end-to-end training time is dominated by compute-intensive, multi-turn rollouts whose resource demand varies significantly across training steps. Resource-fixed systems cannot adapt to this variation, while resource-elastic approaches that provision external GPUs on demand suffer from high allocation overhead and limited availability. We observe that serving clusters leave substantial GPU compute and memory idle, and propose cooperative elasticity: sharing already-deployed serving GPUs with rollout workloads to provide on-demand elastic capacity. Realizing this is non-trivial, as it must preserve serving SLOs under bursty traffic while minimizing cross-cluster communication overhead. We present ROSE, a system that realizes cooperative elasticity for agentic RL post-training, comprising three components: (1) an SLO-safe co-serving executor that co-locates heterogeneous serving and rollout models on the same GPUs, dynamically sharing memory and compute while preserving serving SLOs; (2) a cross-cluster weight transfer engine that leverages shard-aware routing and weight sparsity for fast synchronization; and (3) an elastic rollout scheduler that dynamically routes rollouts across dedicated and opportunistic serving GPUs. Experiments across multiple model sizes and cluster scales show that ROSE improves end-to-end throughput by 1.3 - 3.3 x over resource-fixed baselines and reduces rollout time by 1.2 - 1.5 x over resource-elastic baselines, with no serving SLO violations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。