Domestic GPU Verifies Trillion-Parameter MoE Multimodal Training Pipeline: Technical Breakdown and Insights

    This article provides a technical breakdown of the recent verification of a 2.8-trillion-parameter native multimodal MoE model training pipeline on a small domestic GPU cluster. It explores the core engineering challenges, including dynamic sparse attention, expert routing communication, and heterogeneous memory management. By employing a strategic trimmed configuration and the FSDP2 framework, the validation demonstrated stable loss convergence and numerical stability. The article further analyzes the implications for the domestic AI hardware ecosystem and the remaining gaps in scaling from laboratory verification to industrial-grade production.

    From “Runnable” to “Reliable”: The Verification Logic of LLM Training Pipelines

    As artificial intelligence accelerates its penetration across industries, the parameter scale of large models is expanding exponentially. Particularly, multimodal models based on the Mixture of Experts (MoE) architecture, with their characteristic of “activating a small number of parameters while possessing massive knowledge,” have become a cutting-edge direction pursued by the industry. However, the training complexity of such models far exceeds that of traditional dense models: irregular computation patterns caused by dynamic sparse attention mechanisms, all-to-all communication storms triggered by expert routing, and heterogeneous data flow management brought by multimodal fusion all impose stringent requirements on the underlying computing infrastructure.

    The adaptation process of domestic GPUs on the training side is currently undergoing a critical transition from “runnable on a single card” to “trainable across a cluster.” Recently, a domestic GPU vendor laboratory announced the successful verification of the training pipeline for a 2.8-trillion-parameter MoE multimodal model. This validation was conducted on a small-scale cluster configuration of just two machines with 16 GPUs, executing 400 continuous training iterations. Throughout the entire process, no anomalies such as numerical overflow, communication interruption, or training collapse occurred. This is widely regarded in the industry as another positive signal for the implementation of domestic AI chips in high-end training scenarios.

    The “Triple Challenge” of Trillion-Parameter Models: Architecture Dictates Engineering Complexity

    To understand the significance of this verification, it is necessary to dissect the architectural characteristics of the target model. The model adopts a typical native multimodal MoE design with a total parameter count of 2.8 trillion. The language backbone includes a dynamic sparse attention mechanism and an expert routing network; the vision tower maintains its complete depth and is deeply coupled with the language backbone through a cross-modal projection module.

    The first challenge lies in dynamic sparse attention. Unlike standard global attention, dynamic sparse attention dynamically determines the scope of attention computation based on the content of input tokens. While this significantly reduces theoretical computation, it introduces great uncertainty into underlying hardware scheduling. GPU Tensor Cores are designed for regular matrix multiplication, whereas the “hollow” computation patterns generated by sparse attention can easily lead to a decrease in SM (Streaming Multiprocessor) utilization and even trigger memory access conflicts.

    The second challenge is expert routing communication overhead. The routing network in the MoE layer distributes different tokens to different Expert networks. In this case, 16 routing experts were configured for Top-8 activation, meaning each token must be processed by 8 experts simultaneously. In a distributed environment, the cross-device forwarding of tokens relies on efficient All-to-All communication primitives. When communication packet sizes vary and routing distributions are uneven, network congestion and latency fragmentation become the primary culprits for training degradation.

    The third challenge is memory management of multimodal heterogeneous data. The forward and backward propagation computation characteristics of the vision tower and language backbone differ significantly. The vision branch typically requires larger activation memory, while the language backbone tends to occupy more parameter memory. How to accommodate the intermediate activation values of the vision tower and the parameter replicas of MoE experts within a limited VRAM capacity directly tests the memory scheduling capabilities of the underlying framework.

    Engineering Practice: Fine-grained Validation Strategy with Trimmed Configuration

    It is worth noting that this pipeline verification did not blindly pursue a “hard run” of the full parameters. Instead, it adopted an engineering-savvy “trimmed configuration” strategy. According to publicly disclosed technical details, the validation plan moderately trimmed the language backbone: intercepting only 13 Transformer layers and reducing the number of routing experts to 16 (Top-8 activation). Meanwhile, the vision tower retained all 27 layers of its complete structure, and the cross-modal projection module was not simplified at all.

    1. # Illustrative pseudo-code: Model initialization logic under trimmed configuration (not official implementation)
    2. def build_trimmed_model(original_config):
    3. return MultiModalMoE(
    4. language_layers=original_config.language_layers[:13], # Only take 13 layers
    5. num_experts=16, # Fixed number of routing experts
    6. top_k=8,
    7. vision_tower=original_config.vision_tower, # Retain complete vision tower
    8. projector=original_config.projector,
    9. )

    This “heavy on vision, light on language” trimming philosophy was not arbitrary. Its core purpose was: to use relatively controllable computing resources to maximize the validation of the feasibility of multimodal alignment and distributed MoE training. The reduction in the number of language layers does not affect the mathematical correctness verification of cross-modal projection and expert routing mechanisms; while retaining the complete vision tower ensures a rigorous test of the visual feature extraction pipeline.

    Empirical Data: Loss Convergence and Numerical Stability Analysis

    The validation results provided solid data support. The training loss steadily converged from 8.9365 (average of steps 21-70) in the initial phase to 2.1802 (average of the last 50 steps), showing a significant decline. The validation set loss also dropped from 6.5297 to 4.6873. The peak VRAM usage stabilized at 44.80GiB, fully indicating that the memory management strategy was effective under the given configuration.

    Technical developers should pay attention to the “gradient check” phase. During the 400 steps of continuous training, no gradient explosion or vanishing gradients occurred. For the MoE architecture, gradient checking is particularly critical—due to the discrete decision-making characteristics of the routing network, uneven gradient distribution among experts can easily lead to the “death” of some experts (i.e., routing probability approaching zero). In this verification, the gradients of all 16 experts maintained a healthy update state, and the visual branch actively participated in parameter updates (unfrozen), proving that the cross-modal gradient backpropagation pipeline was unobstructed.

    Distributed System Engineering: Collaboration between FSDP2 and Communication Primitives

    Another highlight of this adaptation is the deep customization of the distributed training framework. To achieve efficient sharding management of parameters, gradients, and optimizer states, the engineering team chose to conduct secondary development based on the FSDP2 (Fully Sharded Data Parallel) solution. The core advantage of FSDP2 is that it allows all model parameters, gradients, and even optimizer states to be sharded, performing All-Gather operations only when needed, thereby greatly reducing VRAM resident pressure.

    1. // Illustrative explanation: Communication pattern under FSDP2 sharding strategy
    2. - Forward pass: Execute All-Gather(parameters) layer by layer -> Local computation -> Release non-local sharded parameters
    3. - Backward pass: Execute All-Gather(gradients) layer by layer -> Local computation -> Reduce-Scatter(gradient updates)

    At the cross-node communication level, MCCL (a collective communication library similar to NCCL) serves as the foundation for data transmission. To address the irregular communication patterns caused by dynamic sparse attention, MCCL required optimization for token-level fine-grained communication. This “fine-grained” approach means it is no longer limited to traditional tensor-level communication but supports smaller communication granularities to adapt to the dynamic activation scenarios of routing experts. Breaking through this level means that domestic GPUs already possess the foundational capability to optimize communication libraries for MoE models.

    Industry Insights: The Relay Race of Domestic Computing Power Adaptation

    From a broader perspective, the adaptation between domestic GPUs and large models has entered the deep water zone. Public information from multiple domestic chip vendors indicates that adapting to mainstream large model training has become a standard practice. Some vendors disclosed that their 1,000-GPU clusters have been used by multiple LLM enterprises for multimodal pre-training and reinforcement learning stages, with accuracy aligning with industry-recognized standards. Other vendors have explicitly stated during earnings calls that training-side adaptation for multiple model series is advancing, extending from 1,000-GPU clusters to 10,000-GPU cluster scenarios.

    It is worth noting that chip businesses under some internet giants are also accelerating their catch-up efforts. A leading tech enterprise announced that its fully domestic cluster completed a major version training of its latest large model, achieving an effective training rate (the proportion of effective computation time) of 97%. According to other public materials, a vendor’s DCU (Deep Computing Unit) product line has adapted to over 400 mainstream large models, covering the vast majority of non-closed-source ecosystem models.

    This information outlines a clear trend: The competitive focus of domestic GPUs is shifting from “able to run” to production-grade high-availability training. While the peak computing power of a single GPU is important, the linear scaling efficiency of the cluster, the fault tolerance for long-term stable training, and the ability to quickly align with frontier model architectures (such as MoE and multimodal) are the key factors determining whether they can be included in the core supply chain of top-tier LLM vendors.

    From “Verification” to “Production”: The Remaining Gap

    Although the 400 steps of continuous stable training mark a milestone, it must be clearly recognized that this is only a pipeline verification under a “trimmed configuration,” which is not equivalent to the success of full-scale pre-training. Scaling up from a 16-GPU dual-machine setup to the 1,000 or 10,000-GPU clusters required for production environments will present entirely different engineering challenges.

    First is the non-linear cost of cluster scaling. In a 16-GPU environment, the latency of All-to-All communication is still acceptable; however, when scaling to thousands of GPUs, the hierarchical nature of communication topologies (such as leaf-spine architectures) introduces additional network hops. The communication proportion will rise sharply, potentially leading to an inverted situation where “computation waits for communication.” Model parallelism strategies (such as combinations of tensor parallelism, expert parallelism, and sequence parallelism) must be redesigned to find the optimal balance between communication and computation.

    Second is the stability test of long-term stable operation. Training a trillion-parameter model often takes weeks or even months. During this long cycle, sporadic events such as hardware failures, network jitter, and temperature control anomalies are almost inevitable. How to control the Recovery Time Objective (RTO) to within minutes through efficient Checkpoint saving and restoration mechanisms is key to determining the feasibility of production training. The current 400-step verification proved that there are “no bugs,” but it has not yet proven “seismic resistance.”

    Finally, there is the bottleneck release of the data loading and preprocessing pipeline. Multimodal training involves real-time reading and online augmentation of massive image-text data. In a dual-machine environment, data I/O may not yet be a bottleneck; but in large-scale clusters, storage bandwidth and data preprocessing computational volume must perfectly match the GPU consumption rate, otherwise, GPU utilization will be dragged down to extremely low levels.

    Conclusion: Pragmatic Progress and Ecosystem Win-Win

    This training pipeline verification for a trillion-parameter MoE multimodal model undoubtedly provides valuable engineering reference for the penetration of domestic GPUs in the high-end training market. It proves that under reasonable trimming strategies and fine-grained underlying optimization, domestic computing power is fully capable of undertaking the research, development, and iteration of frontier model architectures. However, transforming this “laboratory verification” into “industrial-grade production” still requires continuous deep cultivation in cluster scalability, long-term stable O&M, and the usability of supporting software stacks.

    For the developer community, this is both an encouragement and a reminder: the maturity of a hardware ecosystem cannot be achieved overnight. The rise of domestic computing power requires continuous “usage” on the application side to discover, feedback, and solve problems. Only when more and more models can run qualified or even excellent training curves on domestic GPUs will the self-controllable AI infrastructure foundation be truly solidified.