MiniMax details the agentic RL training system behind M4: co-located rollout/trainer cluster, expert time-sharing
paf1138 · reddit · 2026-12-04
The MiniMax team has published a detailed look at the systems and algorithms behind MiniMax M4's agentic RL training.
An architecture diagram reveals a large co-located training cluster:
- Agentic execution layer (AFlow): an AFlow Runtime providing harnesses and sandboxes, with an Inference Gateway as unified model router;
- Control plane: an RL Scheduler handling role switching, load balancing and failover, plus an Expert Scheduler for expert placement and time-multiplexing;
- Co-located rollout/trainer pool: encoder, prefill, decode and trainer nodes share hardware with dynamic P/D role switching, while a Fast MegaEngine serves long-tail low-latency decode;
- Expert nodes: each node is time-shared by multiple experts with on-demand weight swapping, accessible only via an OPD channel;
- Storage pool: distributed DRAM/SSD caching vision embeddings, global KV cache and weights/states, with a Checkpoint Service doing RDMA-based weight sync, state offload, expert swap and fast recovery;
- A standby node pool contributes accelerators in normal operation and replaces faulty nodes on failure.
Rare infrastructure-level disclosure from a frontier model team — directly useful for anyone engineering agentic RL training.
More from Models
- Mollick: Google buries a mix of unidentified models across products, hiding the frontier — emollick · 2026-12-06
- Humans Beat LLM Agents in 100+ Player Balltoss Challenge: Winning Trick Found by People — yassineyousfi_ · 2026-12-06
- Insider speculation: a mystery model 'obliterates' frontier AI while Anthropic stays silent — ryunuck · 2026-12-06
- ChatGPT flags a content violation every time it reads a privacy policy — JasonBotterill · 2026-12-06
- OpenCode's Tinsel Alpha goes free: 1M-context multimodal coding model, rumored to be Muse Spark 1.4 underneath — talkaboutdesign · 2026-12-06
- Early testers of rumored Google 'Krypton' model say it will make them cancel Claude — beffjezos · 2026-12-06