Verifying the Training Pipeline of a Trillion-Parameter MoE Multimodal Model on Domestic GPUs
This article explores a recent engineering milestone where a domestic GPU verified the training pipeline of a 2.8-trillion-parameter Mixture-of-Experts (MoE) native multimodal model. Using a dual-node, 16-GPU configuration, the team completed 400 continuous training steps without numerical overflow or interruption. We analyze the technical challenges of training such massive models—including dynamic sparse attention, expert routing, multimodal memory management, and state sharding—alongside the engineering implementation details and key metrics from this verification.
I. Background: Domestic GPU Training Adaptation Enters the Deep Water Zone
In recent years, the pace of adapting domestic GPUs to large models has visibly accelerated. Based on public industry information, multiple chip manufacturers have disclosed cases of completing multimodal pre-training and reinforcement learning on thousand-card clusters. The scope of training-side adaptation has expanded from dense models to Mixture-of-Experts (MoE) architectures, scaling from tens of billions to hundreds of billions and even trillion-parameter levels. Key metrics like effective training rates are also continuously improving.
Amidst this trend, a more significant engineering milestone has emerged: a domestic GPU vendor’s laboratory completed the training pipeline adaptation for a 2.8-trillion-parameter MoE native multimodal model. Under a dual-node, 16-GPU configuration, it completed 400 continuous training steps without any numerical overflow or abnormal interruption. Unlike the typical one-sentence “adaptation successful” announcements, this disclosure included continuous training steps, loss convergence curves, and gradient checks—details rarely seen in domestic compute verification cases for trillion-parameter MoE models.
It should be objectively noted that this is a training pipeline verification under a truncated configuration, not a full-scale pre-training. Its significance lies in providing a reproducible reference node for the engineering feasibility of domestic GPUs on the training side.
II. Why Trillion-Parameter MoE Multimodal Models Are a “Tough Nut to Crack”
To understand the value of this verification, one must first understand the stringent requirements such models impose on training systems.
2.1 Communication Pressure from Dynamic Sparse Attention
This model employs a mixed attention architecture, where dynamic sparse attention means the non-zero pattern of attention calculations changes with the input. In distributed training, this presents two challenges: first, the forward and gradient implementations of sparse operators require deep optimization for the hardware instruction set; otherwise, kernel efficiency falls far below that of dense operators. Second, sparse patterns cause unbalanced compute loads across GPUs, making the pipelining of communication and computation more difficult and prone to bubbles.
2.2 System Threshold of Expert Routing
In the MoE architecture, each token is routed to Top-K experts. In this truncated configuration, there are 16 routing experts with Top-8 activation. Expert Parallelism (EP) requires tokens to undergo All-to-All exchange across GPUs, which directly tests multi-GPU interconnect bandwidth and the implementation quality of collective communication libraries. When load imbalance occurs, “expert skew” arises, where devices hosting bottleneck experts drag down overall throughput.
2.3 Memory Management Complexity in Multimodal Models
Native multimodal models consist of a language trunk, a visual tower, and a cross-modal projection module. The activation size of the visual branch differs vastly from the language branch, and the parallelization strategies for both branches often need to be designed separately. The gradient backpropagation path at the cross-modal projection traverses heterogeneous subgraphs, imposing higher requirements on memory scheduling and activation recompute strategies.
2.4 State Sharding Challenges for Trillion Parameters
The total volume of parameters, gradients, and optimizer states (e.g., Adam’s first and second moments) for a trillion-parameter model far exceeds single-GPU memory. The industry-standard approach is to use Fully Sharded Data Parallel (FSDP)-like schemes to shard these three types of states across all devices, coupled with communication overlap to mask the overhead of parameter aggregation. This requires deep synergy between the communication library, memory allocator, and training framework.
III. Engineering Implementation Highlights of This Verification
3.1 Design Logic of the Truncated Configuration
This verification used a representative truncation rather than an arbitrary downsize: the language trunk was truncated to 13 layers, retaining 16 routing experts (Top-8 active), while fully retaining the 27-layer visual tower and cross-modal projection module. The rationality of this truncation is that it preserves all “structural difficulties” in the model (sparse attention, MoE routing, multimodal fusion) and only reduces “scale variables” like the number of layers and experts. Therefore, the conclusion that the pipeline is functional can be extrapolated, though throughput and stability data must be re-evaluated under large-scale configurations.
Training was based on a public medical image-text QA dataset with randomly initialized weights—meaning it did not “free-ride” on pre-trained weights, but tested the complete training pipeline right from the initialization phase.
3.2 Operator Layer Completion
A core part of the adaptation work was completing the forward and gradient implementations for mixed attention and MoE operators. This required not only functional correctness but also numerical precision alignment with reference implementations—differences in reduction order for sparse operators or rounding strategies in mixed precision could cause loss curve drift. The officially disclosed gradient check results showed that the backward propagation of key operators passed numerical consistency verification.
3.3 Memory and Communication
- State Sharding: Leveraging an FSDP-like full sharding scheme to manage parameters, gradients, and optimizer states, the peak memory per GPU in the dual-node, 16-GPU setup was controlled at approximately 44.8GiB. This indicates that the sharding strategy and activation recomputation were well coordinated.
- Cross-node Communication: A self-developed collective communication library from the vendor handled primitives like All-to-All, All-Gather, and Reduce-Scatter, covering the communication needs of both Expert Parallelism and sharded parallelism.
3.4 Key Training Data
| Metric | Value | Description |
|---|---|---|
| Training Loss | 8.9365 → 2.1802 | Mean of steps 21–70 → Mean of last 50 steps |
| Validation Loss | 6.5297 → 4.6873 | Synchronized decline, no divergence observed |
| Peak Memory | 44.80 GiB/GPU | Dual-node 16-GPU configuration |
| Continuous Training | 400 steps | No numerical overflow, no abnormal interruption |
| Visual Branch | Participated in parameter updates | Proves end-to-end multimodal gradient pipeline connectivity |
Under random initialization, the loss dropped rapidly from ~9 to 2.2, the validation loss decreased synchronously, and the visual branch updated normally. These three points collectively demonstrate that the forward, backward, optimizer, and communication stages are all fully connected, rather than being a half-finished adaptation that “only runs the forward pass.”
IV. From Pipeline Verification to Full-Scale Pre-Training: How Far?
Rationally evaluating this milestone requires distinguishing between two types of conclusions.
What has been proven: Domestic GPUs possess the capability to support the full training pipeline of a trillion-parameter MoE multimodal model. There is reproducible engineering evidence across four dimensions: operators, sharding, communication, and numerical stability.
What remains to be proven:
- Cluster Scaling: Scaling from 16 GPUs to thousands of GPUs means communication topology, failure rates, and scheduling complexity grow non-linearly. The expert skew problem will become much sharper in large EP configurations.
- Long-Term Stability: A 400-step verification cannot expose long-tail issues like memory fragmentation, slow nodes, or sporadic hardware errors. The industry typically uses the “effective training rate” to measure long-term stability; top cases have disclosed levels around 97%. Domestic platforms need data of an equivalent magnitude to support their claims.
- Convergence Efficiency Alignment: Correct loss trends under small-scale configurations do not guarantee point-by-point alignment with the convergence trajectory of reference hardware under full data ratios and hyperparameters. This requires longer comparative experiments.
V. Takeaways for Developers
- Evaluate domestic compute by pipeline, not peak compute: Single-GPU peak compute numbers have limited reference value. Focus should be placed on operator coverage, collective communication library quality, distributed framework maturity, and fault recovery capabilities.
- Truncated verification is a sound methodology: Retaining structural difficulties while reducing scale variables is a standard, low-cost way to verify training pipelines, worth reusing in internal compute selection processes.
- Focus on reproducibility disclosure: Information like continuous steps, loss curves, peak memory, and gradient checks better reflects real engineering capability than qualitative claims of “successful adaptation.”
- Cloud-based elastic verification: Teams needing to rapidly conduct multi-hardware comparison verifications can leverage generic cloud platforms providing GPU containers, object storage, and monitoring/alerting capabilities to build verification environments, thereby lowering upfront investment.
VI. Conclusion
Based on industry forecasts, domestic high-end AI chip shipments are growing rapidly, and the market share of local solutions continues to expand. The successful pipeline verification of a trillion-parameter MoE multimodal model on domestic GPUs marks a shift in the adaptation focus from “inference ready” to “training credible.” However, bridging the gap from a truncated configuration to the full-scale pre-training of a trillion-parameter model still requires crossing the mountains of cluster scaling and long-term stability. The significance of this engineering milestone lies not in declaring the finish line, but in providing a reproducible starting point for the climbing that lies ahead.
