Trillion-Parameter MoE Multimodal Training Pipeline Validation on Chinese GPUs
This article examines the engineering validation of a training pipeline for a 2.8-trillion-parameter MoE native multimodal model on a Chinese GPU vendor’s two-node, 16-GPU configuration. It outlines the hardware and framework challenges of trillion-parameter multimodal training, reviews domestic compute adaptation trends, describes a trimmed validation design, and details distributed training engineering work covering FSDP2 memory sharding, cross-node communication, and core operator implementation. It also analyzes 400-step training results, including loss convergence and memory peak control, and summarizes the implications for full-scale pretraining.
Large language models are evolving toward native multimodality, and parameter counts are rapidly moving toward the trillion scale. In this process, the ability of underlying compute infrastructure to adapt becomes a core factor in determining training success. Recently, a Chinese GPU vendor completed training-pipeline validation for a 2.8-trillion-parameter MoE native multimodal model. On a two-node, 16-GPU configuration, it ran 400 consecutive training steps without numerical overflow or abnormal interruption. This practice demonstrates the engineering integration capability of domestic compute and provides a valuable reference for adapting trillion-parameter multimodal training pipelines.
1. Underlying Adaptation Challenges for Trillion-Parameter Multimodal Models
Before discussing the specific adaptation work, it is necessary to understand the stringent requirements that trillion-parameter MoE multimodal models place on underlying hardware and training frameworks. Taking the validated 2.8-trillion-parameter model as an example, its native multimodal characteristics mean that it must process visual and language features simultaneously and achieve deep cross-modal fusion.
From an architectural perspective, such models typically use dynamic sparse attention and expert routing mechanisms. Although dynamic sparse attention can effectively reduce the computational complexity of long-sequence processing, its dynamic computation characteristics require extremely high memory read/write efficiency and flexible memory management from the underlying hardware. The expert routing mechanism of the MoE architecture introduces a large amount of All-to-All communication in multi-GPU distributed training, imposing very high requirements on cluster network topology, communication bandwidth, and latency control. If the multi-GPU communication link is not robust enough, or if memory management becomes fragmented, numerical overflow or abnormal interruption can easily occur during training.
2. Industry Trends in Domestic Compute Adaptation for Large Models
In recent years, the pace of adaptation between domestic compute and large models has continued to accelerate, and software-hardware co-design capabilities have improved significantly. At Baidu’s Create 2026 conference, published data showed that a fully domestic Kunlunxin P800 cluster had successfully completed training for an important version of ERNIE 5.1, achieving an effective training rate of 97%. This is a milestone for large-scale training on domestic compute.
Other domestic chip vendors are also moving quickly. Several large-model companies in the industry have begun using domestic thousand-GPU clusters for multimodal pretraining and reinforcement learning, with precision gradually aligning with advanced international products. Some vendors’ AI accelerator cards have been adapted to more than 400 mainstream large models, covering 99% of the non-closed-source large-model ecosystem, and are gradually extending to thousand-GPU and ten-thousand-GPU cluster scenarios. According to forecasts from industry consulting institutions, China’s high-end AI chip shipments are expected to reach about 5 million units in 2026, a year-on-year increase of 83%, and the share of domestic solutions, including cloud vendors’ self-developed chips, will approach 90%. This indicates that domestic compute is moving from “available” to “usable” across the board.
3. Validation Design Under a Trimmed Configuration
For trillion-parameter models, direct full-scale pretraining is extremely costly and makes it difficult to quickly identify bottlenecks in the engineering pipeline. Therefore, using a scientifically trimmed configuration for training-pipeline validation is a common engineering practice in the industry.
In this validation, the test team reasonably trimmed the model structure on a two-node, 16-GPU configuration:
- Language backbone truncation: Only 13 network layers were retained, along with 16 routed experts using a Top-8 activation strategy. This preserves the core logic of MoE routing while greatly reducing compute and communication load.
- Full retention of the vision modality: The 27-layer vision tower and cross-modal projection module were fully retained. The difficulty of multimodal training lies in the fusion of visual and language features, so retaining the complete vision branch can genuinely test the accuracy of cross-modal projection and multimodal loss computation.
- Dataset and initialization: Random-initialization training was conducted on the MedPix-VQA image-text dataset to ensure that the validation process had realistic data distribution characteristics.
The core purpose of this trimmed configuration is to “verify training functionality and loss trends,” rather than to pursue per-GPU peak performance or complete a full pretraining task. Through this lightweight validation, potential issues in hybrid attention, MoE operator implementation, and the communication library can be exposed quickly.
4. Engineering Integration of the Distributed Training Pipeline
From an engineering perspective, the focus of this adaptation is the systematic integration of the distributed training pipeline. Large-model training is not merely hardware stacking; it is deep coordination among the framework, communication library, and operator library.
4.1 Memory Sharding Management and FSDP2
In trillion-parameter model training, memory bottlenecks are the first problem to solve. This practice relied on FSDP2 (Fully Sharded Data Parallel 2) to perform fine-grained sharding management of parameters, gradients, and optimizer states. Compared with FSDP1, FSDP2 optimizes sharding granularity and memory reuse, effectively reducing memory peaks and avoiding OOM (Out of Memory) errors.
An illustrative memory sharding management logic is as follows:
import torchimport torch.distributed as distfrom torch.distributed.fsdp import FullyShardedDataParallel as FSDP# Initialize the process groupdist.init_process_group("nccl")model = MultimodalMoEModel(...).cuda()# Apply FSDP to shard parameters, gradients, and optimizer statesfsdp_model = FSDP(model,sharding_strategy=ShardingStrategy.FULL_SHARD,auto_wrap_policy=...,device_id=torch.cuda.current_device())# Perform regular forward, backward, and optimizer updates on this basis
4.2 Cross-Node Communication Optimization
Communication latency in multi-node, multi-GPU environments is key to the linear scaling efficiency of a cluster. In this validation, cross-node communication was handled by a dedicated collective communication library such as MCCL. For the frequent All-to-All communication in the MoE architecture, the communication library needs deep optimization for the network topology to ensure efficient, non-blocking dispatch and collection of tokens among different expert nodes.
4.3 Forward and Gradient Implementation of Core Operators
For the model’s dynamic sparse attention and MoE expert routing mechanisms, the corresponding forward and gradient computation operators need to be completed at the底层. This requires not only functional correctness but also high-precision gradient computation during backpropagation to ensure no numerical overflow. This adaptation successfully completed these key operators and ensured a closed training loop.
5. Validation Results and In-Depth Data Analysis
After completing the systematic engineering integration, the validation team ran 400 consecutive training steps in a two-node, 16-GPU environment. According to disclosed data, the training process showed a good convergence trend:
- Training loss convergence: Training loss steadily converged from 8.9365 (mean of steps 21–70) to 2.1802 (mean of the last 50 steps). The smooth decline of the loss curve proves the correctness of the model’s forward computation and backward gradient update logic.
- Validation loss decline: Validation loss decreased from 6.5297 to 4.6873, indicating that the model was not only learning the training-set distribution but also had a certain generalization capability.
- Memory peak control: With FSDP2, the memory peak during training was controlled at 44.80 GiB, and the vision branch participated normally in parameter updates, with no memory leaks or abnormal expansion.
These detailed data and gradient-checking details are relatively rare in public industry disclosures. They not only prove the robustness of the training pipeline but also provide solid data support for subsequent full-scale pretraining.
6. Conclusion and Outlook
This training-pipeline validation of a 2.8-trillion-parameter MoE multimodal model by a Chinese GPU vendor is an important step for domestic compute toward high-end large-model training. It demonstrates to the industry that the core of large-model training lies in the systematic engineering integration of the distributed pipeline, rather than simply comparing the theoretical peak compute of individual cards.
Facing enormous future AI compute demand, domestic chip vendors and framework developers need to continue deepening foundational engineering capabilities in communication optimization, memory management, and operator precision. As domestic solutions such as Baidu Kunlunxin continue to make breakthroughs in effective utilization for cluster training, there is good reason to believe that the domestic compute ecosystem will play an increasingly important role in the era of trillion-parameter multimodal large models.
