In this article
Change the prefill and decode split only when expected work saved exceeds the measured switch cost over a realistic demand window.
MiniMax published its account of Forge V2.0, the reinforcement-learning system behind M4. The report describes a scheduler for model-generated trajectories with intermittent tool calls. It shifts capacity between processing inputs and generating outputs based on expected demand. The setting is an internally scheduled training rollout, where arrivals and active sessions are more observable than in general public inference.
Predict the next turn
When a batch moves to updated policy weights, previously cached states can no longer represent the new policy. Early work can skew toward prefill. As sessions progress, some spend time waiting on tools and later return with new context to process. Forge uses live session state and estimates the length and duration of tool responses to forecast that demand. The useful signal is expected work in each phase.
Include the cost of switching
Changing instance roles can require reassigning resources and moving or repartitioning weights. Evaluate a split over a horizon long enough to earn back that cost. Record changes in queue depth and completed trajectories. A prediction can look accurate but arrive too late to justify a switch. A simple fixed allocation is a baseline even when demand clearly changes over an iteration.
Replay realistic tool waits
A test trace should include short replies, long returns and roles with sparse concurrency. Hold workload, model and completion rules fixed, then compare a fixed split, a queue-reactive policy and a forecast-driven policy. Record completed trajectories per unit time, the finish time of the slow tail, wasted capacity during role changes and the age of training data if trajectories can continue across updates.
Decide where the method transfers
MiniMax reports improvements against its own baselines. Treat those results as evidence for its setting. If your service cannot see external request arrivals or tool states, begin by logging only the scheduler inputs you can observe consistently. Use holdout replays before changing the live split. A forecast-based policy is valuable when it improves finished work under timing and freshness limits.
Practical takeaway
Keep a trace of forecast decisions and role switches. A replay should show how much capacity moved, which queue benefited and whether any cohort finished later. That evidence separates a useful scheduling change from a shift in who waits.
Primary sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.