Hugging Face TRL ships async GRPO: 2,400 steps in 5.1h instead of 19.6h
ben_burtenshaw · x · 2026-11-28
Hugging Face's TRL released AsyncGRPOTrainer, addressing long-standing complaints that TRL doesn't scale like other RL libraries: the same 2,400 training steps now take 5.1 hours instead of 19.6 (4x speedup).
- Why sync GRPO is slow: generation and training alternate; short completions wait for the longest one, and generation pauses during training.
- The async design: vLLM runs on its own GPUs, streaming completions into a queue so rollout generation overlaps with gradient updates.
- Staleness handling: completions more than 4 steps old are dropped; the rest are reweighted.
Contributed by Amine Dirhoussi and Quentin Gallouédec. Docs include a quick-start script training Qwen3.5 2B on DeepMath-103K (requires trl[vllm]).
More from Infra
- Inkling 2 Mini at 100+ tok/s on a 12 GB RTX 4070 with 3.5-bit GSQ-RCO quant and DFlash 2 — carteakey · 2026-11-28
- Hugging Face details async GRPO with LoRA across HF Jobs — a bucket, a proxy, no NCCL — SergioPaniego · 2026-11-28
- Survey of speculative decoding: from the ICML 2023 method to Medusa and beyond — abhi9u · 2026-11-28
- Compute prices: SA predicts surge, Polymarket bets on crash — zephyr_z9 · 2026-11-28
- AWS API Gateway REST APIs now natively validate JWTs, no Lambda authorizer needed — FlolightC · 2026-11-28
- Dev runs 7-second build bot for free on Cloudflare Durable Objects — aloncarmel · 2026-11-28