The Pulse
MiniMax details Forge V2.0 training system behind M4
MiniMax described the reinforcement-learning system used during development of its M4 model. The company says Forge V2.0 tackles training at the scale of a 10,000-accelerator cluster.

MiniMax says its Forge V2.0 reinforcement-learning system tackles training at the scale of a 10,000-accelerator cluster, 3T parameters and a 1M context window. In a December 4 technical post, the company described how the system supported development of its M4 model, including changes to scheduling, agent integration and the handling of expert models.
During M4 development, dozens of domain-expert reinforcement-learning and multi-teacher on-policy distillation runs executed in parallel each day across the cluster, according to MiniMax. The company identifies training stability, correctness and cluster efficiency as the problems the system was built to address.
Changing roles ahead of demand
The earlier Forge V1.0 supported end-to-end reinforcement learning across arbitrary black-box and white-box agents. The new version separates agent-harness integration, communication protocols and task orchestration into an independent framework called AFlow, which connects agent harnesses and sandboxes through a standard gateway.
Forge uses a predictive scheduler to adjust computing roles as workloads change. AFlow maintains a table of live session states; a predictor estimates how long tool calls have left to run and the length of their output. Its forecasts reach Forge every 5 seconds in production.
The scheduler weighs projected throughput gains against the cost of switching between prefill and decode roles. For M4, the company says, Forge can switch those roles in place in 5–10 seconds. It reports that predictive scheduling raises effective rollout throughput, measured in completed trajectories per unit time, by 51% against a fixed prefill-to-decode split and by 13% against reactive switching.
Keeping slow tasks moving
Long-running agent tasks can leave a small number of unfinished trajectories holding up training. Forge's Semi-Async mode keeps most nodes colocated while reserving a small portion of computing capacity for Fast MegaEngine during the training window, so unfinished tasks can continue running tool calls and decoding.
The scheduler routes sessions to that engine using forecasts such as remaining turns, output length and tool runtime. It also considers whether a session is blocking other work, prioritizing a slow trajectory at the head of a training window, for example.
At a DSpark acceptance length of 5, Fast MegaEngine exceeds 835 tokens per second for a single request and reaches 4,550 tokens per second in aggregate, MiniMax says. The latter figure was measured at 32 concurrent requests. On production long-horizon agent workloads, the company reports that the approach cuts long-tail trajectory inference time by roughly 60% and speeds up end-to-end rollout by 1.2×–1.3×.
Sharing expert capacity
For multi-teacher on-policy distillation, expert models score trajectories generated by a student model. A single M4 distillation run may have 40+ domain-specialized experts scoring trajectories at once, MiniMax says.
Rather than dedicating a serving instance to each expert, Forge switches experts on a shared pool. Its Checkpoint Service pre-stages expert weights from disk into a distributed memory pool. When the expert scheduler calls for a switch, the target instance then pulls the required weight shards directly over RDMA.
The architecture also includes a dedicated node pool for the vision encoder, shared between inference and training, and a cluster-wide standby node pool. Forge retains a colocated rollout-and-training approach with Partial Rollout.
Sources
- Original source · Blog post MiniMax “Forge V2.0: Cluster-Scale Agentic RL Systems and Algorithms Behind MiniMax M4” minimax.io