Validating a Training Pipeline for a 2.8 Trillion-Parameter Multimodal MoE Model on Domestic GPUs
This article examines the engineering validation of a distributed training pipeline for a 2.8 trillion-parameter multimodal Mixture-of-Experts model on domestic GPUs. It covers the challenges of dynamic sparse attention and expert routing, the design of a dual-node, 16-GPU reduced-scale validation setup, operator and communication adaptation, and the resulting loss convergence, memory usage, and system stability. It also discusses the gap between reduced-scale validation and full-scale trillion-parameter training.
As artificial intelligence enters the era of general-purpose foundation models, model sizes are moving toward the trillion-parameter range. Mixture-of-Experts (MoE) architectures and native multimodal capabilities have become major directions for further development. Against this backdrop, domestic GPU platforms are being adapted to large-model workloads at an accelerating pace, with multiple compute vendors making progress in thousand-GPU clusters, multimodal pretraining, and reinforcement learning.
This article uses the validation of a 2.8 trillion-parameter multimodal MoE model as a case study to examine the engineering practices and technical challenges involved in building a distributed training system on domestic GPUs.
1. Technical Challenges of Trillion-Parameter Multimodal MoE Architectures
A 2.8 trillion-parameter native multimodal model typically combines a vision tower, a cross-modal projection module, and a large language backbone. These architectural characteristics impose demanding requirements on the underlying compute infrastructure, particularly in the following two areas.
Memory access pressure from dynamic sparse attention
Compared with conventional dense attention, dynamic sparse attention reduces computational complexity by generating computation masks dynamically. However, it also creates irregular memory access patterns, placing significant pressure on GPU memory bandwidth and cache hit rates.Communication bottlenecks in expert routing
The core idea of an MoE architecture is to divide a large model into multiple experts and activate only a subset of them during the forward pass, such as Top-8 routing. This dynamic routing introduces substantial cross-device All-to-All communication. In a dual-node, multi-GPU configuration, insufficient inter-node bandwidth or high scheduling latency can leave compute units waiting for data and significantly reduce overall training efficiency.
2. Validation Design and Reduced-Scale Configuration
To validate training functionality and loss trends under limited hardware resources, this engineering effort used a reduced-scale configuration. The objective was not to conduct full-scale pretraining, but to systematically verify that the distributed training pipeline could operate end to end.
Network and hardware configuration
The validation environment used two nodes with a total of 16 GPUs. This scale covered both intra-node and inter-node communication paths, making it suitable for testing the behavior of the collective communication library across a more complex topology.Model reduction strategy
- Reduced language backbone: The language backbone was reduced to 13 layers and configured with 16 routed experts using Top-8 activation. This preserved the core MoE routing logic while exposing communication and memory-management issues.
- Multimodal modules retained: The complete 27-layer vision tower and the cross-modal projection module were retained, ensuring that the image-text fusion path was fully exercised.
Data initialization
Training was initialized randomly using an open image-text question-answering dataset. The primary purpose was to verify training functionality and observe basic loss-convergence behavior.
3. Distributed Training Engineering and Operator Adaptation
The main objective of this adaptation was not to maximize single-GPU peak throughput, but to establish a complete distributed training path. This required optimization across both low-level operators and parallelization strategies.
Operator completion and gradient implementation
For the model’s hybrid attention mechanisms and dynamic MoE routing, the engineering team implemented the required forward operators and backward gradient operators in the domestic GPU compute stack. The implementations were designed to align gradient updates with mainstream frameworks during floating-point computation, reducing the risk of numerical anomalies caused by differences in operator precision or implementation.Sharded parallelism
A trillion-parameter model cannot fit into the memory of a single GPU. The validation therefore relied on a mainstream sharded distributed data-parallel framework to manage model parameters, gradients, and optimizer states through fine-grained partitioning. Each compute node retained only a portion of the overall state, while cross-node communication was used to aggregate information when parameters were updated. This substantially reduced per-GPU memory consumption.High-performance collective communication
Inter-node communication was scheduled by a high-performance collective communication library. Because MoE models rely heavily on All-to-All traffic, the communication layer needed topology-aware optimization for the characteristics of domestic GPUs. The goal was to reduce communication latency and maintain smooth data movement during both forward and backward passes.
4. Training Results and Engineering Significance
With two nodes and 16 GPUs, the reduced model completed 400 consecutive training steps without numerical overflow or abnormal interruption. Publicly disclosed engineering results of this type remain relatively uncommon for trillion-parameter multimodal MoE models, making the validation a useful reference point.
Loss convergence
The training loss decreased steadily from an average of 8.9365 during the initial stage, covering steps 21–70, to an average of 2.1802 over the final 50 steps. Validation loss also declined from 6.5297 to 4.6873. These results indicate that the model was following the correct gradient-descent direction and that both the vision branch and language backbone were effectively participating in parameter updates.Memory control and stability
Peak GPU memory usage remained stable at approximately 44.80 GiB throughout training. This demonstrates the effectiveness of the sharding and memory-reuse strategies, while also validating the numerical stability of the gradient-checking process.
5. Industry Trends and Future Outlook
Domestic GPU adaptation for training is evolving from single-GPU functional validation toward large-scale cluster deployment. Industry reports indicate that several domestic compute vendors can now use thousand-GPU clusters for multimodal pretraining and reinforcement learning, with accuracy alignment approaching that of international products. Baidu has also announced at a developer conference that its all-domestic cluster successfully completed training for an important large-model version, achieving an effective training rate of 97%.
In addition, industry consulting organizations forecast substantial growth in domestic shipments of high-end AI chips over the coming years, with the share of local solutions potentially approaching 90%, including cloud providers’ self-developed ASICs.
However, a substantial gap remains between reduced-scale pipeline validation and full-scale training of a trillion-parameter model. The 400-step continuous training run and gradient-checking results provide a valuable engineering milestone for assessing the reproducibility of domestic GPUs on training workloads.
To support the next generation of artificial general intelligence, domestic compute platforms will still need to overcome significant challenges in scaling to thousand-GPU and eventually ten-thousand-GPU clusters, maintaining stable operation over long training cycles, and improving fault tolerance through closer hardware-software coordination.
