Validating a Trillion-Parameter MoE Multimodal Training Pipeline on Domestic Chinese GPUs

    This article examines the engineering challenges of training a 2.8-trillion-parameter MoE multimodal model, and describes how a Chinese GPU vendor validated the full training pipeline on a 2-node, 16-GPU setup for 400 consecutive steps. It covers communication and memory challenges in MoE training, FSDP-based parameter sharding, loss convergence results, the broader state of domestic AI chip adaptation in China, and the remaining gaps between pipeline validation and full-scale pretraining.

    I. Engineering Challenges of Trillion-Parameter MoE Multimodal Training

    In recent years, large model architectures have been evolving from traditional dense models toward Mixture-of-Experts (MoE) designs. Take a 2.8-trillion-parameter natively multimodal large model as an example: its core features include a dynamic sparse attention mechanism and an expert routing network. While this architecture improves model capability, it also imposes demanding engineering challenges on the underlying compute infrastructure.

    The first challenge is multi-GPU communication pressure. In an MoE architecture, each token must be dynamically routed to the small subset of experts that best matches it. During distributed training, this requires intensive All-to-All communication between devices so that tokens can be gathered to the experts residing on different devices. If the underlying communication library delivers insufficient bandwidth utilization or the topology is poorly designed, communication latency will severely drag down overall training throughput.

    The second challenge is the complexity of memory management. Multimodal models typically consist of a language backbone, a vision tower, and cross-modal projection modules. The introduction of multimodal data means that the sparsity and distribution characteristics of parameter activations differ significantly across modalities, raising the bar for sharded management of optimizer states and peak memory control. If the memory allocation strategy is not sufficiently refined, out-of-memory (OOM) errors can easily occur during backpropagation or gradient updates.

    II. Engineering Practice: Validating the Training Pipeline on Domestic GPUs

    To address these challenges, a Chinese GPU vendor completed adaptation of the training pipeline for this 2.8-trillion-parameter MoE multimodal model in a lab environment, and ran 400 consecutive training steps on a 2-node, 16-GPU configuration. No numerical overflow or abnormal interruption occurred throughout the process, validating the stability of the underlying infrastructure.

    To focus on pipeline connectivity and functional verification, the test used a trimmed configuration. Specifically, 13 layers of the language backbone were retained, with 16 routed experts and a Top-8 activation strategy; the complete 27-layer vision tower and cross-modal projection modules were preserved. The experiment was conducted with randomly initialized training on the MedPix-VQA image-text dataset.

    At the implementation level, the core of this adaptation was not pushing single-GPU peak compute, but systematically connecting the distributed training pipeline end to end. The engineering team implemented forward computation and backward gradients for the hybrid attention and MoE operators, and used Fully Sharded Data Parallel (FSDP) to shard model parameters, gradients, and optimizer states. Cross-node data synchronization and communication were handled by the multi-GPU communication library, ensuring efficient coordination across the two nodes.

    The following illustrates parameter sharding logic based on the general FSDP mechanism:

    1. # Pseudocode: parameter management for an MoE model under Fully Sharded Data Parallel
    2. import torch.distributed as dist
    3. from torch.distributed.fsdp import FullyShardedDataParallel as FSDP
    4. def setup_model_fsdp(model, rank, world_size):
    5. # Shard the multimodal model containing the vision tower and MoE backbone
    6. if is_moe_layer(model):
    7. # Apply communication and sharding optimizations specific to MoE layers
    8. apply_moe_fsdp_strategy(model)
    9. # Shard parameters, gradients, and optimizer states across GPUs
    10. fsdp_model = FSDP(
    11. model,
    12. process_group=dist.group.WORLD,
    13. sharding_strategy=ShardingStrategy.FULL_SHARD,
    14. device_id=rank
    15. )
    16. return fsdp_model

    The validation results showed that training loss steadily converged from a mean of 8.9365 over steps 21–70 to a mean of 2.1802 over the final 50 steps, while validation loss dropped from 6.5297 to 4.6873. Throughout the run, peak memory usage was held at 44.80 GiB, and the vision branch participated normally in parameter updates. Judging from publicly disclosed engineering details, cases demonstrating this level of gradient checking and loss curves for trillion-parameter MoE multimodal models remain rare in the industry, providing a reproducible reference point for the correctness of training functionality and the reasonableness of loss trends.

    III. The State of Domestic Compute Adaptation and Ecosystem Progress

    From a broader industry perspective, the pace of adaptation between Chinese GPUs and large models continues to accelerate, with compute vendors intensively advancing training-side ecosystem building. According to publicly available industry information, several large model companies have used domestic thousand-GPU clusters to complete multimodal pretraining and reinforcement learning tasks, achieving accuracy parity with mainstream international products. Some vendors’ training-side adaptation has extended to thousand-GPU and even ten-thousand-GPU cluster scenarios, covering mainstream open-source large model families.

    Against this backdrop, the data Baidu released at its Create 2026 conference is particularly noteworthy: Baidu’s fully domestic Kunlunxin P800 cluster successfully completed training of a major version of ERNIE 5.1, achieving an effective training rate of 97%. This indicates that domestic compute has broken through not only at the “it runs” level, but is also demonstrating competitiveness in large-scale cluster training scenarios demanding high efficiency and high availability. According to market research forecasts, high-end AI chip shipments in the Chinese market are expected to reach about 5 million units in 2026, up 83% year over year, with domestic solutions (including cloud providers’ self-developed ASICs) expected to account for nearly 90% of the market. Domestic compute is gradually becoming important infrastructure supporting the evolution of large models.

    IV. From Pipeline Validation to Full-Scale Pretraining

    Although the continuous training run and gradient check results on this 2-node, 16-GPU domestic GPU setup are encouraging, it is important to recognize clearly that this remains a pipeline validation under a trimmed configuration, intended to verify training functionality and loss trends. It is not equivalent to complete, full-scale pretraining.

    Moving from a trimmed configuration to full-scale training of a complete trillion-parameter model still requires crossing two core hurdles:

    1. Communication bottlenecks at cluster scale: The communication topology of two nodes with 16 GPUs is relatively simple. At the scale of thousands or tens of thousands of GPUs, network topology gains additional layers, and All-to-All communication latency grows non-linearly. Optimizing cross-switch bandwidth utilization and reducing communication bubbles are problems that full-scale training must solve.

    2. Fault tolerance for long-term stable operation: In long-duration pretraining tasks (often lasting weeks or even months), hardware failures are the norm. Full-scale training requires robust checkpoint-and-resume mechanisms, health checks, and high-frequency gradient anomaly monitoring, so that when individual nodes go down or the network jitters, the cluster can recover quickly without losing training progress.

    In summary, this training pipeline validation for a trillion-parameter MoE multimodal model provides a highly valuable engineering reference for the training-side usability of domestic GPUs. As distributed training frameworks continue to evolve and communication protocols are deeply optimized, domestic compute—once it crosses the gaps of scale and long-term stability—will provide a more solid compute foundation for the flourishing of multimodal large models.