Trillion-Parameter MoE Multimodal Training Pipeline Validation on Domestic GPUs

    As large language models scale to the trillion-parameter level, adopting Mixture of Experts (MoE) and native multimodal architectures, underlying computing infrastructure faces significant engineering challenges. This article explores how domestic GPUs are accelerating their adaptation to such complex models, highlighted by a recent distributed training pipeline validation on a 2.8-trillion-parameter MoE multimodal model. It details the technical bottlenecks, the trimmed configuration test environment, distributed parallelism strategies, and performance metrics including training convergence and memory management, while also analyzing the future challenges of scaling from single-point validation to full-scale pre-training.

    As large language models scale toward the trillion-parameter level, Mixture of Experts (MoE) and native multimodal capabilities have become standard configurations for frontier models. Under this trend, how underlying computing infrastructure effectively supports the training of ultra-large, complex models has become a common engineering challenge across the industry. Recently, domestic GPUs have accelerated their pace in adapting to such complex models. For instance, Baidu successfully completed the training of a significant version of its ERNIE model using its self-developed Kunlunxin P800 domestic cluster, achieving an effective training rate of 97%. Meanwhile, numerous domestic compute providers have successively achieved precision alignment in the pre-training and reinforcement learning of mainstream open-source large models, gradually extending their capabilities to thousand-card and ten-thousand-card cluster scenarios.

    1. Training Pain Points and Thresholds of Trillion-Parameter MoE Multimodal Models

    Taking a typical 2.8-trillion-parameter native multimodal model with an MoE architecture as an example, its structural characteristics impose extremely high thresholds on the communication capabilities and memory management of underlying hardware.

    The first challenge is the dynamic sparse attention mechanism. Unlike traditional static attention, dynamic sparsity requires the model to dynamically compute attention masks based on input during each forward pass. This significantly increases the complexity of the computational graph, demanding that hardware operator libraries can flexibly handle irregular memory access patterns.

    The second challenge is the expert routing mechanism. The MoE architecture expands model capacity while controlling computational volume by distributing parameters across multiple expert networks and activating only a subset of experts during each inference or training step. However, this mechanism introduces complex cross-device communication requirements. In multi-card distributed training, input data must be sent to the devices hosting the corresponding experts via All-to-All communication operations, computed, and then returned via All-to-All. This frequent cross-node data exchange is highly sensitive to the bandwidth and latency of the network topology and can easily become a bottleneck for training efficiency.

    2. Distributed Training Pipeline Validation: Engineering Practices

    To systematically verify the availability and stability of the training pipeline, a domestic compute solution recently conducted a pipeline validation on a 2.8-trillion-parameter MoE multimodal model. The test was conducted on a dual-node, 16-card configuration, continuously completing 400 training steps without numerical overflow or abnormal interruptions. From an engineering perspective, the focus of this adaptation was not on pursuing peak single-card computing power, but rather on verifying the systemic integration of the distributed training pipeline.

    1. Trimmed Configuration and Test Environment
    Because full-scale trillion-parameter model training requires massive cluster resources, this validation adopted a reasonably trimmed configuration. Structurally, the language backbone was truncated to 13 layers, retaining 16 routing experts (using a Top-8 activation strategy). Simultaneously, to validate multimodal capabilities, the 27-layer vision tower and cross-modal projection module were fully retained. For the dataset, random initialization training was performed based on commonly used open-source image-text multimodal datasets.

    This trimming strategy preserved the core engineering difficulties of MoE routing and multimodal fusion while completing an end-to-end pipeline test at a reasonable hardware scale, laying the groundwork for subsequent full-scale pre-training.

    2. Distributed Parallelism and Operator Adaptation
    At the operator level, the technical team focused on completing the forward and gradient reverse implementations for hybrid attention and MoE operators. On the distributed training framework, leveraging mature distributed data parallel technology, fine-grained sharding management was applied to model parameters, gradients, and optimizer states. This approach effectively broke through the single-card memory wall limitation, allowing the trillion-parameter model states to be evenly distributed across multiple nodes.

    Cross-node communication coordination was handled by a general-purpose, high-performance multi-card communication framework. By optimizing collective communication primitives, communication blocking during the MoE routing process was reduced, ensuring synchronization efficiency for gradient updates.

    Under the trimmed configuration, the test results showed stable metrics across the board, proving the correctness of the adaptation scheme. Disclosed details indicated that the vision branch effectively participated in parameter updates without gradient truncation or failure.

    1. Loss Curve Convergence
    The training loss steadily converged from an initial 8.9365 (mean of steps 21–70) to 2.1802 (mean of the final 50 steps). Concurrently, the validation set loss decreased from 6.5297 to 4.6873. This stable downward trend indicates that the weight allocation of MoE expert routing and the fusion logic of multimodal features were correctly mathematically expressed on the domestic GPUs, and the precision of the underlying operators met the model’s requirements.

    2. Peak Memory Management
    Under the dual-node, 16-card configuration, the peak memory was effectively controlled at 44.80GiB. This data demonstrates that through parameter sharding and reasonable memory reuse strategies, the system maintained good resource utilization even when handling high-memory-consumption modules like the complete vision tower and multi-path expert networks, avoiding training interruptions caused by Out of Memory (OOM) errors.

    4. The Leap from Single-Point Validation to Full-Scale Pre-Training

    Although this pipeline validation yielded positive results, it is important to note that functional validation under a trimmed configuration is not equivalent to full-scale pre-training. Disclosing such detailed engineering specifics for a 2.8-trillion-parameter MoE multimodal model remains rare in the industry, providing a highly valuable engineering reference point for the reproducibility of domestic GPUs on the training side.

    However, scaling from a dual-node, 16-card setup to thousand-card or even ten-thousand-card clusters will subject the system to more severe tests. The first is long-term stability. During pre-training cycles lasting weeks or even months, hardware failure rates, network jitter, and checkpoint save and restore mechanisms will directly impact effective training time. The second is the scalability of the communication topology. As the number of nodes increases exponentially, congestion control and routing optimization for All-to-All communication will become extremely complex.

    According to industry consulting forecasts, shipments of high-end AI chips in the Chinese market will experience significant growth by 2026, with the market share of domestic solutions rising notably. In light of this trend, domestic compute providers must not only continue to break through single-card performance limits but also achieve a deep leap in distributed training systems engineering, cluster fault tolerance, and full-stack software-hardware co-optimization. Only by truly crossing the chasm of long-term stability in large-scale clusters can domestic GPUs shoulder the responsibility of the core computing foundation in the era of trillion-parameter large models.