Manuscript Offprint

arXiv:2611.00646

When Shards Fly: Cross-Tensor In-Flight Conversion for Low-Latency, Low-Memory Weight Updates in Disaggregated RL

Jiayu Xiao, Ye Wang, Zhi Zhang, Jiarui Guo, Kan Liu, Tao Lan, Minchen Yu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Disaggregated LLM reinforcement learning (RL) repeatedly synchronizes policy weights between training and rollout GPU pools. Existing systems reduce communication through shard delivery and replica forwarding, yet separate conversion passes and staging buffers still add latency and GPU-memory overheads to synchronous updates. We present SHARDFLY, which coordinates reusable transfer planning with streaming GPU execution for synchronous, in-place weight updates. SHARDFLY introduces two components. The Planner compiles native shard mappings, quantization dependencies, and replica routes into cross-tensor schedules, reserving payload buffers only for scheduled transfers. The Executor runs each rank's schedule in one persistent transfer kernel, fusing memory-layout conversion, quantization, GPU-initiated communication, and destination writes while forwarding transformed bytes across replicas. Plans and communication state are reused under stable configurations and replaced between updates for coordinated rollout scaling. On up to 32 H20 GPUs, SHARDFLY achieves complete BF16 weight-update speedups of 1.26−27.92×1.26-27.92\times across five models and four baselines: veRL NCCL, Awex, veRL NIXL, and WeightBridge. In end-to-end Qwen3-30B-A3B GRPO across four rollout configurations, SHARDFLY improves response-token throughput by 5.49–6.71% over veRL NCCL.

1 Introduction

Disaggregated LLM reinforcement learning (RL) runs policy optimization and rollout on separate GPU pools, allowing each stage to use suitable parallelism configurations and execution engines [12, 52]. Repeated weight updates propagate optimized policy parameters from trainers to rollout engines. Larger sparse mixture-of-experts (MoE) models increase full-weight transfer volumes relative to per-token computation [3, 33], while GPU compute throughput improves faster than inter-node RDMA bandwidth [8, 17]. This makes

weight synchronization an increasingly important overhead: WeightBridge reports GPUs stalled on weight transfer for up to 27% of production execution time [17].

A common approach uses synchronous, in-place weight updates. Trainers pause optimization, and rollout engines pause generation while new weights overwrite existing parameter tensors [17, 42]. Both pools wait until every rollout engine has installed the complete new version, so the slowest destination determines the stall. Complete update latency, including communication, conversion, and destination writes, therefore lies on the RL execution critical path. This update mode also applies within asynchronous RL workflows.

Efficient weight updates should meet four coupled requirements: (1) reducing redundant communication, (2) sustaining throughput with a small communication-memory footprint, (3) integrating parameter conversion with transfer, and (4) adapting to rollout dynamics. Existing systems provide shard-specific delivery and replica forwarding [16, 18], overlap preparation with RDMA [22], or rebuild communication topology as the rollout pool changes [37]. The studied paths do not demonstrate all four capabilities together. For example, existing communication optimizations can rely on large staging buffers, separate conversion stages add intermediate writes and rereads, and rollout changes require routing, buffering, and execution state to be updated consistently. These interactions call for coordinated planning and execution across the complete update path.

We present SHARDFLY, which combines reusable transfer planning with streaming GPU execution through a Planner and an Executor. SHARDFLY exploits the synchronous update contract: source weights remain unchanged, and rollout engines do not read destination parameters during an update. Independent transfers can therefore be scheduled across tensor boundaries, subject to conversion and communication dependencies. The Planner compiles these requirements into reusable schedules, and the Executor streams updates into rollout parameter storage.

The Planner coordinates shard delivery, replica reuse, and communication-buffer allocation. It maps source-destination

∗^{*}Corresponding author: yuminchen@cuhk.edu.cn.

Figure

Figure 1: Recurrent weight-update time and its share of a complete trainer update cycle (veRL NCCL). Workload and layout: Appendix B.

shard overlaps to native parameter fragments and builds replica routes that share trainer injections and exploit local NVLink connectivity. Cross-tensor schedules distribute transfer work across channels, while buffer allocations follow the schedule to reduce unused payload reservations and preserve scheduled concurrency. Prepared plans and communication state are reused while descriptors and placement are stable. Coordinated rollout changes trigger replacement plans and communication state prepared between updates to adapt the update path to the new destination pool.

The Executor runs each rank's schedule in one persistent transfer kernel. It fuses native-fragment gathering, memory-layout conversion, and quantization with GPU-initiated transfer, streaming weights and scales into rollout parameter tensors. Relays forward the same transformed bytes, so replicas reuse the prepared representation. Using GPU resources available during the pause, the pipeline overlaps preparation, communication, forwarding, and destination writes. This reduces per-operation host dispatch, CPU-GPU control round trips, and intermediate memory traffic.

We evaluate SHARDFLY across five models and multiple deployment configurations on up to 32 H20 GPUs. Across seven BF16 configurations and four baselines (veRL NCCL, Awex, veRL NIXL, and WeightBridge), complete weight-update speedups span 1.26–27.92×. In a separate Qwen3-30B-A3B memory study, SHARDFLY completes a BF16 update in 335 ms with 0.91 GiB/GPU of additional resident memory, a measured footprint 60.9–82.8% smaller than the selected baselines at their fastest measured configurations. Paired measurements show that FP8 updates are 1.90× faster than BF16 updates. In end-to-end GRPO across four rollout configurations, weight-update speedups are 5.45–6.81× over veRL NCCL, with response-token throughput gains of 5.49–6.71%. We also evaluate update latency and the costs of preparation and reconfiguration during coordinated rollout scaling.

We make the following three contributions: (1) We analyze the coupled communication, memory, and conversion costs of synchronous weight updates and the requirements imposed by rollout dynamics. (2) We design SHARDFLY with reusable transfer planning and buffer allocation based on execution schedules and a persistent GPU pipeline fusing conversion, communication, replica forwarding, and destination writes. (3) We evaluate SHARDFLY across models and deployment

configurations, showing faster complete updates and higher RL throughput, and quantify communication-memory usage and rollout reconfiguration costs.

References (50)