Research ·
Nereus: Adaptive Parallelism for LLM Post-Training
Nereus is a cost-aware runtime that adapts LLM RL post-training jobs' parallel execution plans mid-run, cutting average step latency by 27.7% versus fixed TP/PP layouts and improving 8B PPO throughput 2.14–7.27x over OpenRLHF.

RL post-training for large language models coordinates generation, inference, and training models across GPU clusters. Resource availability, sequence length, memory pressure, and stage bottlenecks all shift during a run, so an execution plan that was suitable at the start can become slow or even infeasible. Adapting such jobs is hard: deciding whether a new plan is worth the transition cost, reusing the job's distributed state, and coordinating GPU transfers across models and stages.
Nereus is a cost-aware runtime whose low-overhead controller selects a memory-feasible global plan and admits a transition only when the current plan is infeasible or savings repay the cost, using a cost model calibrated against the running job. Each model-stage replica is represented as an Elastic Model Unit, and a global transition graph orders the transformations and GPU transfers across models and stages. On a trace built from real data, online TP/PP adaptation cuts average step latency by 27.7% versus the initial fixed TP/PP layout with DP scaling; in a 1,000-step run reaching 1,024 GPUs, six transitions consume 0.079% of total run time. Nereus improves end-to-end 8B PPO throughput by 2.14–7.27x over OpenRLHF and 1.10–1.47x over Verl across diverse clusters.
For teams running RL post-training, Nereus addresses the reality that static parallelism plans degrade as conditions change, and it does so with measured transition overheads rather than ignoring reconfiguration costs. The included commentary raises practical caveats worth weighing: transition decisions depend on how much run remains, and resharding optimizer state (Adam moments plus master weights) under a new TP/PP split could make transitions costlier than reported, so the actual state-reuse mechanism matters for evaluating the approach.
References
- Hugging Face · huggingface.co
Read the full story at Hugging Face ↗Like, save or discuss on Buzz