Validating a Trillion-Parameter MoE Multimodal Training Pipeline on Domestic GPUs

    This article examines the engineering validation of a 2.8-trillion-parameter native multimodal Mixture-of-Experts model on a domestic GPU platform. It covers the technical challenges of MoE routing, distributed communication, memory management, model pruning, FSDP-based sharding, and training stability. The results from a 16-GPU, two-node setup demonstrate 400 consecutive training steps without numerical overflow or abnormal interruption, while also highlighting the remaining challenges in scaling to full-size pretraining.

    1. Introduction

    Large language models are evolving toward multimodal architectures and increasingly massive parameter counts. Mixture-of-Experts (MoE) architectures have become an important approach for overcoming computational bottlenecks. However, native multimodal MoE models with trillions of parameters place extreme demands on GPU compute, memory bandwidth, and distributed communication.

    Recently, a domestic GPU solution completed a training-pipeline validation for a 2.8-trillion-parameter native multimodal MoE model. In a two-node, 16-GPU configuration, the system completed 400 consecutive training steps without numerical overflow or abnormal interruption. This practice demonstrates the continued improvement of domestic GPUs in adapting to complex large-model training workloads.

    2. Technical Barriers in Trillion-Parameter Multimodal MoE Models

    A native multimodal model typically includes a vision encoder, or vision tower, a language backbone, and a cross-modal projection module for feature alignment. When the model reaches the trillion-parameter scale and adopts an MoE architecture, its dynamic sparse computation and expert-routing mechanisms create two major challenges for the underlying hardware.

    Communication Pressure Across GPUs

    The core of an MoE architecture is a gating network that dynamically routes tokens to different experts. During distributed training, tokens must be redistributed across devices through All-to-All communication.

    At the trillion-parameter scale, the number of experts and the volume of routed data increase significantly. This sharply raises cross-node communication requirements and places strict demands on network topology and communication-library optimization.

    Difficulties in Memory Management

    Although dynamic sparse attention can reduce computational complexity, its dynamic allocation behavior can lead to memory fragmentation. At the same time, the model parameters and optimizer states require careful memory scheduling. If peak memory usage is not controlled effectively, the system can easily encounter out-of-memory (OOM) errors.

    3. Engineering Design and Implementation of the Training-Pipeline Validation

    To verify training functionality and loss trends, the test used a pruned configuration rather than directly running full-scale pretraining. This is common in engineering practice because it can expose and resolve potential operator and communication issues at significantly lower cost.

    3.1 Model-Pruning Strategy

    In the pruned configuration, the language backbone was reduced to a subset of its layers, such as 13 layers, and configured with 16 routed experts using Top-8 activation. This preserved the sparse activation characteristics of the MoE architecture.

    The complete 27-layer vision tower and the cross-modal projection module were retained to ensure that the multimodal fusion logic remained intact. The training data was based on a publicly available multimodal image-text dataset, with random initialization used for the training setup.

    3.2 Distributed Training Architecture

    From an engineering perspective, the primary focus was to establish a complete distributed training pipeline. The implementation added forward and backward support for hybrid-attention and MoE operators. It also used mainstream distributed-training frameworks such as Fully Sharded Data Parallel (FSDP) to shard parameters, gradients, and optimizer states.

    FSDP partitions model states that would otherwise be concentrated on a single GPU across all devices. These states are dynamically gathered only when required for computation, substantially reducing per-GPU memory consumption.

    Cross-node communication was handled by a high-performance collective communication library. In the two-node, 16-GPU environment, the library needed to efficiently manage both intra-node and inter-node synchronization while maintaining low latency and high bandwidth utilization for communication primitives such as All-to-All.

    4. Training Results and Data Analysis

    After 400 consecutive training steps, the system demonstrated strong stability, with no numerical overflow or abnormal interruption. The main results were as follows:

    • Training-loss convergence: The average loss decreased steadily from 8.9365 over steps 21–70 to 2.1802 over the final 50 steps. This indicates that the forward computation and backward gradient updates were functioning correctly, and that the vision branch parameters were also being updated effectively.
    • Validation-loss reduction: Validation loss decreased from an initial 6.5297 to 4.6873. This suggests that the model was learning more than the training-set patterns and had a certain degree of generalization capability.
    • Peak memory usage: In the two-node, 16-GPU configuration, peak GPU memory usage remained stable at 44.80 GiB. Under the sharding strategy, this result demonstrates effective memory scheduling and leaves room for further scaling.
    • Gradient checks: Gradient explosion and vanishing gradients are common risks in large-scale training. The validation included gradient-norm checks to confirm that gradient distributions across layers remained healthy, with no evidence of inactive neurons.

    5. Progress in Adapting Domestic Computing Platforms for Training

    Across the industry, domestic GPU vendors are accelerating their adaptation to large-model workloads. Major vendors have reported progress in clusters ranging from hundreds to thousands of GPUs.

    For example, Baidu announced at its Create conference that a fully domestic cluster based on Baidu-developed AI chips had successfully completed the training of an important version of a multimodal large model. The reported effective training rate reached 97%.

    Effective training rate is a key indicator of computing-resource utilization in large-scale clusters. A rate of 97% indicates that the cluster had achieved strong performance in areas including communication overhead, fault recovery, and compute scheduling.

    Other domestic GPU vendors are also advancing training support for mainstream open-source models. Some solutions can reportedly complete multimodal pretraining and reinforcement learning on clusters with thousands of GPUs while achieving accuracy alignment with mainstream international products. Other vendors have disclosed support for hundreds of mainstream large models, covering most non-proprietary models.

    According to industry forecasts, shipments of high-end AI chips in China are expected to grow significantly in the coming years, with domestic solutions potentially approaching a 90% share, including cloud providers’ self-developed chips.

    6. Challenges in Moving from Pipeline Validation to Full-Scale Pretraining

    Although this training-pipeline validation provides a useful engineering reference for the reproducibility of large-model training on domestic GPUs, a substantial gap remains between a pruned configuration and full-scale training of a trillion-parameter model.

    6.1 Communication Bottlenecks at Larger Cluster Sizes

    When scaling from 16 GPUs to thousands or tens of thousands of GPUs, network topology becomes significantly more complex. Communication latency and congestion control across switches and racks are likely to become major bottlenecks. More advanced topology-aware scheduling and communication-computation overlap will be required.

    6.2 Long-Running Stability and Fault Tolerance

    Full-scale pretraining typically runs continuously for weeks or even months. During this period, hardware failures, such as GPU disconnections and network instability, are almost unavoidable.

    A large training cluster therefore needs frequent asynchronous checkpointing and fast fault recovery to prevent training jobs from being interrupted for extended periods.

    6.3 Operator Fusion and Aggressive Performance Optimization

    Pipeline validation primarily focuses on whether the system can run successfully. Full-scale training also requires the system to run efficiently.

    This requires deep operator fusion tailored to the underlying microarchitecture of domestic GPUs, particularly for MoE gating and attention operations. The goal is to reduce memory-access overhead and increase the utilization of peak per-GPU compute performance.

    7. Conclusion

    The training-pipeline validation of a trillion-parameter native multimodal MoE model represents a practical test of domestic GPUs for distributed large-model training and provides valuable engineering data for the industry.

    Through an appropriate pruning strategy, sharded training, and reliable communication-library support, domestic GPUs have demonstrated a foundational ability to handle complex multimodal MoE architectures. Combined with the reported performance of vendors such as Baidu on clusters containing thousands of GPUs, domestic computing platforms are rapidly strengthening their competitiveness in AI infrastructure.

    As cluster scaling and fault-tolerance technologies continue to mature, domestic GPUs are expected to play an increasingly important role in large-scale multimodal pretraining.