GPU-Accelerated Weight Teleportation humansand.ai · 11 points · 1 comments · HN ...
HN Best 200 @best
GPU-Accelerated Weight Teleportation humansand.ai · 11 points · 1 comments · HN thread
TL;DR humans& ai describes a weight-sync pipeline for large-scale RL that sends compressed XOR deltas between trainer and rollout GPUs instead of full checkpoints. They report a sampler pause below 0.23 s and end-to-end sync under 4 s for a 445 GB NVFP4 GLM-5.3 proxy, claiming this beats intra-cluster P2P RDMA for most workloads. The work is open-sourced across Miles and SGLang.
- Trainer computes mask = weights_old XOR weights_new; rollout XORs the mask into its copy, which is lossless and independent of data type.
- Sparse RL updates (0.085% of weights mutated in the proxy) let the mask compress to a small payload; the outer Zstd payload was 0.876 GB for the CPU baseline.
- Trainer GPUs compress in parallel with each rank owning a disjoint slice of the checkpoint; receivers decompress with Blackwell's Decompression Engine (DE) and apply a Triton XOR kernel in place.
- Double compression (Snappy inside, Zstd outside) lets the CPU do the outer decompression and stage pinned buffers while inference keeps running.
- DE and SM work are double-buffered layer by layer, so only about 219.6 ms of rollout inference is blocked; the rest of the 2.355 s receiver work overlaps decoding.
- The post claims the approach also covers eval base versions, fault-tolerant restart, and serving-side delta swaps as an alternative to LoRA, and says the authors foresee no further work on weight sync.
Discussion The thread has only one comment, so it is a short reaction rather than a discussion. It places the work in context: the commenter recalls a 2024 hackathon project doing something similar for swapping finetunes, and notes the XOR choice versus float add. The tone is mildly skeptical and historical, with the note that the architecture has partly moved on as serving became distributed.
- Similar delta-swap ideas existed earlier (a few): The commenter recalls a 2024 hackathon demo of a 'git for weights' that load-balanced finetune deployment with local SSD undo/redo logs. They point to Google Stadia's data-diff code and ALP floating-point compression as prior art.
- XOR is less efficient than float add on GPUs (a few): The commenter questions using XOR when a GPU can do float addition faster. They concede XOR works more universally across NVFP4 and BF16 without associativity concerns.
- Architecture is partly outdated (a few): The commenter argues that serving has moved to disaggregated distributed systems instead of loading every layer onto a single GPU, which reduces the relevance of this design.
Links from the comments
- ALPv1 floating-point decompression paper mentioned by the commenter
- Google cdc_rsync code, cited as the origin of the data diff implementation
#reinforcementLearning #gpuComputing #modelWeights #compression #distributedTraining