TensorHub: 用于LLM强化学习训练的可扩展和弹性权重传输
TensorHub: Scalable and Elastic Weight Transfer for LLM RL Training
AI总结:
TensorHub通过Reference-Oriented Storage实现高效的权重传输,支持异构计算资源的扩展,减少GPU停滞时间,提升弹性回滚效率,已在生产环境中部署。
摘要:
现代LLM强化学习工作负载需要高效的权重传输系统来扩展训练规模。然而,现有方法要么无法灵活动态扩展集群,要么导致根本性的数据移动开销,性能较差。我们引入了Reference-Oriented Storage (ROS),一种新的存储抽象,利用现有高度复制的模型权重。ROS呈现某些权重版本存储的假象,并可按需获取。实际上,ROS不物理存储权重副本,而是跟踪持有这些权重的GPU工作者。在请求时,ROS直接使用它们来服务读取。我们构建了TensorHub系统,扩展ROS理念,加入拓扑优化传输、强一致性及容错机制。评估显示,TensorHub完全利用RDMA带宽,并适应三种不同的回滚工作负载,工程开销极小。具体而言,TensorHub将独立回滚的总GPU停滞时间减少多达6.7倍,弹性回滚的权重更新速度提升4.8倍,跨数据中心回滚停滞时间减少19倍。TensorHub已在生产环境中部署,支持前沿的强化学习训练。
英文摘要:
Modern LLM reinforcement learning (RL) workloads require a high-performance weight transfer system to scale training across heterogeneous compute resources. However, efficiently transferring terabyte-scale model weights across thousands of GPUs remains challenging because the system must accommodate clusters that dynamically scale up and down while keeping coordination, data movement, and storage overhead low. We introduce Reference-Oriented Storage (ROS), a new storage abstraction for RL weight transfer that exploits highly replicated model weights in place. ROS presents the illusion that certain versions of the model weights are stored and can be fetched on demand. Underneath, ROS does not physically store any copies of the weights; instead, it tracks the workers that hold these weights on GPUs for inference. Upon request, ROS directly uses them to serve reads. We build TensorHub, a production-quality system that instantiates the ROS idea with topology-aware transfer, model-parallel consistency, and fault tolerance. Evaluation shows that TensorHub saturates RDMA bandwidth and adapts to three distinct rollout workloads with minimal engineering effort. Specifically, TensorHub reduces total GPU stall time by up to 6.7x for standalone rollouts, accelerates weight updates for elastic rollouts by up to 4.8x, and cuts cross-datacenter rollout stall time by up to 19x. TensorHub has been deployed in ByteDance production to support cutting-edge RL training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。