R238 · Infrastructure for agents at scale › Inference providers and serving reliability

Rocket: Microsoft AI's infrastructure for months-long agentic RL

Read the original

Authors Microsoft AI

rl-infrastructurepost-traininginference-servingnumericsfault-toleranceagents-at-scale

Sources: Microsoft AI's LinkedIn post and the technical blog RL infrastructure at Microsoft AI (2026-11-23; a PDF version is linked from the page). Rocket was first described in the MAI Thinking 1 technical report and is now post-training MAI Base 2, a roughly three-trillion-parameter MoE base model.

The regime it is built for

The blog's opening point is that RL infrastructure depends on the training recipe. A model distilled from a stronger teacher starts RL near its ceiling, so RL is a short refinement phase: a failed run can be restarted and small sampler/learner mismatches have little time to compound. MAI instead climbs from the base model through RL itself, with no distillation, over many thousands of steps across weeks to months on thousands of GPUs. In that regime hardware failures are certain, numerical drift accumulates, and the best data mix and GPU split change as the policy improves. They name verl and slime as strong open foundations but say these long climbs push past where those are usually exercised.

MAI owns all three systems involved (learner and training framework, Rocket, and an inference engine on an MAI-maintained SGLang fork), so it can co-design their interfaces. Kubernetes or Slurm still allocate nodes, and Ray runs the job.

Architecture: the async GRPO loop

  1. A controller picks a problem from the curriculum and sends it to a problem worker.

  2. The problem worker fans a GRPO group of rollout requests out to a rollout worker pool.

  3. For agentic tasks, an agent loop calls the sampler and routes tool calls through a tool dispatcher to the task environment: sandboxed execution environments, search, or MCP servers.

  4. Per-rollout graders score each trajectory (and environment state where needed); trajectories go to a rollout store.

  5. The problem worker runs group graders and computes GRPO advantages once the group is in, then returns them to the controller, which packs segments into learner batches.

  6. The learner pulls token IDs and sampling log-probs from the store by reference and trains.

The post gives scale figures: the median software-engineering rollout runs 93 minutes and 249 turns, and one day of a production run handled 1.13 million rollouts.

Controlling staleness

Because the learner keeps updating while rollouts run, each token is generated by an older policy than the one that trains on it. The blog measures staleness in policy versions and shows sampler/learner log-prob gaps grow with it. With roughly constant step times, a token's staleness is about the sampler lag plus (time trained minus time generated) divided by time between steps. Each term gets its own control:

Numerical precision and bitwise parity

Fault tolerance and elasticity

Caveats

Review checklist for long-running async RL

NVIDIA Dynamo for RL rollouts (routing, weight deltas and recovery); AutoRL agents supervising a live RL run; RL-tuning an open model for one coding agent's harness; RL post-training memorizing hallucinations.

Cited in field guides

Connections

See R238 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.