Trillion-Parameter MoE Multimodal Training on Domestic Compute: A Link Validation Practice
This article examines a lab validation of the training pipeline for a 2.8-trillion-parameter native multimodal MoE model on a China-based GPU vendor’s hardware. Using a two-node, 16-GPU trimmed configuration for 400 consecutive training steps, the test covers operator support, FSDP2 sharding, cross-node All-to-All communication, loss convergence, peak memory, and multimodal alignment. It also reviews industry progress in adapting domestic GPU clusters to large-model training.
As large language models move toward trillion-parameter scale and evolve from text-only systems into native multimodal architectures that combine vision, speech, and other modalities, the underlying compute infrastructure is facing unprecedented technical challenges. Recently, a China-based GPU vendor completed a lab-based adaptation and validation of the training pipeline for a 2.8-trillion-parameter MoE (Mixture-of-Experts) native multimodal model. The test ran 400 consecutive training steps on a two-node, 16-GPU configuration. This practice not only validates the engineering feasibility of domestic hardware for ultra-large and complex models, but also provides a useful reference for low-level technical implementation in the industry.
1. Technical Barriers of Trillion-Parameter MoE Multimodal Models
The combination of native multimodal models and MoE architecture is a frontier direction in large-model development, but it places strict demands on the underlying hardware and software stack. The core characteristics of a 2.8-trillion-parameter MoE model lie in dynamic sparse attention and expert routing.
- Multi-GPU communication bottleneck: In an MoE architecture, the gating network dynamically decides which experts to activate based on the input. Because experts are usually distributed across different compute cards, this leads to frequent cross-device tensor communication (All-to-All communication). If the underlying communication library is not sufficiently optimized, communication latency can seriously drag down overall compute efficiency.
- Memory management threshold: Multimodal models contain large vision encoders and cross-modal projection modules. Combined with the massive expert parameters of the MoE architecture, this places extremely high demands on per-GPU memory capacity. How to schedule parameters, gradients, and optimizer states reasonably within limited memory is key to avoiding out-of-memory (OOM) failures.
- Operator implementation complexity: Dynamic sparse attention mechanisms involve complex masking operations and dynamic tensor reshaping, while gradient computation for MoE routing operators during backpropagation can easily introduce numerical instability. This imposes very high precision and performance requirements on the underlying hardware operator library.
2. Link Validation Design Under a Trimmed Configuration
To efficiently validate training functionality and loss trends rather than simply pursuing per-GPU peak compute, the test adopted a scientific “trimmed configuration” strategy. This approach is common in engineering validation before large-scale model pretraining.
The test was conducted on a two-node, 16-GPU configuration. The model architecture was trimmed as follows:
- Language backbone trimming: A 13-layer Transformer structure was used to control total parameter scale and per-iteration compute.
- MoE routing configuration: 16 routed experts were configured with a Top-8 activation strategy. This setting preserves the essential sparse activation characteristics of an MoE model and can fully test the logical correctness of the gating network and expert distribution.
- Multimodal module retention: The 27-layer vision tower and cross-modal projection module were fully retained. Multimodal alignment is a core difficulty of native multimodal models, and keeping the complete vision branch helps validate the effectiveness of cross-modal feature fusion.
The training data used the standard MedPix image-text VQA dataset for training from random initialization. This configuration removes unnecessary computational redundancy while precisely covering the core technical validation points of MoE multimodal training.
3. Core Technical Breakdown: Operators, Sharding, and Communication
The focus of this adaptation was to systematically connect the distributed training pipeline, involving full coordination from low-level operators to upper-layer frameworks.
- Hybrid attention and MoE operator completion
A domestic GPU software stack needs a deeply customized operator library for large-model characteristics. In this engineering practice, the R&D team completed forward and backward gradient implementations for hybrid attention mechanisms and MoE core operators. This requires operators on domestic hardware instruction sets not only to ensure numerical precision of computation results, but also to optimize memory access bandwidth and avoid performance collapse caused by improper register or shared memory allocation. - Sharding management based on FSDP2
Memory optimization is a top priority in distributed training. This practice relied on the FSDP2 (Fully Sharded Data Parallel 2) framework to perform fine-grained sharding management of model parameters, gradients, and optimizer states. With each GPU storing only part of the parameter shards, parameters are dynamically aggregated and released during forward and backward propagation. This mechanism effectively reduces peak per-GPU memory and is a cornerstone of large-model training. - Cross-node communication optimization
In the two-node, 16-GPU scenario, cross-node communication latency becomes a major bottleneck. The test used a high-performance collective communication library for cross-node data synchronization. For the All-to-All communication pattern specific to MoE, the communication library performed topology-aware tuning based on the underlying network topology, reducing inter-node traffic and improving overall collective communication bandwidth utilization.
4. Training Results and Metrics Analysis
Rigorous engineering validation ultimately translates into intuitive training metrics. The two-node, 16-GPU configuration completed 400 consecutive training steps without numerical overflow or abnormal interruption, which itself is strong evidence of the stability of the underlying software and hardware stack.
From the specific metrics:
- Loss convergence: Training loss steadily converged from 8.9365 (mean of steps 21–70) to 2.1802 (mean of the last 50 steps), while validation loss dropped from 6.5297 to 4.6873. The smooth downward curve indicates that the model not only completed the forward and backward pipeline successfully, but also that the direction of gradient updates was correct.
- Memory control: Under the trimmed configuration, peak memory was controlled at 44.80GiB. This result validates the effectiveness of the FSDP2 sharding strategy and leaves room for memory tuning when deploying the full model on larger clusters in the future.
- Multimodal fusion validation: The vision branch successfully participated in parameter updates, indicating that gradients from the cross-modal projection module could be correctly propagated back to the vision tower and that the multimodal alignment path was clear.
5. Industry Landscape: Domestic Compute and Large-Model Adaptation Accelerating
From a broader industry perspective, the pace of adaptation between domestic GPUs and large models is continuing to accelerate, and the field is showing progress across multiple players.
According to public industry information, several large-model companies have begun using a domestic thousand-GPU cluster to complete multimodal pretraining and reinforcement learning, with precision aligned with international advanced products. An AI chip company is also advancing training adaptation for mainstream open-source large-model series, with application scenarios extending toward thousand-GPU and ten-thousand-GPU clusters. A general computing vendor’s deep computing units have been adapted to hundreds of mainstream large models, covering most of the non-closed-source large-model ecosystem.
Among these industry practices, Baidu’s progress is particularly notable. At Baidu Create, Baidu announced that its fully domestic Kunlunxin P800 cluster had successfully completed training for an important version of its ERNIE large model, achieving an effective training rate of 97%. A 97% effective training rate is a highly meaningful engineering metric: it means that under long-term high-load operation, the cluster has very short failure recovery time and a very high overlap rate between computation and communication. It represents the current top level of domestic compute clusters in software scheduling and hardware stability.
6. Conclusion and Outlook
The China-based GPU vendor’s disclosure of engineering details for the 2.8-trillion-parameter MoE multimodal model—including 400 consecutive training steps, loss curves, and gradient checks—has a demonstrative effect on the industry. Although this validation is still based on a trimmed configuration and is not equivalent to full-scale pretraining, it successfully connects key technical nodes such as MoE routing, multimodal feature fusion, and distributed sharding management.
As the domestic compute ecosystem continues to deepen its work in software stack maturity, communication library optimization, and cluster scheduling capability, domestic GPUs will have broader application prospects in ultra-large multimodal large-model training. Moving from link validation to full-scale pretraining, domestic compute infrastructure is undergoing a profound transformation from “available” to “practical and efficient.”
