Chinese GPUs Validate Training Pipeline for a 2.8T-Parameter Multimodal MoE Model

    A validation project adapted a 2.8-trillion-parameter native multimodal MoE model to Chinese GPUs and ran 400 continuous training steps on a two-node, 16-GPU configuration without numerical overflow or abnormal interruption. This article examines the engineering challenges behind that result: irregular memory access from dynamic sparse attention, communication pressure from expert routing, full updates to the visual branch, training-grade operator completion, fully sharded data parallelism, cross-node collective communication, and numerical stability monitoring. It also explains what the run proves, what it does not prove, and what remains before full-scale training.

    Introduction

    As model scale moves from tens of billions of parameters to trillions, the central bottleneck in a training system is no longer “how large a model a single GPU can run,” but “whether a multi-GPU cluster can stably support the complete training pipeline.” The validation discussed here is a Chinese-GPU adaptation practice for a 2.8-trillion-parameter MoE-based native multimodal model: in a two-node, 16-GPU configuration, it completed 400 continuous training steps without numerical overflow or abnormal interruption. The significance of this validation is not a single-GPU performance number, but the systematic validation of the distributed training pipeline.

    1. Model Characteristics and Training Challenges

    1.1 Irregular Memory Access from Dynamic Sparse Attention

    Very large multimodal models commonly introduce dynamic sparse attention to reduce computation in long-sequence scenarios. Unlike dense attention, dynamic sparse attention does not compute all historical tokens with equal weight; it dynamically selects a subset of tokens to participate in attention based on content relevance. This mechanism can significantly reduce computation during inference, but it introduces more engineering challenges during training:

    • Attention masks do not have fixed shapes, resulting in dynamic indexing and variable-length computation inside operators.
    • Memory access is highly irregular, making it difficult to simply reuse fixed-size memory buffers.
    • During backpropagation, the selected token paths must be saved or recomputed, placing higher demands on automatic differentiation and gradient implementations.
    • If the sparse selection logic does not match the parallel partitioning strategy, it can easily cause load imbalance across devices.

    Therefore, adapting dynamic sparse attention is not merely a matter of “being able to compute.” It requires a complete closed loop across the forward pass, backward pass, gradient aggregation, and memory management.

    1.2 Expert Routing Amplifies Communication Pressure

    The MoE architecture routes different tokens to different expert subnetworks, keeping the total parameter count large while reducing the computation actually activated per token. In distributed training, however, this sparse activation amplifies communication pressure.

    Consider a configuration with 16 routed experts and Top-8 activation per token. Each token must be computed by eight experts at the same time. If experts are distributed across multiple GPUs or machines, training must complete high-throughput “dispatch–compute–return” communication. This is not simple global reduction; it is collective communication with clear dynamic characteristics: each token selects different experts, and message volumes on different devices may also differ.

    In cross-node scenarios, expert routing also consumes valuable inter-node bandwidth. If collective communication is not efficient enough, or if communication is not overlapped with computation, training speed will be severely slowed by communication time. If message sizes, index ordering, and receive buffer management are inconsistent, deadlocks or data corruption may even occur.

    1.3 Full-Pipeline Updates for the Multimodal Vision Branch

    This model is natively multimodal, not merely a text model with an external vision interface attached. The validation configuration retained the complete vision tower and cross-modal projection module and allowed the vision branch to participate in parameter updates. This means gradients must flow from the cross-modal loss all the way back to the vision tower, then accumulate together with gradients from the text branch and expert routing.

    If the vision tower were frozen, only the text backbone and MoE portion could be validated. With the vision branch participating in updates, the validation can test whether a more complete training pipeline is closed. At the same time, vision tokens lengthen the effective sequence length. Combined with the memory overhead of dynamic sparse attention, this further tests memory management and operator implementations.

    2. Truncated Configuration: Validating the Pipeline, Not the Final Model

    This validation did not directly perform full-scale pretraining of the 2.8-trillion-parameter model. Instead, it validated the training pipeline under a truncated configuration. A truncated configuration keeps the model’s core structure unchanged while reducing certain scales to fit existing compute resources:

    • The language backbone was truncated to 13 layers.
    • The number of experts was set to 16 routed experts, with Top-8 activation per token.
    • The complete 27-layer vision tower and cross-modal projection module were retained.
    • A medical image-text question-answering dataset was used, and the model was trained from random initialization.

    This truncated configuration follows a typical “smoke test” approach. It does not pursue model quality; instead, it validates the following key questions at lower cost:

    • Whether the model definition can complete forward and backward computation on GPUs.
    • Whether dynamic sparse attention and MoE operators have complete, usable gradient implementations.
    • Whether the sharding of parameters, gradients, and optimizer states is consistent.
    • Whether cross-node communication is stable and whether deadlocks, packet loss, or abnormal interruptions occur.
    • Whether the loss curve decreases normally, gradient checks pass, and numerical overflow occurs.

    The results show that training loss converged from an average of 8.9365 over steps 21–70 to an average of 2.1802 over the final 50 steps. Validation loss dropped from 6.5297 to 4.6873. Peak memory was approximately 44.80 GiB, and the training process completed 400 continuous steps without numerical overflow or abnormal interruption. These data indicate that, at least under the truncated configuration, the Chinese-GPU training pipeline already has basic usability.

    3. Key Engineering Steps in Training-Pipeline Validation

    3.1 Completing Operators: From Inference-Ready to Training-Ready

    For a GPU, supporting model inference does not mean supporting model training. Training requires additional backward operators, gradient aggregation logic, numerical protection under mixed precision, and memory management for dynamic shapes. For hybrid attention and MoE structures, the required work includes not only standard matrix multiplication and convolution, but also dynamic selection, grouped computation, backward scatter, gradient merging, and other stages.

    Take expert routing as an example. Its core computation path can be abstracted as follows:

    1. # Pseudocode: expert routing and collective communication
    2. tokens = token representations in the current batch
    3. expert_ids = router(tokens) # Each token selects Top-8 experts
    4. dispatch = all_to_all(tokens, expert_ids) # Send tokens to devices hosting the selected experts
    5. expert_output = grouped_mlp(dispatch) # Each expert computes only the tokens assigned to it
    6. combined = all_to_all(expert_output) # Collect and merge expert outputs

    This flow appears simple, but in distributed training the data volume, index tables, and buffer sizes of all_to_all can change at every step. If communication primitives are not optimized for dynamic MoE scenarios, they can easily become a training bottleneck.

    3.2 Fully Sharded Data Parallelism: Addressing the Memory Wall

    For a model at the 2.8-trillion-parameter level, even after scaling down under a truncated configuration, the complete training state cannot be held by a single GPU. In actual training, parameters, gradients, and optimizer states must be sharded across multiple GPUs so that each device stores only a local slice; when computation requires it, the necessary data is obtained through collective communication.

    The core value of this fully sharded data parallelism strategy is that memory usage decreases approximately linearly with the number of devices. For MoE models, expert parallelism must also be handled: different experts can be placed on different devices, and routing sends tokens only to the device hosting the selected expert. This reduces the storage pressure of expert weights and distributes expert computation across more GPUs.

    The difficulty of the sharding strategy is that parameters, gradients, and optimizer states must maintain the same sharding granularity. If the partitioning granularity is inconsistent, parameter updates will frequently trigger extra communication and may even cause state mismatches.

    3.3 Cross-Node Collective Communication and Communication-Computation Overlap

    A two-node, 16-GPU configuration means the training pipeline must cross node boundaries. Inter-node communication bandwidth is usually lower than intra-node bandwidth, making cross-node communication optimization especially important.

    Common optimization directions include:

    • Combining small messages into larger messages to reduce communication frequency.
    • Topology-aware scheduling for operations such as all-to-all and all-reduce.
    • Chunking communication and overlapping it with computation so GPUs can continue computing while transferring data.
    • Sorting and compressing MoE routing tables to reduce invalid transfers.
    • Reducing small, frequent, scattered communication for dynamic sparse attention.

    The fact that this validation completed 400 continuous steps shows that cross-node communication basically avoided basic problems such as deadlocks, data misalignment, and abnormal interruptions. However, there is still a gap to the throughput required for large-scale training, and communication-computation overlap efficiency needs further optimization.

    3.4 Numerical Stability and Training Observability

    In mixed-precision training, sparse MoE activation can easily cause some experts to receive only a small number of tokens, leading to large gradient fluctuations. Dynamic sparse attention may also produce abnormal values under boundary conditions. Therefore, the following must be continuously monitored during training:

    • Whether loss values contain NaN or Inf.
    • Whether gradient norms increase abnormally or remain zero.
    • Whether numerical overflow checks are triggered.
    • Whether the number of tokens received by each expert is severely imbalanced.
    • Whether peak memory is close to the device limit.

    This validation disclosed the loss curve, gradient checks, and peak memory, indicating that the training observability system can already trace problems. This is important for the Chinese GPU ecosystem: only when problems can be observed and located can training stability be continuously improved.

    4. How Far from Pipeline Validation to Full-Scale Training?

    This validation is not equivalent to complete full-scale pretraining. Four hundred training steps can prove that “the pipeline can run,” but cannot prove that “large-scale training can run well.” Moving from a truncated configuration to full scale still requires solving the following issues:

    • Expanding the 13-layer language backbone to the full network depth will multiply memory usage and communication volume.
    • Expanding from two nodes and 16 GPUs to a larger cluster requires revalidating communication topology, load balancing, and fault recovery.
    • Moving from random-initialization training to massive real data places higher demands on data loading, preprocessing, and training throughput.
    • A loss decrease over 400 steps is not enough to prove convergence quality; longer training cycles and more evaluation metrics are needed.
    • In full-scale training, the probability of hardware failures increases significantly, and reliable checkpoint-resume capability must be established.

    Therefore, the accurate value of this validation is that it demonstrates that Chinese GPUs already have the basic software capability to support training of trillion-scale MoE multimodal models. True large-model production training still needs to move from “pipeline usable” to “scale usable” and “stable and usable over the long term.”

    5. Long-Term Direction for Chinese Compute Adaptation

    From an industry perspective, the adaptation of Chinese GPUs to large models is expanding from single-model inference adaptation to deeper scenarios such as multimodal pretraining, reinforcement learning, and thousand-GPU to ten-thousand-GPU cluster training. Public information shows that many Chinese compute platforms have completed adaptation for hundreds of mainstream models, covering the vast majority of non-closed-source models. Some vendors’ full-stack domestic clusters have also reported nearly 97% effective training rates in important model version training. By comparison, this validation discloses more engineering details, such as loss curves, gradient states, and peak memory, which provides practical reference value for developers seeking to understand the Chinese-GPU training pipeline.

    The real watershed for Chinese GPU adaptation is not “running training once,” but turning the distributed training pipeline into replicable, observable, and scalable engineering capability. This validation is a positive signal, but further investment is still needed in full-scale training, long-term stability, cluster scalability, and training efficiency. Only in this way can Chinese GPUs truly enter the main battlefield of ultra-large-scale multimodal model training.