Running Trillion-Parameter MoE Multimodal Training on Domestic GPUs: Engineering Practices and Validation Methods
A Chinese GPU vendor's lab recently completed a training-pipeline validation for a 2.8-trillion-parameter MoE-based natively multimodal LLM, running 400 consecutive training steps on a two-node, 16-GPU setup without numerical overflow or abnormal interruptions. This article breaks down why MoE multimodal training is hard, the three engineering pillars behind the pipeline—operator-level forward/backward completeness, fully sharded parallelism, and cross-node collective communication—and how to interpret the disclosed validation metrics such as loss curves, memory peaks, and gradient checks. It also examines the remaining gaps between a pipeline validation and full-scale pretraining, and offers practical criteria for teams evaluating domestic training compute.
Running Trillion-Parameter MoE Multimodal Training on Domestic GPUs: Engineering Practices and Validation Methods
1. Background: A Training Pipeline Validation Worth Noticing
A Chinese GPU vendor’s lab recently announced that it had completed training-pipeline adaptation for a 2.8-trillion-parameter, MoE-architecture natively multimodal large model, and ran 400 consecutive training steps on a two-node, 16-GPU configuration. No numerical overflow or abnormal interruption occurred throughout the run, and training loss showed a stable convergence trend.
It is important to note that this validation used a trimmed configuration: the language backbone was truncated to 13 layers with 16 routed experts (Top-8 activation), while the full 27-layer vision tower and the cross-modal projection module were retained. Training started from random initialization on a medical image-text QA dataset. This is therefore a “training pipeline functional validation,” not a full-scale pretraining run. Even so, publicly disclosing consecutive training steps, loss curves, and gradient-check details for an MoE multimodal model of this magnitude remains rare in publicly available industry information.
This event matters to the technical community because it answers a key question: can domestic GPUs support, at the engineering level, a complete training loop for trillion-parameter-scale MoE multimodal models? This article provides a systematic technical breakdown.
2. Why MoE Multimodal Training Is a Hard Problem
2.1 Dynamic Sparse Attention: Compute and Memory Pressure
This new generation of multimodal models typically adopts hybrid attention, introducing dynamic sparse attention on top of global attention, where the attention range is dynamically selected based on token importance. This places two demands on the underlying operators:
- Irregular memory access patterns: Sparse attention means the attention matrix is no longer a regular dense matrix multiplication. Kernels must support dynamic indexing and block-sparse computation, or performance degrades sharply.
- Memory management complexity: Different sequence positions activate different attention ranges, so activation memory usage fluctuates dynamically. Static memory planning strategies tend to fail.
2.2 Expert Routing and Its Challenge to Multi-GPU Communication
In MoE architectures, each token is routed to Top-K experts. In distributed training, experts are typically sharded across different GPUs, which introduces All-to-All communication: each GPU must send its local tokens to the remote GPUs holding the target experts, then collect the computed results back.
The characteristics of All-to-All communication are:
- Communication volume grows linearly with the number of experts, the Top-K value, and batch size;
- Irregular communication patterns, highly sensitive to the implementation quality of the collective communication library;
- Easy contention with compute resources, requiring careful communication-computation overlap scheduling.
If the collective communication library’s All-to-All support is immature, overall MoE training throughput will be severely bottlenecked by communication. This is the root cause of the “it runs, but it runs slowly” phenomenon on many domestic compute platforms.
2.3 Additional Complexity from Multimodality
Beyond the text backbone, multimodal training attaches a vision tower and cross-modal projection modules. These three module types differ drastically in parameter scale, compute density, and memory usage profile: the vision tower is typically dense compute with concentrated parameters, while the MoE backbone is sparse compute with dispersed parameters. Making both module types cooperate efficiently under a single parallelism strategy—and ensuring gradients correctly propagate back to the vision branch—is an easily overlooked but critical part of getting the pipeline working end to end.
3. The Three Engineering Pillars Behind the Working Pipeline
Based on the publicly disclosed information, the core of this adaptation lies not in single-GPU peak compute, but in systematically connecting the distributed training pipeline. It can be summarized in three layers.
3.1 Operator Layer: Complete Forward and Gradient Implementations
Training differs from inference: not only must forward computation be correct, every operator must also have a numerically correct backward gradient implementation. This adaptation completed both forward and backward implementations for hybrid-attention and MoE-related operators. The difficulties at this layer include:
- Sparse attention backpropagation must precisely reconstruct the sparse indices used during the forward pass;
- The MoE routing load balancing loss must be correctly coupled with the main loss;
- Gradient scaling (loss scaling) under mixed-precision training must prevent numerical underflow in low-precision formats.
A frequently overlooked verification method is the gradient check: comparing numerical differentiation results against autodiff results to confirm that custom operators’ gradient implementations are correct. This validation explicitly included a gradient-check step—which is precisely the essential difference between “the pipeline works” and “it merely runs.”
3.2 Parallelism Strategy Layer: Sharded Management of Parameters, Gradients, and Optimizer States
Even trimmed, a trillion-parameter model cannot fit its full state on a single GPU. This adaptation adopted the mainstream fully sharded data parallel approach (the FSDP family of techniques), sharding parameters, gradients, and optimizer states across all GPUs:
Per-GPU footprint = parameters/N + gradients/N + optimizer states/NForward pass: all-gather parameters on demand, release after computationBackward pass: reduce-scatter gradients, update local shards in place
The key benefit of this strategy is that memory usage drops roughly in inverse proportion to the number of GPUs. In this validation, peak memory was 44.80 GiB—well within a single GPU’s capacity—indicating that the sharding strategy and activation management (such as activation recomputation) were well coordinated.
3.3 Communication Layer: Cross-Node Collective Communication Stability
Cross-node communication was handled by the vendor’s self-developed collective communication library. For a small two-node, 16-GPU configuration, communication pressure is manageable, but MoE’s All-to-All traffic is amplified on cross-node links (inter-node bandwidth is typically far lower than intra-node interconnect bandwidth). In practice, a common approach is hybrid orchestration of expert parallelism and data parallelism: keep high-frequency communication within nodes as much as possible, and let cross-node links carry only reduction-type traffic.
4. How to Interpret the Validation Metrics
Judging whether a training pipeline validation is meaningful requires more than “it didn’t crash”—the numerical behavior must match expectations. The key disclosed data:
| Metric | Value | Meaning |
|---|---|---|
| Training loss | 8.9365 → 2.1802 | Early-stage average converging to the final-50-step average; normal convergence trend |
| Validation loss | 6.5297 → 4.6873 | No signs of divergence or overfitting |
| Peak memory | 44.80 GiB | Sharding strategy effective, with safe headroom |
| Vision branch | Parameters updated | Cross-modal gradient backpropagation path is correct |
Several points are worth noting:
- A starting loss around 8.9 under random initialization is reasonable—close to the random-guessing cross-entropy magnitude for the vocabulary size, indicating the loss computation path is functioning normally;
- A ~75% loss reduction within 400 steps indicates that the learning rate, optimizer state sharding, and gradient communication introduced no systematic bias;
- Synchronous decline in validation loss rules out the possibility that the training loss dropped artificially due to numerical errors;
- Confirmed vision branch parameter updates—this is the key evidence of multimodal pipeline validation. If cross-modal gradients were accidentally cut off, the text-side loss could still decrease, making such a problem extremely hard to detect.
5. From Pipeline Validation to Full-Scale Pretraining: Remaining Hurdles
It must be clearly recognized: a 400-step validation on a trimmed configuration is still a significant distance from full-scale pretraining of a complete trillion-parameter model.
5.1 Cluster Scale Expansion
Scaling from 16 GPUs to thousands or tens of thousands changes communication topology, failure rates, and scheduling complexity qualitatively. On a ten-thousand-GPU cluster, single-point hardware failures shift from “occasional” to “routine,” requiring minute-level fault detection, checkpoint resume, and hot migration capabilities.
5.2 Long-Term Stable Operation
400 steps can be finished on luck; hundreds of thousands of steps require a system. Long-running jobs expose chronic problems such as memory fragmentation, handle leaks in communication libraries, and thermal-drift-induced frequency throttling. The industry typically measures cluster training efficiency by “effective training time ratio,” with leading practices exceeding 95%. This requires deep integration of monitoring/alerting systems and automated fault-tolerance mechanisms. In engineering practice, general-purpose log services and monitoring/alerting cloud products can be used to build cluster health dashboards, compressing mean time to recovery (MTTR) to the minute level.
5.3 Precision Alignment and End-to-End Throughput
Pipeline validation only proves “it can train”—one must also prove “it trains correctly and fast”: compare loss curves layer by layer against a reference implementation to confirm that deviations in the first few hundred steps stay within floating-point noise; simultaneously benchmark MFU (model FLOPs utilization) to identify and optimize weaknesses in communication, data loading, and operator implementations one by one.
6. Industry Perspective: Domestic Compute Training Adaptation Enters Deep Waters
Judging from public industry information, training adaptation between domestic AI chips and large models is accelerating across the board: multiple chip vendors have disclosed thousand-GPU clusters completing multimodal pretraining and reinforcement learning; training adaptation coverage for mainstream open-source LLMs continues to improve; and fully domestic clusters have completed training of major versions of flagship models. Third-party research institutions forecast that the high-end AI chip market in China is maintaining rapid growth, with the share of domestic solutions continuing to expand.
Against this backdrop, the persuasiveness of one-off “adaptation complete” claims is declining, and reproducible engineering details—consecutive training steps, loss curves, memory peaks, gradient-check results—are becoming the new yardstick for adaptation quality. The 400-step continuous run and complete numerical evidence chain disclosed in this case exemplify this trend: it provides a referenceable engineering milestone for the reproducibility of domestic GPUs on the training side.
7. Conclusion
Connecting the training pipeline for a trillion-parameter MoE multimodal model is fundamentally a systems engineering effort: operator correctness is the foundation, the parallel sharding strategy is the skeleton, collective communication is the circulatory system, and the numerical validation evidence chain is the final quality endorsement. This trimmed-configuration validation—two nodes, 16 GPUs, 400 steps—demonstrates that domestic GPUs now possess the foundational capability to support training of this class of models. But from an engineering milestone to production-grade full-scale training, cluster scaling, long-term stability, and efficiency optimization still require sustained investment. For teams evaluating domestic training compute, we recommend three criteria as the core checklist for selection validation: reproducible loss curves, verifiable gradients, and resumable checkpoints—let engineering evidence, not marketing claims, drive the decision.
