Trillion-Parameter MoE Multimodal Training Pipeline Validation on a Chinese GPU Platform: Engineering Practice

    A recent engineering validation adapted a 2.8-trillion-parameter native multimodal MoE model to a Chinese GPU platform and ran 400 consecutive training steps on a dual-node, 16-GPU setup without numerical overflow or abnormal interruption. This article explains the technical bottlenecks in dynamic sparse attention and expert routing, details the trimmed 13-layer language backbone with 16 Top-8 experts and a 27-layer vision tower, and reviews convergence and memory results. It then analyzes operator support, FSDP-based sharding, and cross-node collective communication, and concludes with industry progress and the remaining challenges of scaling to full-model pretraining and long-duration cluster stability.

    In recent years, as large-model parameter scales move toward the trillion level, Mixture-of-Experts (MoE) architectures and multimodal fusion have become mainstream directions in technical evolution. This has created unprecedented challenges for underlying compute infrastructure. Against this background, a Chinese GPU vendor recently completed training-pipeline adaptation for a native multimodal large model with 2.8 trillion parameters. The company successfully completed 400 consecutive training steps on a dual-node, 16-GPU configuration without numerical overflow or abnormal interruption. This practice provides a highly useful engineering reference for domestic compute platforms seeking to overcome bottlenecks in large-scale distributed training.

    1. Technical Challenges of Trillion-Parameter MoE Multimodal Models

    The core of a 2.8-trillion-parameter MoE native multimodal model lies in dynamic sparse attention and expert routing mechanisms, which significantly increase model capacity while controlling computational complexity. However, this architecture imposes extremely high requirements on GPU communication capability and memory management.

    First, dynamic sparse attention requires operators to dynamically adjust the sparsity pattern of the attention matrix at runtime. This places strict demands on memory access bandwidth and non-contiguous memory operations in the underlying hardware. Second, the expert routing mechanism means that during each forward pass, different tokens are assigned to different expert networks. In multi-GPU distributed training, this means tokens must be transferred frequently across devices, typically relying on the All-to-All communication primitive. If the communication link is congested or introduces latency, compute units will sit idle, seriously reducing the effective training rate of the overall cluster.

    2. Engineering Design and Execution of the Training-Pipeline Validation

    To verify the feasibility and stability of the training pipeline, the test did not launch full-scale pretraining blindly. Instead, it adopted a scientifically rigorous trimmed-configuration approach. This strategy is highly reasonable from an engineering perspective: its core purpose is to quickly verify whether training functionality and loss trends behave normally without changing the core architectural characteristics of the model.

    1. Model Trimming and Configuration Strategy

    This validation used 13 layers of the language backbone, configured 16 routed experts with a Top-8 activation strategy, and fully retained the 27-layer vision tower and cross-modal projection module. This design preserved the complexity of cross-modal interaction in the multimodal model while controlling the parameter count of the language backbone. At the same time, random-initialization training was performed on an open-source image-text dataset to ensure that the data input side carried realistic business characteristics.

    2. Core Training Metrics and Convergence Analysis

    Under the dual-node, 16-GPU configuration, the 400 consecutive training steps completed without numerical overflow or abnormal interruption, which is the foundation for validating training-pipeline stability. More importantly, the training loss showed a healthy convergence trend:

    • Training loss: the mean from steps 21–70 was 8.9365, which steadily converged to a mean of 2.1802 over the final 50 steps.
    • Validation loss: decreased from an initial 6.5297 to 4.6873.
    • Peak memory: 44.80 GiB, with vision-branch parameters participating normally in updates.

    The substantial drop in training loss demonstrates that the model’s forward computation, backward gradient propagation, and optimizer state update paths were fully connected. The simultaneous decrease in validation loss indicates that the model did not fall into severe overfitting or gradient explosion/vanishing within these few steps. The peak memory staying at 44.80 GiB shows that the memory management strategy was effective and left reasonable headroom for subsequent model scaling.

    3. Systematically Connecting the Distributed Training Pipeline

    From an engineering perspective, the focus of this adaptation was not on pursuing the absolute peak performance of a single GPU, but on systematically connecting the distributed training pipeline. This involves complex operator implementation, memory sharding, and cross-node communication scheduling.

    1. Operator Completion and Low-Level Implementation

    For the MoE architecture, the vendor completed forward and backward gradient implementations for mixed attention and MoE operators. This means not only writing efficient kernel functions to handle routing logic and expert feed-forward networks, but also ensuring correct gradient routing and accumulation during backpropagation. Any tiny precision error can be amplified at trillion-parameter scale and cause training collapse.

    2. Sharding Management and Memory Optimization

    To address the memory pressure brought by trillion-parameter models, the system used Fully Sharded Data Parallel approaches such as FSDP2 and other general technical frameworks to shard model parameters, gradients, and optimizer states. FSDP splits model states that would otherwise need to be stored fully on every GPU across all GPUs, and then aggregates parameters through efficient collective communication when computation requires it, greatly reducing per-GPU memory usage. This is also the key technical support that enabled the per-GPU peak memory to remain stable at 44.80 GiB under the trimmed configuration.

    3. Cross-Node Communication Optimization

    In the dual-node, 16-GPU architecture, cross-node communication often becomes a bottleneck. In this validation, a dedicated collective communication library, such as the commonly used MCCL in the industry, handled cross-node communication scheduling. By optimizing the low-level implementation of communication primitives such as All-Reduce and All-to-All, the system reduced network latency blocking of the computation flow and ensured smooth multi-GPU collaborative computation.

    4. Industry Progress and Future Challenges in Training-Side Adaptation for Chinese GPUs

    The pace of adaptation between Chinese GPUs and large models continues to accelerate. According to public industry information, several domestic vendors have already achieved breakthroughs in large-scale training scenarios. For example, Baidu disclosed at a developer conference that its self-developed AI chip cluster, built entirely with domestic hardware, completed training of an important version of the ERNIE model, with an effective training rate of 97%. Other domestic chip vendors have also disclosed progress in adapting to hundreds of mainstream open-source models, covering the vast majority of non-closed-source large models. These data points indicate that domestic compute is accelerating its alignment with international advanced levels in software-hardware co-optimization and ecosystem development.

    However, it is important to recognize that the disclosed 400-step continuous training and gradient check results represent pipeline validation under a trimmed configuration, not equivalent to complete full-scale pretraining. Moving from a trimmed configuration to full-scale training of a complete trillion-parameter model still leaves two core tests for domestic compute:

    1. Cluster scaling capability: Scaling from 16 GPUs to thousand-GPU or ten-thousand-GPU clusters will make network topologies extremely complex. The linear growth of communication overhead and the rise in hardware failure rates require strong fault-tolerance mechanisms, checkpoint-resume capabilities, and global scheduling systems.
    2. Long-duration stability: Large-model pretraining typically runs continuously for weeks or even months. Under extremely long high-load operation, maintaining numerical stability and avoiding model divergence caused by the accumulation of tiny floating-point errors is the ultimate metric for measuring the maturity of a compute platform.

    In summary, this training-pipeline validation for a trillion-parameter MoE multimodal model provides a valuable engineering reference point for the reproducibility of Chinese GPUs on the training side. It demonstrates that domestic compute platforms have substantial potential in architecture adaptation, while also pointing out the key directions for future efforts toward stable training on ultra-large-scale clusters.