Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

Sending Only the Changes: Delta Weight Sync Slashes RL Model Shipping Costs

A bottleneck in AI training is solved by shipping only tiny data packets instead of entire models.

Hugging Face Blog 3 min read

Sending Only the Changes: Delta Weight Sync Slashes RL Model Shipping Costs

A major bottleneck in asynchronous reinforcement learning for large language models has been solved: instead of shipping the entire model from trainer to inference engine every step, only the tiny fraction of weights that actually changed are transferred. This reduces bandwidth by up to 98% and eliminates the need for shared clusters.

The One Terabyte Problem

Every async RL library faces the same challenge: weight synchronization. The inference engine runs the policy from the previous step, while the trainer has just computed updated weights. Transferring the full model—potentially a terabyte for a 1-trillion-parameter model—blocks token generation and wastes GPU compute.

Recent work from Fireworks AI and Cursor showed that between consecutive optimizer steps, roughly 99% of bf16 weights are bit-identical. The actual delta is minuscule—often just 1-2% of the total size. Fireworks measured an average delta of 20.3 GiB for a 1T model, while Cursor’s Composer 2 used a shared S3 bucket to ship compressed weight diffs across regions.

Why bf16 Weights Are Sparse

bf16 has only 7 mantissa bits, so updates below a certain threshold are invisible. Adam’s update step at typical RL learning rates (~3e-6) produces tiny changes, and most weights remain unchanged because the update falls below the bf16 visibility threshold.

The Solution: Delta Weight Sync in TRL

We implemented a system in TRL that:

  • Encodes only the changed elements as a sparse safetensors file
  • Uploads it to a Hugging Face Bucket (a high-throughput object store)
  • Tells vLLM to fetch the delta and apply it to its local copy

On Qwen3-0.6B, the per-step payload drops from 1.2 GB to 20–35 MB.

Architecture: Three Boxes, One Bucket

We ran a full disaggregated training setup:

  • Trainer on one machine
  • vLLM inference in a Hugging Face Space
  • Wordle environment (RL task) in another Space

All weight flows went through a single Hub bucket. No shared cluster, no RDMA, no VPN.

The Protocol

  1. Trainer applies optimizer step and computes a boolean mask of changed weights.
  2. Changed weights are serialized as a sparse safetensors file.
  3. File is uploaded to a Hub bucket.
  4. vLLM polls the bucket, downloads the delta, and updates its model.

On the trainer side, a hook into the optimizer generates the mask. On the vLLM side, a 30-line extension handles fetching and applying deltas.

What This Unlocks

  • Massive bandwidth savings: 98% reduction in per-step data transfer
  • Disaggregated training: trainer and inference can be in different regions or clouds
  • Lower latency: non-blocking upload means the trainer doesn’t wait for inference
  • Accessible RL: smaller labs can now train large models without mega-clusters

Still on Our Plate

  • Optimizing for larger models and faster bucket synchronization
  • Supporting more inference engines
  • Integrating with other RL frameworks

Try It

The code is available in TRL. Run your own async RL experiment with delta weight sync and see the difference.

Async RL just got a lot cheaper.

React