An LLM RL step has two very different workloads. Rollout is inference: autoregressive decoding, memory-bandwidth bound, served best by an inference engine (vLLM, SGLang) with paged KV caches and continuous batching. Training is compute-bound forward/backward with optimizer state, served best by a training stack (FSDP, Megatron, DeepSpeed). An RL framework is mostly the answer to four questions about how these two meet:
- Placement. Do trainer and rollout engine share GPUs and take turns (colocated, the “hybrid engine”), or run on separate GPU pools (disaggregated)?
- Synchronisation. Does every trajectory come from the current weights (synchronous), from the previous version (one-step-off), or from whatever version was live while it was generated, within a bound (fully asynchronous, usually with partial rollouts that survive a weight update)?
- Rollout engine and how weights reach it (CUDA IPC when colocated; NCCL broadcast, RDMA or disk across pools).
- Training backend (FSDP/FSDP2, Megatron-Core, DeepSpeed, torchtitan-style stacks), which decides the parallelism of the next two lessons.
Everything else — agent loops, reward services, off-policy corrections — is layered on top. This lesson maps nine open frameworks onto these axes. The facts were read from each official repository on 2026-12-03; these projects change monthly, so the versions are given with every claim.
Why the tail of response lengths drives the design
In a synchronous step the rollout phase ends when the longest trajectory ends. Once the batch fits in the engine, decoding is latency-bound — every sequence advances one token per engine step regardless of how many GPUs serve it — so adding GPUs does not shorten the longest trajectory. The rest of the batch finishes early and its slots sit idle. With lengths , the busy fraction of the rollout engine during that phase is about . verl’s one-step-off recipe states the consequence plainly: in DAPO 32B training “the Rollout phase accounts for approximately 70% of the total time, and increasing resources does not reduce the Rollout duration.” Agent rollouts are worse: tool latencies and multi-turn episodes make the tail heavier still (agent RL).
import numpy as np
rng = np.random.default_rng(0)
# A synchronous rollout phase lasts as long as its longest trajectory (decode is latency-bound
# once the batch fits in the engine). Its useful work is the mean length. Ratio = idle tail.
print("E[max]/E[mean] of a batch of log-normal lengths (slot utilisation = mean/max)")
print(" sigma B=64 B=512 B=4096")
for sigma in (0.3, 0.6, 0.9, 1.2):
row = []
for B in (64, 512, 4096):
L = rng.lognormal(0.0, sigma, size=(200, B))
row.append(L.max(1).mean() / L.mean())
print(f" {sigma:4.1f} " + " ".join(f"{r:6.1f}" for r in row))
# step time of three designs with the same GPUs (toy units)
Tgen_max, Ttrain, Tsync = 10.0, 4.0, 0.5 # longest rollout, training, weight sync
mean_over_max = 0.25 # how busy the rollout engine is on average
sync = Tgen_max + Ttrain + Tsync # colocated: phases in series
one_off = max(Tgen_max, Ttrain) + Tsync # disaggregated: overlap rollout(k+1) with train(k)
# fully async: rollout runs continuously, so throughput is set by the slower *average* rate
async_ = max(Tgen_max * mean_over_max, Ttrain) + Tsync
print(f"\nstep time sync={sync:.1f} one-step-off={one_off:.1f} fully-async~{async_:.1f} "
f"(speed-up {sync / async_:.1f}x, paid for with staleness)")The ratio grows with both the tail and the batch size, because a larger batch draws a more extreme maximum. In practice max_response_length truncation caps it at max length / mean length, but caps of 16k–64k tokens against means of a few thousand leave a lot of idle tail. The three designs attack it differently: one-step-off overlaps rollout of step with training of step (step time becomes the max instead of the sum); fully async streams, so trajectories that finish early are trained on while long ones continue, and throughput is set by average rates; colocated async does the same inside one GPU pool by stopping a rollout phase as soon as enough trajectories are finished and resuming the rest later.
LLM RL step에는 성격이 아주 다른 작업 두 개가 있다. Rollout은 추론이다. autoregressive decoding이고 메모리 대역폭에 묶이며, paged KV cache와 continuous batching을 갖춘 추론 엔진(vLLM, SGLang)이 가장 잘한다. 학습은 optimizer state를 들고 하는 compute-bound forward/backward이고, 학습 스택(FSDP, Megatron, DeepSpeed)이 가장 잘한다. RL 프레임워크는 대부분 이 둘이 만나는 방식에 대한 네 질문의 답이다.
- 배치(placement). trainer와 rollout 엔진이 GPU를 공유하며 번갈아 쓰나(colocated, “hybrid engine”), 아니면 따로 된 GPU pool에서 도나(disaggregated, 분리)?
- 동기화. 모든 trajectory가 현재 가중치에서 나오나(동기), 이전 버전에서 나오나(one-step-off), 아니면 생성되는 동안 살아 있던 버전에서 한도 안에서 나오나(fully async, 보통 가중치 갱신을 넘어 이어지는 partial rollout과 함께)?
- Rollout 엔진과 가중치가 거기에 닿는 방식(colocated면 CUDA IPC, pool 사이면 NCCL broadcast, RDMA, 디스크).
- 학습 backend(FSDP/FSDP2, Megatron-Core, DeepSpeed, torchtitan 계열). 다음 두 레슨의 병렬화가 이것으로 정해진다.
agent loop, 보상 서비스, off-policy 보정 같은 나머지는 그 위에 얹힌다. 이 레슨은 공개 프레임워크 아홉 개를 이 축에 놓는다. 사실은 2026-12-03에 각 공식 저장소에서 읽었다. 이 프로젝트들은 달마다 바뀌므로 주장마다 버전을 붙였다.
응답 길이의 꼬리가 설계를 정한다
동기 step에서 rollout 단계는 가장 긴 trajectory가 끝날 때 끝난다. 배치가 엔진에 다 들어가면 decoding은 latency에 묶인다. 몇 개의 GPU가 서빙하든 시퀀스마다 엔진 step당 토큰 하나씩 나아가므로 GPU를 더해도 가장 긴 trajectory는 짧아지지 않는다. 나머지는 일찍 끝나고 그 slot은 논다. 길이가 이면 그 단계 동안 rollout 엔진의 바쁜 비율은 대략 다. verl의 one-step-off 레시피는 그 결과를 그대로 적어 두었다. DAPO 32B 학습에서 “Rollout 단계가 전체 시간의 약 70%를 차지하고, 자원을 늘려도 Rollout 시간은 줄지 않는다.” agent rollout은 더 나쁘다. tool 지연과 멀티턴 에피소드가 꼬리를 더 무겁게 만든다(agent RL).
import numpy as np
rng = np.random.default_rng(0)
# 동기 rollout 단계는 가장 긴 trajectory만큼 걸린다 (배치가 엔진에 들어가면 decode는
# latency에 묶인다). 쓸모 있는 일은 평균 길이. 비율 = 유휴 꼬리.
print("E[max]/E[mean] of a batch of log-normal lengths (slot utilisation = mean/max)")
print(" sigma B=64 B=512 B=4096")
for sigma in (0.3, 0.6, 0.9, 1.2):
row = []
for B in (64, 512, 4096):
L = rng.lognormal(0.0, sigma, size=(200, B))
row.append(L.max(1).mean() / L.mean())
print(f" {sigma:4.1f} " + " ".join(f"{r:6.1f}" for r in row))
# 같은 GPU로 세 설계의 step 시간 (장난감 단위)
Tgen_max, Ttrain, Tsync = 10.0, 4.0, 0.5 # 가장 긴 rollout, 학습, 가중치 동기화
mean_over_max = 0.25 # rollout 엔진이 평균적으로 바쁜 비율
sync = Tgen_max + Ttrain + Tsync # colocated: 단계가 직렬
one_off = max(Tgen_max, Ttrain) + Tsync # 분리: rollout(k+1)과 train(k)을 겹친다
# fully async: rollout이 계속 돌므로 처리량은 더 느린 *평균* 속도가 정한다
async_ = max(Tgen_max * mean_over_max, Ttrain) + Tsync
print(f"\nstep time sync={sync:.1f} one-step-off={one_off:.1f} fully-async~{async_:.1f} "
f"(speed-up {sync / async_:.1f}x, paid for with staleness)")비율은 꼬리 와 배치 크기 둘 다로 커진다. 배치가 크면 더 극단적인 최댓값을 뽑기 때문이다. 실제로는 max_response_length 절단이 이를 최대 길이 / 평균 길이로 묶지만, 평균 수천 토큰에 상한 16k–64k면 유휴 꼬리는 여전히 크다. 세 설계는 이것을 다르게 공략한다. one-step-off는 step 의 rollout과 step 의 학습을 겹친다(step 시간이 합이 아니라 최댓값이 된다). fully async는 흘려보낸다. 일찍 끝난 trajectory로 학습하는 동안 긴 것은 계속 생성되고, 처리량은 평균 속도가 정한다. colocated async는 GPU pool 하나 안에서 같은 일을 한다. 충분한 trajectory가 끝나는 즉시 rollout 단계를 멈추고 나머지는 나중에 이어 간다.
What the toy shows, in the order of the menu:
- Colocated sync keeps every GPU busy somewhere — no GPU is reserved for one role — but each rollout phase has a long pale tail. This is verl’s classic hybrid engine and the default in SkyRL, NeMo-RL and TRL. Its virtues are real: strictly on-policy data, no idle pool to size, and one copy of the weights per GPU swapped by
sleep/wake_up(vLLM sleep mode frees the KV cache and offloads weights between phases). - Colocated async (verl’s
colocate_async, SkyRL’s colocated partial rollout) ends a rollout phase when enough trajectories are done and resumes the unfinished ones after the update. The tail is gone and staleness appears; on verl’s 4-node Qwen3.5-35B-A3B benchmark this cut 150-step time from 22.79 h to 14.72 h. - Disaggregated sync is the worst of both: each pool idles while the other works. It exists as a stepping stone and for debugging.
- One-step-off overlaps the two pools with exactly one version of staleness (Noukhovitch et al.). Its step time is the larger of rollout and training, so it needs the pool sizes balanced.
- Fully async keeps rollout slots full and lets the trainer consume whatever has finished. Throughput is best, staleness is variable, and the run-ahead η bounds it. On verl’s benchmark,
separate_asyncwith 2 trainer + 2 rollout nodes reached 14.10 h; the verl fully-async recipe reports 2.35–2.67× over colocated sync for Qwen2.5-Math-7B on 128 GPUs.
How each framework bounds staleness is the important difference, and the bounds are not in the same units: versions between first token and use (verl V1 max_off_policy_threshold, AReaL max_head_offpolicyness, SkyRL max_staleness_steps, TRL max_staleness), per-token version masks (prime-rl max_staleness masks tokens older than the bound), queue depth (OpenRLHF async_queue_size), steps generated ahead (ROLL async_generation_ratio), fractions of extra samples per sync window (verl recipe staleness_threshold), or nothing but backpressure (slime’s fully async mode). The algorithms that make stale data safe — decoupled PPO, truncated or masked importance weights — are in async staleness and clipping and IS.
The frameworks, one diagram at a time
메뉴 순서대로 장난감이 보여 주는 것:
- colocated 동기는 모든 GPU를 어딘가에서 바쁘게 한다. 한 역할만 위해 남겨 둔 GPU가 없다. 하지만 rollout 단계마다 옅은 꼬리가 길다. verl의 고전적인 hybrid engine이고 SkyRL, NeMo-RL, TRL의 기본값이다. 장점도 진짜다. 엄밀한 on-policy 데이터, 크기를 맞출 유휴 pool이 없음, 그리고 GPU당 가중치 한 벌을
sleep/wake_up으로 바꿔 쓴다(vLLM sleep mode가 단계 사이에 KV cache를 비우고 가중치를 offload한다). - colocated 비동기(verl의
colocate_async, SkyRL의 colocated partial rollout)는 trajectory가 충분히 끝나면 rollout 단계를 끝내고, 끝나지 않은 것은 갱신 뒤에 이어 간다. 꼬리가 사라지고 staleness가 생긴다. verl의 4노드 Qwen3.5-35B-A3B 벤치마크에서 150 step 시간이 22.79시간에서 14.72시간으로 줄었다. - 분리 동기는 두 나쁜 점을 다 가진다. 한 pool이 일할 때 다른 pool은 논다. 디딤돌이자 디버깅용으로 존재한다.
- one-step-off는 두 pool을 정확히 한 버전의 staleness로 겹친다(Noukhovitch 등). step 시간이 rollout과 학습 중 큰 쪽이므로 pool 크기를 맞춰야 한다.
- fully async는 rollout slot을 늘 채우고, trainer는 끝난 것을 가져다 쓴다. 처리량이 가장 좋고 staleness는 들쭉날쭉하며, run-ahead η가 그것을 묶는다. verl 벤치마크에서 trainer 2노드 + rollout 2노드의
separate_async가 14.10시간이었고, verl fully-async 레시피는 Qwen2.5-Math-7B, GPU 128장에서 colocated 동기 대비 2.35–2.67배를 보고한다.
프레임워크마다 staleness를 묶는 방식이 핵심 차이이고, 그 한도의 단위가 서로 다르다. 첫 토큰부터 사용까지의 버전 수(verl V1 max_off_policy_threshold, AReaL max_head_offpolicyness, SkyRL max_staleness_steps, TRL max_staleness), 토큰별 버전 mask(prime-rl max_staleness는 한도보다 낡은 토큰을 mask한다), queue 깊이(OpenRLHF async_queue_size), 앞서 생성하는 step 수(ROLL async_generation_ratio), 동기화 구간당 추가 샘플 비율(verl 레시피 staleness_threshold), 또는 backpressure뿐(slime의 fully async 모드). 낡은 데이터를 안전하게 만드는 알고리즘 — decoupled PPO, 잘라내거나 mask한 importance weight — 은 async staleness와 clipping과 IS에 있다.
프레임워크를 하나씩 그림으로
The matrix
| framework (version, date) | default placement | async option and staleness knob | rollout engine | training backend | orchestration |
|---|---|---|---|---|---|
verl (main 4525109, 2026-12-02; release v0.9.1, 2026-09-20) | colocated (trainer.v1.trainer_mode=sync) | colocate_async, separate_async; trainer.v1.sampler.max_off_policy_threshold (8) with drop/wait; recipe: async_training.staleness_threshold | vLLM, SGLang, TRT-LLM | FSDP/FSDP2, Megatron (incl. Megatron-Bridge, “mlite”), VeOmni, torchtitan | Ray single controller |
| slime (v0.4.0, 2026-10-09) | disaggregated (--colocate off) | fully async rollout function; partial rollout --partial-rollout; no explicit staleness bound | SGLang | Megatron only | Ray, one driver loop |
AReaL (v2.1.1, 2026-11-04; now areal-project) | separation | rollout.max_head_offpolicyness (code default 0 = sync); actor.use_decoupled_loss | SGLang (default), vLLM | FSDP2, Megatron, Archon | single controller (local, Ray or Slurm scheduler) |
| OpenRLHF (v0.12.0, 2026-11-27) | separate groups; hybrid via --train.colocate_all | --train.async_enable, --train.async_queue_size (1), --train.partial_rollout_enable | vLLM | DeepSpeed | Ray single controller |
| TRL (v1.19.0, 2026-11-25) | colocate (vllm_mode, default since v1) | AsyncGRPOTrainer (server mode): max_staleness (4) | vLLM | DDP, DeepSpeed, FSDP (async: FSDP2) | Accelerate / torchrun, no Ray |
| ROLL (v0.4.0, 2026-09-29) | set by device_mapping (overlap = colocated) | async_generation_ratio (0 = sync), needs disjoint devices | vLLM, SGLang | Megatron (mcore-adapter), FSDP2, VeOmni | Ray pipeline driver |
SkyRL (v0.5.0, 2026-11-17; now skyrl-project) | colocated (colocate_all=true) | one-step-off; FullyAsyncRayPPOTrainer with max_staleness_steps (4) | vLLM | FSDP2 (default), Megatron | Ray single controller |
| prime-rl (v0.11.0, 2026-11-22) | disaggregated only | async by default (one step); orchestrator.max_staleness (8, token masking), strict_staleness | vLLM | FSDP2 (custom models, EP, CP) | orchestrator + ZMQ, no Ray |
NeMo-RL (v0.8.0, 2026-11-06; NVIDIA-NeMo/RL) | colocated | grpo.async_grpo with max_trajectory_age_steps (1), in_flight_weight_updates; v0.8 beta single-controller async_rl | vLLM, SGLang, Megatron, TRT-LLM | Megatron-Bridge, Automodel (FSDP2) | Ray single-process controller |
A few things in this table contradict descriptions that were true a year earlier, which is the reason for the dates: verl’s mainline removed the V0 trainer in November 2026 and moved its fully-async and one-step-off trainers to verl-recipe, pinned to v0.9.1 (the verl lesson maps the old knobs to the new ones); slime removed its one-step-off driver in v0.4.0; AReaL, the archetype of “fully async”, now also colocates and defaults to synchronous in code; TRL has no PPO trainer at HEAD and made colocated vLLM its default; ROLL removed DeepSpeed, leaving OpenRLHF as the DeepSpeed-based one.
Four trends cut across all of them. Partial rollouts are standard: generation is paused, weights swapped, requests resumed — mostly through the inference engines’ own pause/resume and weight-transfer APIs — and tokens carry the version that produced them. Placement is no longer what separates frameworks: most support both, and the choice is per run. Weight sync converges on CUDA IPC when colocated and NCCL broadcast across pools, with delta and RDMA pull paths (verl delta_sharded, SkyRL sharded_rdt, prime-rl ModelExpress over NIXL) for large models. Mismatch correction is a first-class loss option everywhere (TIS/IcePop-style masks, decoupled PPO, score centering), because asynchrony and engine numerics both make (off-policy mismatch).
비교표
| 프레임워크 (버전, 날짜) | 기본 배치 | 비동기 선택지와 staleness 손잡이 | rollout 엔진 | 학습 backend | orchestration |
|---|---|---|---|---|---|
verl (main 4525109, 2026-12-02. 릴리스 v0.9.1, 2026-09-20) | colocated (trainer.v1.trainer_mode=sync) | colocate_async, separate_async. trainer.v1.sampler.max_off_policy_threshold(8)와 drop/wait. 레시피: async_training.staleness_threshold | vLLM, SGLang, TRT-LLM | FSDP/FSDP2, Megatron(Megatron-Bridge, “mlite” 포함), VeOmni, torchtitan | Ray single controller |
| slime (v0.4.0, 2026-10-09) | 분리(--colocate 꺼짐) | fully async rollout 함수. partial rollout --partial-rollout. 명시적 staleness 한도 없음 | SGLang | Megatron만 | Ray, driver 루프 하나 |
AReaL (v2.1.1, 2026-11-04. 이제 areal-project) | separation | rollout.max_head_offpolicyness(코드 기본 0 = 동기). actor.use_decoupled_loss | SGLang(기본), vLLM | FSDP2, Megatron, Archon | single controller(local, Ray, Slurm scheduler) |
| OpenRLHF (v0.12.0, 2026-11-27) | 분리 그룹. --train.colocate_all로 hybrid | --train.async_enable, --train.async_queue_size(1), --train.partial_rollout_enable | vLLM | DeepSpeed | Ray single controller |
| TRL (v1.19.0, 2026-11-25) | colocate(vllm_mode, v1부터 기본) | AsyncGRPOTrainer(server 모드): max_staleness(4) | vLLM | DDP, DeepSpeed, FSDP(async: FSDP2) | Accelerate / torchrun, Ray 없음 |
| ROLL (v0.4.0, 2026-09-29) | device_mapping으로 결정(겹치면 colocated) | async_generation_ratio(0 = 동기), 분리 장치 필요 | vLLM, SGLang | Megatron(mcore-adapter), FSDP2, VeOmni | Ray pipeline driver |
SkyRL (v0.5.0, 2026-11-17. 이제 skyrl-project) | colocated(colocate_all=true) | one-step-off. FullyAsyncRayPPOTrainer와 max_staleness_steps(4) | vLLM | FSDP2(기본), Megatron | Ray single controller |
| prime-rl (v0.11.0, 2026-11-22) | 분리만 | 기본이 비동기(한 step). orchestrator.max_staleness(8, 토큰 mask), strict_staleness | vLLM | FSDP2(자체 모델, EP, CP) | orchestrator + ZMQ, Ray 없음 |
NeMo-RL (v0.8.0, 2026-11-06. NVIDIA-NeMo/RL) | colocated | grpo.async_grpo와 max_trajectory_age_steps(1), in_flight_weight_updates. v0.8 beta single-controller async_rl | vLLM, SGLang, Megatron, TRT-LLM | Megatron-Bridge, Automodel(FSDP2) | Ray single-process controller |
이 표의 몇 칸은 1년 전에 맞던 설명과 어긋난다. 날짜를 붙인 이유다. verl main은 2026년 11월에 V0 trainer를 없애고 fully-async·one-step-off trainer를 v0.9.1에 고정된 verl-recipe로 옮겼다(verl 레슨이 옛 손잡이와 새 손잡이를 짝지어 준다). slime은 v0.4.0에서 one-step-off driver를 없앴다. “fully async”의 대명사였던 AReaL은 이제 colocate도 하고 코드 기본값은 동기다. TRL은 HEAD에 PPO trainer가 없고 colocated vLLM을 기본으로 삼았다. ROLL은 DeepSpeed를 뺐고, DeepSpeed 기반은 OpenRLHF가 남았다.
모두를 가로지르는 흐름이 넷이다. partial rollout이 표준이 됐다. 생성을 멈추고, 가중치를 바꾸고, 요청을 재개한다. 대개 추론 엔진 자체의 pause/resume과 weight-transfer API로 하고, 토큰은 자기를 만든 버전을 달고 다닌다. 배치는 더 이상 프레임워크를 가르는 기준이 아니다. 대부분 둘 다 지원하고 실행마다 고른다. 가중치 동기화가 수렴한다. colocated면 CUDA IPC, pool 사이면 NCCL broadcast이고, 큰 모델에는 delta와 RDMA pull 경로(verl delta_sharded, SkyRL sharded_rdt, NIXL 위의 prime-rl ModelExpress)가 있다. 불일치 보정이 어디서나 일급 손실 옵션이다(TIS/IcePop식 mask, decoupled PPO, score centering). 비동기와 엔진 수치 차이가 둘 다 를 만들기 때문이다(off-policy 불일치).
Your agent RL run on 32 GPUs (colocated, synchronous) spends 75% of each step in rollout, and the rollout engine is busy only ~30% of that time. Which change attacks the cause rather than the symptom?
The idle 70% of the rollout phase is the tail: a few long trajectories decide the phase length, and decoding them is latency-bound, so more GPUs or more concurrent sequences do not shorten it. Not waiting for them — training on the trajectories that are done while the long ones continue — removes the idle time; the cost is staleness, which must be bounded (a version threshold) and corrected (importance weights). More epochs only change how much is squeezed from each rollout, with the lag problem of the next lesson.
Summary
- An RL framework is defined by placement (colocated vs disaggregated), synchronisation (sync, one-step-off, fully async with partial rollouts), the rollout engine and weight-sync path, and the training backend.
- Synchronous rollout is gated by the longest trajectory; the idle fraction grows with the length tail and the batch size, and more GPUs do not fix it. That is the pressure toward asynchrony.
- Async designs overlap or stream rollout and training; they differ mainly in the unit of their staleness bound (versions, tokens, queue depth, steps ahead, sample fractions).
- As of 2026-12-03 most frameworks support both placements, use engine-native pause/resume for partial rollouts, sync weights by CUDA IPC or NCCL (with RDMA/delta paths), and ship mismatch corrections as loss options. Check versions: defaults and even whole trainers moved in the past year.
GPU 32장(colocated, 동기)에서 돌리는 agent RL이 step마다 75%를 rollout에 쓰고, 그동안 rollout 엔진은 약 30%만 바쁘다. 증상이 아니라 원인을 공략하는 변경은?
rollout 단계의 놀고 있는 70%는 꼬리다. 긴 trajectory 몇 개가 단계 길이를 정하고, 그것들의 decoding은 latency에 묶이므로 GPU나 동시 시퀀스를 늘려도 짧아지지 않는다. 그것들을 기다리지 않으면 — 긴 것이 계속되는 동안 끝난 trajectory로 학습하면 — 유휴 시간이 사라진다. 대가는 staleness이고, 그것을 묶고(버전 한도) 보정해야(importance weight) 한다. epoch를 늘리는 것은 rollout 하나에서 얼마나 짜낼지만 바꾸고, 다음 레슨의 지연 문제를 가져온다.
정리
- RL 프레임워크는 배치(colocated vs 분리), 동기화(동기, one-step-off, partial rollout을 쓰는 fully async), rollout 엔진과 가중치 동기화 경로, 학습 backend로 정의된다.
- 동기 rollout은 가장 긴 trajectory에 묶인다. 유휴 비율은 길이 꼬리와 배치 크기로 커지고, GPU를 늘려도 고쳐지지 않는다. 비동기로 가는 압력이 이것이다.
- 비동기 설계는 rollout과 학습을 겹치거나 흘려보낸다. 주로 staleness 한도의 단위(버전, 토큰, queue 깊이, 앞선 step 수, 샘플 비율)가 다르다.
- 2026-12-03 기준 대부분의 프레임워크가 두 배치를 다 지원하고, partial rollout에 엔진 고유의 pause/resume을 쓰며, CUDA IPC나 NCCL(그리고 RDMA/delta 경로)로 가중치를 동기화하고, 불일치 보정을 손실 옵션으로 제공한다. 버전을 확인하라. 지난 1년 사이 기본값은 물론 trainer 전체가 옮겨 다녔다.
더 읽을거리Further reading
- Sheng et al., HybridFlow: A Flexible and Efficient RLHF Framework (EuroSys 2025) — verl — single controller + multi-controller 데이터 흐름과 3D-HybridEngine. colocated 설계의 원형.The single-controller + multi-controller dataflow and the 3D-HybridEngine — the prototype of the colocated design.
- Fu et al., AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning (2025) — 생성과 학습을 완전히 분리하고 staleness를 버전 차이로 묶는 fully async 설계.Fully decoupled generation and training with staleness bounded by version difference.
- Noukhovitch et al., Asynchronous RLHF (ICLR 2025) — 한 step 낡은 데이터로 학습하는 one-step-off 설계의 분석.An analysis of the one-step-off design, training on data one step stale.
- verl V1 async trainer docs (main, 2026-11) and fully_async_policy recipe (verl-recipe, pinned to v0.9.1) — sync / colocate_async / separate_async 세 모드와 4노드 벤치마크.The sync / colocate_async / separate_async modes and their four-node benchmark.
- slime (THUDM) README and docs, v0.4.0 — Megatron + SGLang, 동기와 fully async. GLM 계열의 학습 프레임워크.Megatron + SGLang, sync and fully async; the framework behind the GLM models.
- prime-rl (Prime Intellect) README and docs, v0.11.0 — Ray 없이 orchestrator + vLLM + FSDP2로 분리 배치하는 비동기 설계.An async, disaggregated design without Ray: orchestrator + vLLM + FSDP2.
- TRL GRPOTrainer / AsyncGRPOTrainer docs, v1.19.0 — Transformers Trainer 위의 GRPO. colocate가 기본이 된 v1 이후의 vLLM 통합.GRPO on top of the Transformers Trainer; vLLM integration after v1 made colocate the default.