Engineering Practice in Adapting Chinese-Developed AI Compute for Training a Trillion-Parameter MoE Multimodal Model

    This article explains how a Chinese-developed AI compute platform was adapted to train a Mixture-of-Experts (MoE) multimodal model. It covers the main challenges of expert routing, hybrid attention, and multimodal memory and pipeline design. It also describes the engineering steps for operator coverage, memory sharding, and cross-node communication, reviews a 400-step validation run on a reduced configuration, and lists criteria for evaluating compute platforms.

    Recently, a Chinese GPU vendor announced that its lab had adapted the training pipeline for a native multimodal large language model with 2.8 trillion parameters and an MoE architecture. On a setup of two machines with 16 cards in total, the model completed 400 consecutive training steps. The run had no numerical overflow or abnormal interruptions, and the loss curve converged normally. The result offers a useful reference for judging how mature Chinese-developed compute is for large model training. This article omits vendor-specific details and examines the core challenges, engineering approach, and validation method from a general technical perspective.

    Why MoE Multimodal Models Are a Demanding Test for Compute Adaptation

    Compared with dense models, the MoE architecture places very different demands on the underlying compute and distributed training framework. The model in this test has two defining features: a dynamic sparse attention mechanism and an expert routing mechanism. Both are among the hardest parts of distributed training to handle.

    1. Communication pressure from expert routing. In an MoE model, each token activates only a subset of experts. This test used 16 routed experts with Top-8 activation. During training, tokens must be dispatched to experts on different devices according to the routing results. After the experts compute their outputs, the results are gathered back to the original sequence positions. This dispatch, compute, and gather process generates dense All-to-All communication, and its bandwidth and latency directly determine training throughput. If the communication library is poorly implemented or topology scheduling is inefficient, even a powerful accelerator can be held back by communication bottlenecks.

    2. Dynamic sparse attention challenges operator implementation. Hybrid attention typically combines global attention with local sparse attention. Its computation graph is irregular, and its memory access patterns are complex. Low-level operators must deliver efficient and numerically correct implementations in both the forward and backward passes. For a new hardware platform, implementing gradients for these operators, not only forward inference, is the key step that moves the platform from running inference to running training.

    3. Memory and pipeline complexity in multimodal structures. A native multimodal model includes a language backbone, a vision tower, and cross-modal projection modules. Their parameter scales and compute densities differ widely. During parallel partitioning, balancing the load across modules and preventing uncontrolled memory peaks is another major engineering challenge.

    Core Engineering Steps in Adapting the Training Pipeline

    Based on the publicly disclosed details, this work focused less on peak single-card compute and more on connecting the distributed training pipeline as a whole. The approach has four layers.

    1. Operator coverage. The team implemented complete forward and gradient computation for the hybrid attention and MoE structures, then verified correctness with unit tests and numerical alignment. This step is the prerequisite for everything else. Small numerical deviations at the operator level get amplified layer by layer over a long training run, eventually appearing as loss divergence or gradient explosion.

    2. Memory sharding. The team used fully sharded data parallelism (an FSDP-style approach, described here as a new-generation implementation). It shards model parameters, gradients, and optimizer states across three dimensions, so each card holds only one slice of the global state. In this test, peak memory per card was held at 44.80 GiB. That was enough to fit the model structure, including the full 27-layer vision tower, on limited hardware. This result shows that the sharding strategy and activation management, such as activation recomputation, worked well together.

    3. Cross-node collective communication. In multi-machine, multi-card settings, parameter synchronization, gradient aggregation, and MoE All-to-All communication all depend on a high-performance collective communication library. The library must work closely with the sharding strategy. For example, gradient sharding uses Reduce-Scatter and parameter reconstruction uses All-Gather. Communication overlaps with computation wherever possible to hide latency.

    4. Verification of training completeness. In this test, the vision branch took part in parameter updates, and the cross-modal gradient backpropagation path was complete. This rules out a trimmed adaptation in which only the language part is trainable. It shows that the pipeline is fully connected, not just partially working.

    A Sound Validation Method: Value and Limits of Small-Scale Pipeline Testing

    The vendor used a reduced configuration and a fixed number of consecutive training steps. The language backbone was truncated to 13 layers with 16 routed experts. The full vision tower and cross-modal projection modules were kept. The model was randomly initialized and trained for 400 steps on a medical image-text question answering dataset. The vendor disclosed the following metrics:

    • Training loss fell from 8.9365 (average of steps 21 to 70) to 2.1802 (average of the final 50 steps).
    • Validation loss fell from 6.5297 to 4.6873.
    • No numerical overflow or abnormal interruption occurred during the run.

    The value of this method is that the core risks of a training pipeline (communication correctness, numerical stability, memory management, and completeness of gradient backpropagation) are not tightly coupled to model scale. A reduced configuration can expose most engineering problems at a lower cost. Training loss and validation loss falling together suggests the model is learning, not overfitting or suffering from gradient errors. Running 400 steps without anomalies provides early evidence that the pipeline is stable.

    The boundaries also need to be clear. Pipeline validation is not the same as full-scale pretraining. Full-scale pretraining brings new challenges, including long-tail failure rates over tens of thousands or millions of steps, communication topology efficiency on larger clusters, checkpoint fault tolerance and resumption, and differences in convergence behavior at scale. Each of these needs separate validation later. Developers and enterprises evaluating compute platforms should distinguish between pipeline availability and production readiness. Early validation results should not be treated as proof of large-scale training capability.

    The Industry Context and Selection Criteria

    Adaptation of Chinese-developed AI chips to large models is clearly speeding up. Several vendors have disclosed multimodal pretraining and reinforcement learning on clusters of a thousand cards or more, with training accuracy reported as on par with mainstream international products. Some vendors claim adaptation to hundreds of mainstream open-source large models. A fully domestic cluster has also completed training of an important version of a flagship large model, with an effective training rate reaching 97%. A market research firm forecasts that China’s high-end AI chip shipments will reach about 5 million units in 2026, up 83% year on year, with local solutions holding close to 90% share (including in-house ASICs developed by cloud providers).

    For teams planning large model training on Chinese-developed compute, consider the following criteria:

    1. Operator coverage: Whether the operators the target model needs, such as attention variants, MoE routing, and normalization, have complete forward and backward implementations.
    2. Parallelism support: Whether data, tensor, pipeline, and expert parallelism can be combined flexibly, and whether parameter sharding is supported.
    3. Communication library maturity: Collective communication performance, topology awareness, and stability at large scale.
    4. Observability: Whether fine-grained monitoring is available, such as loss curves, gradient norms, and memory usage, so that issues can be located quickly.
    5. Fault tolerance: Production-grade capabilities such as checkpoint saving and recovery, and isolation of failed nodes.

    In cloud environments, teams can also use general cloud products, such as container platforms, object storage, and monitoring and alerting services, to build an elastic training infrastructure. Keeping compute evaluation, data management, and training scheduling separate lowers the cost of migration and trial and error.

    Conclusion

    Connecting the training pipeline for a trillion-parameter MoE multimodal model marks a shift for Chinese-developed compute, from being usable for inference to being usable for training. Pipeline validation on a reduced configuration is not the end point. Still, the engineering details and validation method disclosed here offer a reusable reference for the industry. As parallel framewor