Async RL in TRL Moves to Stable API with AsyncGRPOTrainer
Hugging Face has moved AsyncGRPOTrainer into TRL's stable API, providing an asynchronous reinforcement learning trainer that runs generation on vLLM and training on separate GPUs simultaneously. In benchmarks on identical H200 GPUs, the async trainer achieved more than double the optimizer steps and generated roughly three times as many tokens compared to the synchronous GRPOTrainer over a 45-minute period. The tool has been utilized for training coding agents in sandboxes, genomic models, and math provers. Open article →