Validating Trillion-Parameter MoE Multimodal Training on Chinese Domestic GPUs: Technical Challenges and Engineering Breakthroughs

    This article explores the recent validation of a 2.8-trillion-parameter Mixture-of-Experts (MoE) multimodal training pipeline on Chinese domestic GPUs. It delves into the core engineering challenges, including dynamic sparse attention, expert routing communication overhead, and operator completeness. By utilizing FSDP2 and model pruning strategies, the validation achieved stable convergence over 400 continuous training steps without numerical overflow. The article further analyzes the significance of these results for the domestic AI ecosystem and offers engineering recommendations for scaling up to larger clusters.

    I. Trillion-Scale Multimodal Model Training: A Systemic Engineering Challenge

    As model parameter scales move from hundreds of billions to trillions, training complexity extends far beyond mere computing power stacking. Using a 2.8-trillion-parameter native multimodal model with an MoE (Mixture of Experts) architecture as an example, the training pipeline simultaneously faces three major challenges: the irregular compute patterns introduced by dynamic sparse attention, the dynamic communication shifts caused by expert routing mechanisms, and the heterogeneous compute demands of multimodal fusion modules. These characteristics set a much higher bar for memory management, multi-GPU communication efficiency, and operator implementation completeness on underlying GPU clusters compared to dense models.

    Current validation results show that Chinese domestic GPUs have successfully completed the full training pipeline under a pruned configuration—running 400 continuous training steps without numerical overflow or abnormal interruptions, with the loss function showing a steady downward trend. This achievement not only verifies that a single model can run, but also proves that the domestic AI computing stack has reached engineering-level usability in core areas like distributed parallelism, mixed-precision training, and gradient synchronization.

    II. Breaking Down Key Engineering Steps in Distributed Training

    2.1 Parameter Sharding and Memory Optimization: Applying FSDP

    In trillion-parameter model training, memory management is the primary bottleneck. Estimating at a 2.8-trillion-parameter scale, even using BF16 mixed precision, a single copy of model weights consumes over 5.6TB of memory, far exceeding any single-GPU capacity. Engineering typically employs the FSDP (Fully Sharded Data Parallel) strategy to shard parameters, gradients, and optimizer states across the data parallel group.

    The FSDP2 implementation used in this validation manages parameters, gradients, and optimizer states as independent shards, offering finer-grained memory scheduling compared to traditional ZeRO stage strategies. Its core advantages include:

    • Layer-wise release and prefetching: After completing the forward pass for a layer, its parameter memory can be released, and the required weights can be prefetched before the backward pass.
    • Communication-computation overlap: Gradient aggregation communication can execute synchronously with the backward computation of the next layer, effectively masking communication latency.

    From actual results, a peak memory usage of 44.80GiB demonstrates that carrying MoE model training within a 16-GPU range using a pruned configuration is entirely feasible.

    2.2 Communication Bottlenecks: Routing Synchronization Overhead in MoE Architectures

    The communication pattern of MoE models differs fundamentally from dense models: each token is routed through a gating network to Top-k experts, making All-to-All communication the core bottleneck. When the model is configured with 16 routing experts and Top-8 activation, each layer’s computation requires cross-device token dispatch and result collection, with communication volume growing almost linearly with the number of experts.

    The domestic GPU communication stack withstood the test of high-frequency routing synchronization during this validation. The 400-step training process saw no communication timeouts or data corruption, indicating that the underlying communication library has reached a baseline usable state in multi-node topology awareness, message aggregation strategies, and fault retransmission mechanisms. However, it is worth noting that cross-node communication bandwidth and latency remain core constraints for future large-scale expansion—when scaling from 8 GPUs to a 1,000-GPU cluster, the proportion of communication will grow geometrically.

    2.3 Operator Completeness: From “Running” to “Running Stably”

    The forward and backward implementations of dynamic sparse attention and MoE routing operators constituted the bulk of the engineering effort in this adaptation. Unlike dense matrix multiplication, sparse attention involves constructing and merging block-sparse indices, and the backward pass requires reconstructing the sparse gradient structure accordingly. The MoE component requires handling sharded updates and full gathering of expert weights.

    While specific gradient checking details are not fully public, the statement “no numerical overflow occurred” implies key information: under mixed-precision training, gradient scaling strategies, loss function stability, and precision preservation during reduction operations have all been effectively managed at the engineering level.

    III. The Methodological Value of Pruned Validation

    3.1 Why Choose a Pruned Configuration?

    Fully pre-training a 2.8-trillion-parameter model requires immense computing power and cost. This validation adopted a model pruning strategy—truncating the language backbone to 13 layers while retaining the full 27-layer vision tower and cross-modal projection module, and performing random initialization training on the MedPix-VQA image-text dataset. This choice essentially seeks an optimal balance between “validation sufficiency” and “resource feasibility.”

    From a validation perspective, simplifying the language layers does not affect the complete validation of the MoE routing mechanism; retaining the full vision tower ensures that the gradient backpropagation path and numerical stability of the cross-modal alignment module are thoroughly tested. This on-demand pruning validation methodology serves as a valuable reference for future domestic chip adaptation efforts.

    3.2 Engineering Interpretation of the Loss Curve

    The disclosed loss data holds significant reference value:

    • Training loss converged from 8.9365 (average of steps 21-70) to 2.1802 (average of the last 50 steps).
    • Validation set loss decreased from 6.5297 to 4.6873.

    Both show a continuous downward trend without obvious divergence, indicating that the model entered a normal gradient descent channel after random initialization. The synchronous narrowing of training and validation losses basically rules out the risks of overfitting or excessive gradient noise. For a short 400-step validation run, this convergence curve is highly convincing.

    IV. Industry Landscape: The Accelerated Evolution of the Domestic AI Computing Ecosystem

    Observing this validation within the broader industry context reveals a clear technological evolution trajectory: Chinese domestic AI chips are crossing the critical threshold from “usable” to “highly effective.”

    Based on various industry disclosures:

    • Cloud vendors have already completed multimodal pre-training and reinforcement learning tasks on 1,000-GPU clusters, aligning accuracy with mainstream international solutions.
    • Adaptation for mainstream open-source model families has covered over 400 models, achieving over 99% coverage.
    • Fully self-developed computing clusters have achieved a 97% effective training rate in training industry-specific large models.

    These advancements point to a core conclusion: domestic GPUs are no longer just a “fallback option” but are becoming a practical choice in large model training infrastructure. However, true large-scale pre-training (10,000-GPU scale, month-long cycles) remains the ultimate test of hardware reliability, cluster operations, and parallel efficiency. This validation has not yet reached that stage, and future progress warrants long-term observation.

    V. Trend Outlook and Engineering Recommendations

    According to forecasts from industry research institutions, the shipment of high-end AI chips in the Chinese market is expected to reach about 5 million units in 2026, a year-on-year increase of 83%. This data reflects several definitive trends:

    1. Multimodal and MoE will become mainstream model architectures: Native multimodal design places higher demands on GPU memory capacity and memory bandwidth, making the maturation of the HBM ecosystem a key focus for future hardware iterations.
    2. Cluster scale moving toward 10,000 GPUs: Alongside single-GPU performance improvements, interconnect technology and collective communication library optimization will become new competitive focuses.
    3. Domestic substitution moving from single-point breakthroughs to full-stack maturity: Collaborative optimization of hardware, communication libraries, framework adaptation, and operator libraries will become the norm.

    For developers currently evaluating domestic GPU solutions, the following recommendations are worth considering:

    • Prioritize validating communication-intensive scenarios: Communication-sensitive components like MoE routing and long-sequence attention best expose hardware shortcomings.
    • Focus on long-term training stability: Short-term functional validation cannot fully reflect true training stability; continuous stress testing is crucial.
    • Engage in ecosystem building early: Actively participating in operator adaptation and performance tuning can effectively shorten the productization cycle.

    Achieving autonomous and controllable infrastructure for large model training requires starting from every line of code and every gradient synchronization. The significance of this training pipeline validation lies not just in running a model, but in verifying that every link in the chain possesses the potential for large-scale deployment.