Post
35
async RL in TRL is fast, and now it's stable!
sync RL training alternates between writing answers and learning from them, so part of the GPUs is always waiting. TRL's async trainer does both at the same time
on the same number of training steps you get:
> 5h on 16 GPUs instead of 20h on 8
> about the same reward at every step
> 2x the GPUs, but about half the GPU-hours
how it works and how to run it: trl-lib/async-grpo-stable
sync RL training alternates between writing answers and learning from them, so part of the GPUs is always waiting. TRL's async trainer does both at the same time
on the same number of training steps you get:
> 5h on 16 GPUs instead of 20h on 8
> about the same reward at every step
> 2x the GPUs, but about half the GPU-hours
how it works and how to run it: trl-lib/async-grpo-stable