Enjoying this issue?
Get tomorrow's AI & engineering digest in your inbox — hand-picked, summarized, and always spam-free.
TLDR
ThunderSync RL speeds up agent training ~1.9x over synchronous training by overlapping learner computation with trajectory execution using two running sums (G1, G2), matching async training speed while avoiding stale data at the cost of ~5.8 GB extra GPU memory per learner. Its benefit over async is a small benchmark score improvement (1–2.5 percentage points) at a fixed GPU budget, but these results come from a single 8-GPU node and have not been independently replicated.
Key points
In synchronous GRPO training, learner GPUs sat idle 49.5% of each step waiting for the slowest trajectory.
ThunderSync RL uses two running sums (G1 and G2) to compute gradients incrementally as each trajectory finishes, allowing learner‑work overlap.
On 8 B200 GPUs with Qwen3.8 27B, ThunderSync RL achieved 1.91x throughput over synchronous training (GPU hours to target: 121.3 vs 233.5).
ThunderSync RL matches async training speed but claims zero staleness; at 128 GPU hours it beats async by 1–2.5 percentage points on benchmarks.
The method requires extra GPU memory (~5.8 GB per learner for the 27B model) and has only been tested on single‑node 8‑GPU setups (October 2026 preprint).
Tools mentioned
Techniques
- GRPO
- OPD
- ThunderSync RL
- running‑sum gradient decomposition
- synchronous batch training
- async training
Stop scrolling. Start reading smarter.
Receive the day's most important AI & engineering updates in one concise email. No spam.
Transcript (captions)
In one paper's training setup, the GPUs that teach a coding agent sat idle for 49.5% of each step. They waited for the slowest trajectory, one edit, test, and retry run to finish. That wastes costly
hardware. A new method called ThunderSync RL lets the learner GPUs do useful work during that wait. In the paper's reference setup, it reached the same SWE bench verified
target in 121.3 GPU hours. Synchronous training needed 233.5. That's about 1.9x faster. It's for training agents, so it won't speed up a
model on your laptop, but the common fix, async training, also reaches about 1.9x. Async trains on data from slightly older weights, so that data is stale.
ThunderSync RL gets the same speed without stale data, but it needs extra GPU memory. So, what does zero staleness buy you? First, you'll follow one trajectory, then you'll see the math
that lets learning start early. Start with one task from SWE bench, a benchmark of real GitHub issues from Python repositories. The paper trains on a task set called SWE smith and measures
results on SWE bench verified. The model reads the issue and edits code. Then the issue's test suite judges the patch. If a test fails, the agent edits again and retries. Each test run makes the agent
wait. Training repeats that wait for every trajectory. In training, each edit, test, and retry run is a trajectory. The paper checks each one by running the repository's tests, so the
reward comes from real test results. That is what verification means here. Training an agent uses two jobs. Rollout GPUs run the agent and produce trajectories. Learner GPUs compute the
gradient, which shows how to change the model. Then the learner updates the weights, the numbers inside the model. In the paper's measurement, four GPUs did each job. Trajectory durations have
a long tail. Most end sooner, and a few take much longer. In synchronous training, the learner waits for the slowest one. The paper measured this in GRPO training, short for group relative
policy optimization on Swiss miss. The learner GPUs sat idle for 49.5% of step time. For the main model, the 27 billion Quen 3.8 on B200 GPUs, the step looks like this. Rollout and verification
takes 650.0 seconds. Then the synchronous learner needs another 646.4 seconds. The full step takes 1,296.4 seconds. That learner tail is about half the
step, which fits the 49.5% idle figure. With ThunderSync RL, the learner tail shrinks to 20.5 seconds. The whole step takes 687.7 seconds. That is about 17 seconds more than 650.0
plus 20.5, and the source doesn't explain the gap. The table lists the speed up as 1.91x. The tail is the work left after the last trajectory ends. The rest of the
learning happened while trajectories were still running. So, why can't the learner start earlier? The reason is GRPO, the training method in this paper. GRPO compares each trajectory with its
group. A group is several trajectories for the same task. The result of that comparison is called the advantage. For trajectory I, the advantage is the reward RI minus the group mean mu
divided by sigma plus epsilon. Sigma is the group standard deviation, and epsilon is a small number. You can't compute mu or sigma until every reward has arrived. Suppose a group has four
trajectories, and three have finished. The mean of those three rewards can differ from the mean of all four. When the slow trajectory ends, every advantage changes. So, the learner can't
fix any advantage until the last reward arrives. The trick is that the gradient splits into pieces. Each trajectory has its own gradient piece, HI, which shows how to change the model toward that
trajectory. Two running sums hold the pieces. G1 adds each reward RI times its HI. G2 adds the HI values alone. Here M is the group size. The group gradient is G1
minus the product of mu and G2. Then you divide by sigma plus epsilon and by M. Neither sum needs the mean or the standard deviation. Try tiny numbers. Pretend each H is one number. The four
rewards are 1, 0, 0, and 1. So mu is 0.5. The H values are 2, -1, 3, and 1. Then G1 is 3 and G2 is 5. Now G1 minus the product of mu and G2 is 3 minus 2.5, which is 0.5. Take each reward minus mu,
multiply by its H, and add the results. You also get 0.5. The split loses nothing. In a real run, each H is a full gradient, not one number. Think of a cashier who totals prices as items
scanned, then applies one tax rate at the end. G1 and G2 are the running totals, and mu and sigma come last. The picture breaks in two places. Each total holds a whole gradient, not one number.
Also, mu is subtracted, not added like tax. So the learner can work as each trajectory ends. The tests give the reward. A backward pass, which computes
the gradient, runs for that trajectory. Then the learner adds the results to the two sums. The mean and standard deviation apply as single numbers after the last reward arrives. Suppose
trajectory one ends early. Its backward pass starts while the other three still run tests. Then trajectory two ends, and the same thing happens. By the time the slowest one ends, the learner has
finished most of the gradient work. One more rule keeps every trajectory consistent. All trajectories in update K come from the same weights, data K. The learner also computes every gradient at
theta K. Nothing changes the weights until the batch ends. After all gradient work finishes, exactly one optimizer step produces data K plus one. That step is the barrier. Because no weights
change in the middle of a batch, There is no staleness. Then the next batch starts from theta k plus one. The barrier also sets a minimum step time. The learner can't finish until the
slowest trajectory ends and its reward arrives. ThunderSync RL doesn't shorten that trajectory. It removes the learner work that used to start after that trajectory ended. Staleness counts how
many updates old a trajectory's weights are. Async systems usually allow some on purpose because generation and training then run at the same time. Off-policy algorithms manage the gap. The
equivalence claim needs one caution. The abstract says the method is theoretically equivalent to synchronous batch training. On a computer, adding numbers in a different order can change
the last digits. The paper says it ran an update equivalence check on B200 and H200 GPUs. It gives the details in appendices, so treat equivalent as the author's claim.
After each update, the rollout engines need the new weights. The paper step breakdown doesn't show how long it takes to send them to the rollout GPUs. The same idea works for on-policy
distillation called OPD. Here a frozen teacher model scores the agent's action tokens. As soon as the teacher scores a turn, the learner releases that turn's
backward pass. So the release point is the teacher scores and the learner doesn't wait for the end of the trajectory. Learner compute overlaps with later tool
calls. The batch gradient divides by the total scored token count called NK. Now for the numbers. The headline table uses the 27 billion Quen 3.8 full fine-tuning on Swiss Smith on B200 GPUs. Against
synchronous training, throughput is 1.91 times the baseline with GRPO and 1.94 times with OPD. These are the authors' own figures. The paper also reports MFU, the share of the chip's peak math that
the job uses. It rises from 24.0% to 45.9%. That fits the idle time story because the learner does useful work during the wait. The 1.9x in the abstract is a
different measure. It counts GPU hours to reach a fixed score. On SweepBench verified with GRPO, the target is 74.01% pass at three, meaning a task counts if any of three tries passes. Synchronous
training needs 233.5 GPU hours to reach that target. ThunderSync RL needs 121.3, which saves 112.2 GPU hours. The ratio is 1.93x and the authors rounded it to 1.9x. On Terminal Bench 4.0, a second
coding benchmark, the GRPO speedup is about 1.8x. You'll see three numbers. 1.91x is throughput. 1.9x and 1.93x are the same GPU hour comparison rounded two ways. All come from one setup. That
setup is eight B200 GPUs, the 27 billion Qwen 3.8, SweepSmith, and GRPO. Why does the gain stop near 2x? In a simple model, a synchronous step takes rollout time plus learner time. With full
overlap, the step takes about as long as the longer of the two. If both are equal, the step halves. Check it with the main numbers. Rollout takes 650.0 seconds and the learner takes 646.4
seconds. Those are almost equal. The overlap step takes 687.7 seconds, close to the rollout time alone. Other setups give less. On eight H200 GPUs, the speedup is 1.63x for GRPO
and 1.67x for OPD. With the 31 billion GLM 4.7 flash, a model that uses only about 3 billion of its parameters for each token on B200 GPUs, it's 1.64x and 1.63x. The learner work is short there,
so rollout sets the step time. Across different spreads of trajectory duration, the GRPO speedup runs from 1.58x to 1.95x. The paper's predicted and measured
speedups differ by 6.5% on average and 10.6% at most. If your rollouts take much longer than your learner work, expect a smaller gain. Compare the three schedules. Synchronous training uses
fresh data, but the learner waits. Async training overlaps the work, but the data is stale. ThunderSync RL overlaps the work and keeps the data fresh. The cost is extra memory. Check the async rows in
the same table. Async with staleness one, meaning data from weights one update old, reaches 1.89x. Fully async reaches 1.90x. ThunderSync RL reaches 1.91x. That's the
same speed. So, ThunderSync RL is not faster than async. Async is a well-known fix. RollFlash, a different system, reports up to 2.24x on RLVR and 2.72x on agentic tasks at the same GPU budget.
RLVR means reinforcement learning with checkable rewards. Different setups give different numbers, so don't compare them directly with 1.9x. ThunderSync RL claims comparable speed
without stale data. So, what does zero staleness buy? The paper compares ThunderSync RL and async at a fixed budget of 128 GPU hours using the pass at three score. On swe bench verified,
ThunderSync RL beats async by 2.47 percentage points with GRPO and 1.27 with OPD. A percentage point is one point of benchmark score out of 100. On terminal bench 4.0, the gains are 1.52
and 2.02. A 128 GPU hour budget is a little above the 121.3 that ThunderSync RL needed for its target. These are the authors' own runs.
The sources don't say whether the gap is statistically significant, so a repeat by someone else would help. Memory is the first cost. Peak GPU memory on each learner GPU
rises from 117.0 GB to as much as 122.8 gigabytes. That's about 5.8 gigabytes more. This is the GRPO case for the 27 billion Quen 3.8 on B200 GPUs. Two running sums must stay
until the last reward arrives. The paper keeps an FP32 accumulator, which holds the running sums at high precision, and the group statistics in pinned host RAM. Pinned host RAM is ordinary computer
memory set aside for fast copies to the GPU. The paper's GPU peaks leave out that host RAM, and the paper doesn't give its size. If you plan hardware, measure that RAM first. Scale is the
second limit. The paper test only setups with eight GPUs on one node, so behavior at larger scale is open. It's a version one preprint from October 5th, 2026, and no independent repeat of it has appeared
yet. You can try the code on GitHub under Apache 2.0. It needs Linux, Python 3.12 or newer, and Docker or UDocker. When the page was checked, the repo had four commits and 18 stars.
The paper compares against two baseline pipelines, the official Veral pipeline for GRPO, and Sky RL for OPD. It's a research release, not a finished product. Now, what does this mean for
you? People use coding agents that edit files, run tests, and retry. Researchers train them with loops like this one. If a lab adopts this method, the same GPU budget could allow more training.
Nothing in the paper shows that this lowers prices or improves a product today. Thundersync RL changes how a model is trained. It doesn't change how fast your local model answers. Your
local speed and your chat app stay the same. The wait is real. The learner sat idle 49.5% of the time in one setup. The fix starts gradients early with two running sums and finishes with one
update. It matches async speed with no stale data. It costs memory, and the gain shrinks on other setups. My verdict depends on who you are. If you use coding agents, do nothing because
nothing in the paper changes your tools today. If you train agents with GRPO or OPD on one node, test it. First, measure the memory. In the paper's case, it needed about 5.8 GB more per learner GPU
plus host RAM. Your setup can differ and that number can decide if it fits. If you already run async and accept stale data, the paper doesn't show a speed gain. It shows equal speed and a
score gap at 128 GPU hours. Treat that gap as an open question. So, is twice as fast real? In one setup, it is, compared with synchronous training. Against async, the speed is about the
same. The open question is scale. Every result here comes from eight GPUs on one node. Does zero staleness still help when the cluster is much larger and the slowest
trajectory is even slower?