Validating a Domestic GPU Training Pipeline for Trillion-Parameter MoE Multimodal Models

    An engineering validation demonstrated that a domestic GPU platform could run a native multimodal Mixture-of-Experts model with 2.8 trillion parameters. Using a two-node, 16-GPU setup, the system completed 400 consecutive training steps without numerical overflow or abnormal interruption. The test covered operator implementation, memory sharding, cross-node communication, multimodal gradient propagation, and convergence behavior, while also highlighting the remaining gap between pipeline validation and full-scale pretraining.

    Engineering Validation of a Trillion-Parameter MoE Multimodal Training Pipeline on Domestic GPUs

    1. From Inference Adaptation to End-to-End Training Validation

    In recent years, efforts to adapt domestic GPUs to large models have advanced rapidly. Early work focused primarily on inference, including model quantization, deployment, inference-engine compatibility, and operator-level numerical alignment. Although these tasks are complex, they generally impose more limited requirements on interconnect bandwidth, memory capacity, and long-duration stability.

    Training adaptation is considerably more demanding. A complete pretraining run may continue for weeks or months and involve hundreds or even thousands of accelerators working together. Any numerical deviation, communication failure, or out-of-memory error can interrupt training and potentially invalidate the entire run.

    A recent engineering validation has attracted industry attention. In its own laboratory, a domestic GPU vendor adapted the full training pipeline for a native multimodal Mixture-of-Experts (MoE) model with 2.8 trillion parameters. 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 the scale of the test than in what it validates: the end-to-end feasibility of using a domestic computing platform to train models built on some of the most advanced architectures currently in use.

    Across the industry, collaboration between domestic chip manufacturers and large-model developers is also accelerating. Multiple vendors have reported progress in multimodal pretraining and reinforcement learning on clusters with thousands of GPUs, training adaptations for major open-source model families, and important training runs on fully domestic clusters. Some solutions have reported effective training rates above 97%, while supporting hundreds of model variants.

    Against this backdrop, the distinctive value of this validation is the granularity of the disclosed engineering data. Details such as the number of consecutive training steps, loss curves, and gradient checks provide a concrete reference point for reproducibility.

    2. Technical Challenges: Three Demands Created by MoE Multimodal Architectures

    To understand the significance of the validation, it is necessary to examine the target model’s architecture. A 2.8-trillion-parameter MoE multimodal model presents three major challenges for the training system.

    The first challenge is dynamic sparse attention. Unlike conventional dense attention, hybrid attention mechanisms dynamically select the sequence segments that need to be processed during computation. This creates irregular memory-access patterns and requires specialized operator implementations to maintain efficiency. Otherwise, the memory-access overhead can eliminate the theoretical benefits of sparsity.

    The second challenge is expert routing. MoE models use a gating network to route each token to a subset of expert subnetworks. This naturally introduces load imbalance across devices: popular experts receive more tokens, increasing the computational and memory pressure on the devices hosting them.

    In a distributed environment, experts are typically partitioned across multiple GPUs. Moving tokens between GPUs—an operation commonly implemented through All-to-All communication—becomes highly communication-intensive. This places demanding requirements on both multi-GPU interconnect bandwidth and the stability of the communication library.

    The third challenge is heterogeneous multimodal computation. The vision encoder, cross-modal projection layer, and language backbone have substantially different computational characteristics. The vision component performs dense convolutional or attention-based computation, while the language component uses sparsely activated expert computation.

    These workloads impose different requirements on memory management and scheduling. The training framework must coordinate the forward and backward passes of heterogeneous modules while maintaining a consistent execution pipeline.

    3. Validation Configuration and Training Data: Reduced but Representative

    It is important to clarify that this validation used a reduced configuration rather than the complete model. The language backbone was limited to 13 layers with 16 routed experts, of which the top eight were activated. The 27-layer vision tower and the cross-modal projection module were retained in full.

    Training used a medical image question-answering dataset containing paired image-and-text data, with the model initialized randomly.

    This reduction was a reasonable engineering choice. The primary objectives were to establish the training pipeline, verify numerical correctness, and examine convergence trends—not to produce usable model weights.

    Retaining the complete vision branch was particularly important. It preserved the full cross-modal gradient path and ensured that the vision parameters actually participated in updates. This indicates that backpropagation was connected end to end across the multimodal pipeline.

    The training results showed a healthy convergence pattern:

    • The training loss declined from an early-stage average of 8.9365 to 2.1802 in the final stage.
    • Validation loss decreased from 6.5297 to 4.6873.
    • Training and validation loss declined together without signs of divergence.
    • Peak memory usage was controlled at 44.80 GiB, remaining within a reasonable range for the memory capacity of a single GPU.

    Although these figures came from a reduced-scale configuration, the smooth loss curves and consistent downward trend are important indicators that the training pipeline was functioning correctly.

    4. Engineering Implementation: Operators, Sharding, and Communication

    The main engineering effort was not focused on peak single-GPU performance. Instead, it involved establishing a complete distributed training pipeline across multiple system layers.

    Operator layer: complete forward and backward implementations. For the hybrid attention and MoE operators, the engineering team implemented the full set of forward computations and backward gradients.

    This is a key distinction between training adaptation and inference adaptation. Inference requires only forward execution. Training requires every operator to provide numerically accurate gradients and to integrate correctly with the automatic differentiation framework.

    Memory layer: sharding parameters, gradients, and optimizer states. Using a Fully Sharded Data Parallel (FSDP)-type approach, model parameters, gradients, and optimizer states were partitioned across devices. The system gathered data as needed for computation and released it afterward, significantly reducing per-GPU memory consumption.

    This capability is fundamental to running large models on a limited number of GPUs. The measured peak memory usage of 44.80 GiB provides direct evidence that the sharding strategy was effective.

    Communication layer: cross-node collective communication. With two nodes and 16 GPUs, gradient synchronization, parameter aggregation, and expert token exchange all depend on communication across nodes. These operations were handled by a vendor-developed collective communication library.

    In MoE workloads, All-to-All communication occurs more frequently and transfers more data than in conventional dense models. The communication library’s ability to overlap communication with computation therefore has a direct impact on training throughput.

    A typical MoE training step can be represented as follows:

    1. Input data → Vision encoding → Cross-modal projection → Language backbone
    2. → Gating and routing (cross-GPU All-to-All token dispatch)
    3. → Expert computation → All-to-All token collection → Loss calculation
    4. → Backpropagation (sharded gradient aggregation) → Optimizer update

    5. A Realistic Assessment: Pipeline Validation Is Not Full-Scale Training

    The result should be understood as a training pipeline validation, not as a complete pretraining run.

    Several major barriers remain between the reduced configuration and full-scale training of a trillion-parameter model.

    The first is cluster-scale expansion. Scaling from 16 GPUs to thousands or tens of thousands of GPUs introduces nonlinear increases in the complexity of network topology, failure handling, and checkpoint recovery. The ability of the system to recover automatically from hardware failures during long-running jobs will be a critical test.

    The second is long-term stability. Completing 400 consecutive steps demonstrates short-term correctness. Running continuously for several weeks places very different demands on drivers, communication libraries, and memory-fragmentation management.

    The third is numerical alignment. The platform must ultimately be compared with mainstream international platforms using the same data and configuration. This is necessary to verify equivalence at the numerical level, including the behavior of the loss curves.

    Industry trends indicate that shipments of high-end AI chips in China are growing rapidly, with domestic solutions continuing to increase their share. In this environment, every reproducible training-pipeline validation adds another piece to the maturity of the domestic AI computing ecosystem.

    The real milestone will be a fully reproducible pretraining run of a complete trillion-parameter model on a domestic GPU cluster. The 400-step engineering validation is not that milestone, but it represents a substantive step toward it.