What Happened
On July 3, ModelBest (面壁智能), together with the OpenBMB community and AGI BAR, released ForgeTrain, a production-grade large model pretraining framework. Technical lead Li Yuxuan shared empirical results: on specified models (MiniCPM4-0.5B/8B) and specified hardware (NVIDIA H100, Huawei Ascend NPU), ForgeTrain matched the industry-standard Megatron-LM within 8 hours, and stably overtook it within 1.5–2 days, with MFU (Model FLOPS Utilization) improving by roughly 8–10%. The entire framework was "forged" by AI from scratch — no human wrote a single line of code.
A key datapoint is portability: the same method covers both NVIDIA H100 clusters and Huawei Ascend NPUs — meaning what was forged is not a vendor-specific implementation, but a replicable engineering playbook.
Deep Analysis
1. This is not "a new framework" — it automates the act of writing frameworks.
Traditional training frameworks (Megatron-LM, DeepSpeed, PaddlePaddle) share a pattern: human-written code, manual tuning, and deep hand-written optimizations for specific hardware and architectures. This path is extremely costly — NVIDIA's Megatron-LM team has maintained dozens of top engineers for five years. ModelBest flipped the path: humans write the "forging rules," and AI produces the optimal framework for a given hardware/model combination within hours.
2. The core is a four-stage "Harness optimization" process.
Forging is not one-shot. Li broke it into four stages, each locking in the correctness of the previous one:
- Anchor stage: generate a bit-exact comparison baseline against the reference implementation (max_abs_diff = 0), ensuring AI-generated code passes a trust threshold first
- Bit-for-Bit stage: with binary consistency guaranteed, quickly add checkpointing, loading, and recovery features
- Surpass stage: lift the binary constraint, letting AI enumerate operator paths, graph capture, and scheduling combinations to pursue longer-horizon training stability
- Per-Op stage: deep customization of core operators such as GEMM and FlashAttention, hardware-bound, maximizing single-operator MFU
- For engineering: the moat shifts from "trusted code" to "trusted intelligence." Small teams could prompt-generate hardware-optimal training frameworks instead of running standard ones.
- For domestic compute: a key validation. Chinese NPUs are often criticized for weak software ecosystems; ForgeTrain's transferability to Huawei Ascend suggests AI can "fill gaps on demand" — good news for Huawei, Cambricon, Hygon, and Enflame.
- For AI safety and governance: should AI-written code used to train the next generation of models be subject to compliance review? No standard answer exists yet, but adoption would force the question.
This "monotonic, non-rollback" abstraction turns auto-written frameworks from a black box into a verifiable pipeline — a concrete paradigm within the broader theme of Harness Engineering.
3. "Forge Engineering" — a new industry term.
Li argues that maintaining a general framework for many hardware platforms is increasingly inefficient when AI models and chips iterate faster than infrastructure software. The alternative: cheap-to-produce, highly customized training software stacks generated on demand per model and hardware. ModelBest claims that "the moat NVIDIA built through years of manpower and ecosystem is turning into a technical problem that AI can automatically decouple and refactor."
4. The L1–L5 capability ladder.
ModelBest frames "AI building AI" in five levels: L1 prompt suggestions, L2 assisted R&D, L3 closed-loop delivery, L4 recursive improvement, L5 co-evolution. In general intelligence, initial L4 is claimed; but for the vertical "AI manufacturing AI" capability, only L2 is solid, and L3 has been barely achieved by very few teams (e.g., Anthropic) with unstable results. ForgeTrain is ModelBest's single-point demonstration of jumping toward L4.
Why It Matters
Risks and Caveats
1. The reported numbers (8–10% MFU, 8-hour parity) reflect engineering optimization under the same model/hardware/versions — not AI discovering new algorithms. 2. Megatron-LM and other vendor teams will likely accelerate their own automation efforts; similar tools may appear within months. 3. "No human intervention" should be read carefully: expert teams may constrain prompts and validate experiments, so it likely means "no humans in the code-writing step," not a fully unattended process.
Source: Li Yuxuan (ModelBest AI Infra technical lead) talk at "AI4AI Night," June 27, 2026, and ModelBest's July 3 public recap.