---
title: "Keep the Tokens Flowing: Lessons from 16 Open-Source RL Libraries"
description: "Async RL post-training libraries have converged on one architecture: disaggregate inference and training onto separate GPU pools, connect them with a rollout buffer, and push weights asynchronously so generation never stops and training never waits."
url: "https://swe.quest/articles/keep-the-tokens-flowing-lessons-from-16-open-source-rl-libraries-14bbb97951dedd55"
canonical: "https://huggingface.co/blog/async-rl-training-landscape"
source: "Hugging Face"
published: "2026-03-10"
difficulty: "hard"
kind: "Research"
reading_minutes: 45
tags: ["model-training","distributed-systems","inference","llms"]
---

# Keep the Tokens Flowing: Lessons from 16 Open-Source RL Libraries

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-03-10, 45 min read, Research. Original: [https://huggingface.co/blog/async-rl-training-landscape](https://huggingface.co/blog/async-rl-training-landscape)

## Summary

Async RL post-training libraries have converged on one architecture: disaggregate inference and training onto separate GPU pools, connect them with a rollout buffer, and push weights asynchronously so generation never stops and training never waits. A survey of 16 open-source libraries (verl, AReaL, SLIME, PRIME-RL, NeMo-RL and others) compares them on seven axes: orchestration, buffer design, weight sync, staleness management, partial rollouts, LoRA support and training parallelism. Ray dominates orchestration, NCCL broadcast is the default weight-transfer method, staleness handling ranges from dropping samples to importance-sampling correction, LoRA support is sparse, and distributed MoE support is emerging as the differentiator. Throughput math shows why this matters, with 32K-token rollouts on a 32B model taking hours per step on one H100. The findings shape TRL's new async trainer, which uses a bounded queue with per-token model versions, packed NCCL weight sync and partial rollout support.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Distributed systems](https://swe.quest/tags/distributed-systems.md) (Distributed systems)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- reinforcement learning for LLMs ([easy posts on Model training](https://swe.quest/tags/model-training.md?difficulty=easy))
- GRPO
- distributed training (FSDP/ZeRO) ([easy posts on Model training](https://swe.quest/tags/model-training.md?difficulty=easy))
- LLM inference engines like vLLM ([easy posts on Inference & serving](https://swe.quest/tags/inference.md?difficulty=easy))

## Keywords

TRL, GRPO, vLLM, Ray, NCCL, verl, LoRA, SGLang

## Related posts

- [Reinforcement learning is an infrastructure problem](https://swe.quest/articles/reinforcement-learning-is-an-infrastructure-problem-5f300edd7294912f.md): Modal · 2026-06-01 · Medium · 10 min read · Model training, LLMs, Hardware, Open source
  RL post-training of LLMs is bottlenecked by infrastructure rather than algorithms: training engines, rollout inference and isolated environments must all scale together, and once training goes multi-node, trainer-to-rollout weight sync dominates.
- [Async GRPO with LoRA across HF Jobs: a bucket, a proxy, and no NCCL](https://swe.quest/articles/async-grpo-with-lora-across-hf-jobs-a-bucket-a-proxy-and-no-nccl-a625fff69adbae9a.md): Hugging Face · 2026-09-10 · Hard · 29 min read · Model training, Inference & serving, Caching, Load balancing, LLMs
  TRL v1.14's AsyncGRPOTrainer can train a LoRA adapter and sync only that adapter to vLLM, which lets the trainer and inference replicas run as separate Hugging Face Jobs on separate machines without NCCL.
- [Shipping a Trillion Parameters With a Hub Bucket: Delta Weight Sync in TRL](https://swe.quest/articles/shipping-a-trillion-parameters-with-a-hub-bucket-delta-weight-sync-in-trl-5d3970ad53bc1dc5.md): Hugging Face · 2026-05-27 · Hard · 17 min read · Model training, Inference & serving, Distributed systems, Storage systems
  Between consecutive RL optimizer steps, about 99% of bf16 weights stay bit-identical because Adam updates at RL learning rates fall below bf16's rounding threshold (|Δw| \< |w|/256).
- [Scaling LLM Inference: Innovations in Tensor Parallelism, Context Parallelism, and Expert Parallelism](https://swe.quest/articles/scaling-llm-inference-innovations-in-tensor-parallelism-context-parallelism-and-0ffa604a22d7428d.md): Meta Engineering · 2025-10-17 · Hard · 5 min read · Inference & serving, LLMs, Distributed systems, Performance engineering, Hardware
  Meta scales LLM inference with three parallelism techniques aimed at latency targets of under 350ms time-to-first-token and under 25ms per incremental token.
- [PipelineRL](https://swe.quest/articles/pipelinerl-a0c5543b6f9a965f.md): Hugging Face · 2025-04-25 · Hard · 7 min read · Model training, Inference & serving, LLMs, Open source
  PipelineRL resolves the tradeoff between inference throughput and on-policy data in LLM reinforcement learning by doing inflight weight updates: after each optimizer step, trainers broadcast new weights via NCCL to inference servers, which pause only long enough to receive them and then keep generating with existing KV caches.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
