Hugging Face details async GRPO with LoRA across HF Jobs — a bucket, a proxy, no NCCL
SergioPaniego · x · 2026-11-28
Hugging Face engineers break down their AsyncGRPOTrainer setup: the trainer and vLLM replicas run as separate HF Jobs, with LoRA adapters shipped through a storage bucket mounted at /lora in every Job — vLLM loads the latest adapter by path, no NCCL required. A localhost proxy routes prompts by prefix and collects completions over HTTPS.
The post also documents a bottleneck-chasing series of runs: packing microbatches, dropping checkpoint recomputation, scaling to 3 replicas with a surprise, and raising the in-flight request cap to 384. Validated on Qwen2.5-Math-1.5B with LoRA r=1 and 2-3 vLLM replicas, stable since TRL v1.18.
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 TRL ships async GRPO: 2,400 steps in 5.1h instead of 19.6h — ben_burtenshaw · 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