国产 GPU 打通万亿级 MoE 多模态训练链路

    A recent validation on domestic GPUs completed 400 consecutive training steps for a reduced configuration of a 2.8-trillion-parameter MoE multimodal model across two nodes and 16 GPUs, with no numerical overflow or abnormal interruption. The result demonstrates that the distributed training pipeline—from operators and sharding to multimodal gradient flow and cross-node communication—can operate as an integrated system, while also highlighting the gap between pipeline validation and full-scale pretraining.

    Why Trillion-Parameter MoE Multimodal Training Is Difficult

    Validating a large-model training pipeline is not simply a matter of getting the model to run. At the trillion-parameter scale, MoE multimodal models place simultaneous pressure on parameter capacity, sparse activation, heterogeneous modalities, distributed communication, and numerical stability.

    Publicly available information indicates that a domestic GPU laboratory recently completed a training-pipeline validation for a reduced configuration of a 2.8-trillion-parameter MoE native multimodal model. Using two nodes with 16 GPUs, the system completed 400 consecutive training steps without numerical overflow or abnormal interruption. The significance of this result lies less in peak single-GPU performance than in the systematic integration of the distributed training pipeline.

    MoE models use expert routing to assign different tokens to different experts. In theory, sparse activation reduces the computation required for each token. In practice, it introduces challenges such as uneven expert utilization, cross-GPU All-to-All communication, routing instability, and memory fragmentation.

    Multimodal models add further requirements. The vision tower, cross-modal projection module, and language backbone must remain aligned in terms of tensor shapes, numerical precision, and gradient synchronization. Dynamic sparse attention makes the computation graph even more complex, causing communication patterns in the forward and backward passes to become less predictable.

    For domestic GPUs, the core question is whether the platform can provide complete forward and backward implementations for hybrid attention and MoE operators, and whether sharded parallelism can work reliably with cross-node communication. These capabilities are central to validating the entire training pipeline.

    Validation Configuration and Results: Reduced Scale, Complete Pipeline

    The validation used a reduced configuration. The language backbone was truncated to 13 layers and included 16 routed experts with Top-8 activation. The complete 27-layer vision tower and the cross-modal projection module were retained. Training used a publicly available image-text question-answering dataset with random initialization.

    It is important to distinguish a reduced configuration from full-scale pretraining. This test was designed to verify whether the training functions, loss behavior, gradient checks, and communication paths could form a complete loop.

    The key publicly disclosed results were:

    • Training loss decreased from 8.9365, averaged over steps 21–70, to 2.1802, averaged over the final 50 steps.
    • Validation loss decreased from 6.5297 to 4.6873.
    • Peak memory usage was 44.80 GiB.
    • The system completed 400 consecutive steps without numerical overflow or abnormal interruption.
    • The vision branch participated in parameter updates, indicating that the multimodal gradient path was connected.

    These figures should be interpreted in the context of pipeline validation. The reduction in training loss indicates that the optimizer, backward propagation, sharding management, and communication paths were able to operate together. The peak memory figure suggests that, at this reduced scale, the memory consumed by parameters, gradients, optimizer states, and intermediate activations remained manageable. Completing 400 steps without interruption also indicates that the numerical-stability and error-detection mechanisms were functioning effectively.

    However, these results do not directly demonstrate the training efficiency of a complete 2.8-trillion-parameter model at full scale.

    Breaking Down the Engineering Pipeline: Operators, Sharding, and Communication

    The primary objective of this adaptation was not peak single-GPU performance, but the systematic integration of the distributed training pipeline. It can be examined in three layers.

    1. Completing the Required Operators

    Hybrid attention and MoE routing require complete forward and gradient implementations. Important details include gradient propagation through expert routing, numerical stability during Top-K selection, and precision alignment in cross-modal projection.

    If an operator supports inference but not training, or if its backward implementation is incomplete, the loss curve may become abnormal at an early stage.

    2. Managing Sharded States

    Sharded data-parallel strategies can partition parameters, gradients, and optimizer states, reducing memory pressure on individual GPUs. However, sharding also introduces engineering challenges, including synchronization between shards, recomputation policies, and checkpoint saving and recovery.

    Developers should evaluate “whether sharding is supported” separately from “whether training remains stable after sharding is enabled.”

    3. Handling Cross-Node Communication

    MoE expert routing triggers dynamic All-to-All communication. The cross-node communication layer must handle message aggregation, congestion control, and failure detection.

    The following generic pseudocode illustrates the key stages that should be monitored during pipeline validation:

    1. cfg = {
    2. "language_layers": 13,
    3. "vision_layers": 27,
    4. "experts": 16,
    5. "top_k": 8,
    6. "precision": "mixed",
    7. "shard": ["param", "grad", "optimizer_state"],
    8. "comm": "hierarchical_all_to_all"
    9. }
    10. for step in range(400):
    11. batch = next(loader)
    12. with mixed_precision():
    13. logits = model(batch)
    14. loss = loss_fn(logits, batch.labels)
    15. loss.backward()
    16. grad_norm = clip_and_check(model)
    17. if not finite(loss) or not finite(grad_norm):
    18. raise NumericalError(step)
    19. optimizer_step_sharded(model)
    20. log(step, loss, val_loss_every=50)

    The pseudocode emphasizes three aspects: checking the finiteness of losses and gradients under mixed precision, executing a sharded optimizer step, and monitoring training and validation loss over a fixed number of steps.

    In a production implementation, validation should also include expert-load statistics, communication-time breakdowns, peak-memory sampling, and checkpoint recovery tests.

    What Remains Between a 400-Step Test and Full-Scale Pretraining?

    Completing 400 consecutive training steps is an important milestone, but full-scale pretraining must still address communication bottlenecks, data throughput, fault tolerance, and cost at larger scale.

    As the system grows, the volume of MoE All-to-All messages, pressure on cross-node bandwidth, expert-load imbalance, and long-tail latency can all increase. The throughput of multimodal data pipelines and preprocessing may also become a bottleneck.

    Full-scale training requires more comprehensive checkpointing, fault recovery, slow-node detection, and effective-training-rate monitoring.

    Public industry information also indicates that the adaptation of domestic AI chips to large models is accelerating. Some accelerator vendors have disclosed support for more than 400 mainstream large models, covering 99% of non-closed-source models. Cloud providers have reported that fully domestic clusters completed important training workloads with an effective training rate of 97%. Multiple chip companies are also expanding from single-machine adaptation toward thousand-GPU and ten-thousand-GPU cluster scenarios.

    In addition, a market research institution has forecast that high-end AI chip shipments in China could reach approximately 5 million units in 2026, representing year-over-year growth of 83%, with local solutions approaching a 90% share, including cloud providers’ internally developed ASICs.

    These signals suggest that competition is moving beyond “single-GPU usability.” The focus is shifting toward cluster-level pipeline reliability, training observability, and acceptable effective training rates.

    Practical Recommendations for Developers

    First, validate the pipeline before peak performance. When evaluating domestic computing hardware, do not focus only on single-GPU performance metrics. First verify that forward propagation, backward propagation, optimizer steps, cross-node communication, and checkpoint recovery can operate as a complete loop.

    Second, establish numerical baselines. Fix random seeds, record loss and gradient norms, enable overflow detection, and maintain logs for abnormal interruptions. These measures make it easier to identify problems in operators or communication layers.

    Third, scale in stages. Start with a reduced configuration and complete a 400-step validation. Then gradually increase the number of language layers, experts, and GPUs. At every stage, preserve baseline measurements for validation loss and peak memory usage.

    Fourth, monitor effective training rate. In full-scale training, fault recovery and slow nodes can significantly reduce actual throughput. Effective training rate should therefore be included as an acceptance criterion.

    Overall, this validation indicates that domestic GPUs have demonstrated the engineering capability to connect the training pipeline for trillion-parameter MoE multimodal models. However, a clear boundary remains between validating the pipeline and conducting complete full-scale pretraining.

    For developers, the most valuable evidence is not an isolated promotional number. It is a reproducible configuration, an observable loss curve, traceable gradient checks, and a distributed communication design that can scale.