Domestic GPUs Complete Training Pipeline Verification for Trillion-Parameter MoE Multimodal Models

    This article explores a recent milestone where a domestic GPU successfully verified the training pipeline for a 2.8 trillion-parameter MoE native multimodal model. It details the technical challenges of adapting large-scale MoE multimodal architectures, the pragmatic scaled-down verification methodology, the implementation of the distributed training stack utilizing FSDP2, and the convergence results that validate the stability of the training pipeline.

    1. Background: Domestic GPUs are Moving from Inference to Deep Training

    Over the past two years, domestic GPUs have made visible progress in inference-side adaptation. However, training-side adaptation, especially for pre-training ultra-large parameter models, remains the true litmus test for hardware, software stacks, and distributed system capabilities. The fundamental difference between training and inference lies in the fact that training requires not only forward computation but also backward gradient derivation, optimizer state updates, and cross-card gradient synchronization. Any numerical precision or communication efficiency issue in these phases will directly manifest in the loss curve.

    Recently, a domestic GPU vendor’s laboratory announced the successful training pipeline adaptation for a 2.8 trillion-parameter MoE architecture native multimodal large model. They executed 400 continuous training steps in a dual-node, 16-GPU configuration without encountering numerical overflow or unexpected interruptions. The significance of this news lies not in the training scale itself—since it is a pipeline verification under a trimmed configuration—but in proving that domestic GPU software stacks now possess the complete training capability framework to support trillion-parameter MoE multimodal models.

    From an industry perspective, similar progress is accelerating. Some vendors’ thousand-GPU clusters have supported multiple large model enterprises in completing multimodal pre-training and reinforcement learning; others have disclosed that their training side has adapted to multiple mainstream open-source model series, extending to thousand-GPU and ten-thousand-GPU cluster scenarios. Cloud providers have also announced that their fully domestically-produced computing clusters have completed the training of critical versions of self-developed foundational models, achieving an effective training rate of 97%. These signals collectively point to one conclusion: the domestic training ecosystem is transitioning from “able to run” to “running stably and running long.”

    2. Why Trillion-Parameter MoE Multimodal Models are Particularly Difficult to Adapt

    To understand the technical value of this verification, we must first examine the three major challenges posed by the target model’s architectural characteristics.

    1. Dynamic Sparse Attention

    Native multimodal models typically need to process both text and visual token sequences simultaneously, resulting in sequence lengths far exceeding those of pure text models. Although dynamic sparse attention mechanisms reduce computational complexity, the sparse patterns are data-dependent and change dynamically with batches. This imposes two requirements on operator implementation: first, the forward computation requires efficient irregular index memory access; second, the backward propagation requires precise replay of the sparse routing from the forward pass. Any slight deviation will distort the gradients.

    2. Expert Routing Mechanism

    MoE models use routers to dispatch tokens to multiple expert subnetworks, usually activating only a few experts per token (e.g., Top-8). This introduces the classic All-to-All communication pressure—tokens need to be redistributed across GPUs along the expert dimension, and the distribution pattern changes with the input. The combination of communication volume and load balancing issues makes expert parallelism significantly harder to implement across nodes compared to standard data parallelism.

    3. Parameter Management for Multimodal Fusion

    The model includes a visual encoder (vision tower) and a language backbone, connected by a cross-modal projection module. The visual branch usually has a smaller parameter count but massive activation values (high-resolution image feature maps), while the language backbone carries massive parameters. The memory footprint characteristics of these two types of modules are entirely different, requiring differentiated sharding and offloading strategies.

    3. Trimmed Configuration: A Pragmatic Verification Methodology

    Facing a complete 2.8 trillion-parameter model, running full-scale pre-training directly is neither economical nor necessary. This verification adopted a “structural fidelity, scale trimming” strategy, a methodology worth referencing:

    • Language Backbone: Truncated to 13 layers, retaining the MoE structure with 16 routing experts and Top-8 activation.
    • Vision Tower: Fully retained all 27 layers to ensure the authenticity of the multimodal pipeline.
    • Cross-modal Projection Module: Fully retained to verify the image-text feature alignment path.
    • Data: Used an image-text QA dataset with random initialization for training.

    The core idea of this trimming approach is to retain all “structural elements” that pose challenges to the training pipeline and only reduce the number of repeated layers to control the scale. MoE routing, sparse attention, and cross-modal projection—the components most prone to issues—are all included in the verification scope. Conversely, testing only a single layer or a simple MLP, even if passed, cannot represent a real training scenario.

    4. Key Implementations of the Distributed Training Stack

    4.1 Operator Layer: Completing Forward and Gradient Implementations

    The first step in adaptation is operator completeness. Operators related to mixed attention and MoE (routing, expert computation, All-to-All communication fusion operators, etc.) may not have ready-made implementations in general frameworks. Vendors need to complete the forward computation and backward gradient derivation within their own software stacks and ensure numerical consistency. This usually requires writing custom kernels and optimizing them for the memory bandwidth and compute unit characteristics of the GPU architecture.

    4.2 Memory Layer: FSDP2 Full Sharding

    Training utilizes FSDP2 (the second-generation implementation of Fully Sharded Data Parallel) to shard parameters, gradients, and optimizer states. Its principle can be expressed in simplified pseudocode:

    1. # FSDP core concept illustration
    2. Parameter sharding: Each Rank only keeps a 1/N copy of parameters
    3. Forward pass: AllGather to fetch full parameters -> compute -> release non-local shards
    4. Backward pass: AllGather again -> compute gradients -> ReduceScatter gradient shards

    Compared to traditional data parallelism, FSDP compresses memory usage from “full parameters + full gradients + full optimizer states” to approximately 1/N (where N is the number of GPUs in the sharding group), which is the key to fitting the trimmed model on 16 GPUs. In this verification, the peak memory usage was 44.80GiB, a controllable range, indicating that the sharding granularity and communication-computation overlap strategy were configured reasonably.

    4.3 Communication Layer: Cross-Node Collective Communication

    Cross-node communication is handled by the vendor’s self-developed collective communication library (analogous to the industry-standard NCCL role), responsible for AllGather, ReduceScatter, and the MoE-specific All-to-All communication. In a dual-node configuration, cross-node bandwidth is much lower than intra-node NVLink-like interconnects. Communication tuning (such as gradient bucketing and communication-computation overlap) directly determines training efficiency.

    5. Convergence Verification: Reading Between the Numbers

    The ultimate criterion for pipeline verification is loss behavior. The disclosed metrics include:

    Metric Initial Phase Later Phase
    Training Loss 8.9365 (avg. steps 21-70) 2.1802 (avg. last 50 steps)
    Validation Loss 6.5297 4.6873

    Several noteworthy details:

    1. Sliding window averages were used instead of single-point values to prevent random fluctuations from masking the trend, which is a standard engineering disclosure practice.
    2. Validation loss decreased in sync, ruling out the possibility of training loss dropping due to model overfitting or gradient anomalies.
    3. The visual branch participated in parameter updates, proving that the multimodal gradient pipeline is genuinely connected, rather than just the language backbone operating alone.

    Additionally, the concurrent disclosure of the loss curve and gradient check details provides a reference for reproducibility. From public disclosures, cases detailing such engineering specifics for trillion-parameter MoE multimodal models are relatively rare.

    6. Rational Perspective: The Distance from Pipeline Verification to Full-Scale Training

    It is important to recognize that this remains a functional verification under a trimmed configuration, with a significant gap separating it from full-scale pre-training:

    • Cluster Scale Expansion: Scaling from 16 GPUs to thousands or tens of thousands of GPUs causes All-to-All communication and synchronization overhead to grow super-linearly, accompanied by increased failure rates.
    • Long-Term Stability: Full-scale pre-training requires continuous operation for weeks. Fault tolerance and checkpoint resuming capabilities for hardware failures, numerical drift, and communication timeouts will face the real test.
    • Data and Training Strategies: Complete training involves data blending ratios, curriculum learning, and annealing strategies, which go beyond the scope of pipeline verification.

    From a market perspective, industry consulting firms predict that the shipment of high-end AI chips in the domestic market will maintain rapid growth, with the share of local solutions continuously rising. Against this backdrop, the disclosed 400-step continuous training and gradient check results provide a reproducible engineering benchmark for domestic GPUs on the training side. Whether they can cross the final distance from “verification” to “full-scale pre-training” still depends on the continuous refinement of cluster scaling and long-term stability—but the direction is clear: every piece of the domestic training ecosystem puzzle is being rapidly put into place.