Chinese Domestic GPU Completes Training Pipeline Verification for Trillion-Parameter Multimodal MoE Model
This article explores the recent completion of a training pipeline verification for a 2.8-trillion-parameter MoE native multimodal model on Chinese domestic GPUs. It covers the technical challenges of trillion-parameter MoE adaptation, the strategies used for trimmed configuration verification, and the significance of this milestone in transitioning domestic AI hardware from inference-ready to training-ready capabilities.
Event Overview: A Critical Step from “Usable” to “Trainable”
Recently, a Chinese domestic GPU manufacturer’s laboratory announced the successful adaptation of a training pipeline for a 2.8-trillion-parameter Mixture of Experts (MoE) native multimodal model. Using a dual-node, 16-GPU configuration, the team completed 400 steps of training verification without numerical overflow or unexpected interruptions, publicly sharing engineering details such as loss curves and gradient checks.
It is important to objectively note that this verification was conducted under a trimmed configuration, which is not equivalent to a full-scale pre-training run. However, from an engineering perspective, the significance of this step cannot be underestimated. The systematic verification of the training pipeline is a prerequisite for large-scale pre-training, and its technical difficulty is fundamentally different from simple single-node compute tests.
Why is the Training Adaptation Threshold for Trillion-Parameter MoE Multimodal Models So High?
Memory and Communication Pressure from Dynamic Sparse Attention
Native multimodal large models typically employ hybrid attention mechanisms, with the language trunk and vision tower playing distinct roles. At the trillion-parameter scale, attention computation consumes massive amounts of KV cache memory. Additionally, dynamic sparse attention requires the framework to support variable compute paths, placing high demands on both forward and backward operator implementations.
The Test of Expert Routing on Multi-GPU Collaboration
The core challenge of the MoE architecture lies in routing. Taking Top-K activation as an example, each token only activates a few experts, and these experts are usually distributed across different devices. This means:
- Intensive All-to-All Communication: Tokens must be dispatched to the GPUs hosting the corresponding experts, then aggregated back after computation. The communication volume is proportional to the number of activated tokens.
- Load Imbalance: Differences in expert activation frequency can cause some devices to overload, necessitating load-balancing loss and capacity factor controls.
- Sparse and Incomplete Gradients: Unactivated experts do not produce gradients in the current step. The optimizer state update logic must correctly handle this sparsity.
Consistency Requirements for Multimodal Joint Training
In this verification, the visual branch also participated in parameter updates. The cross-modal projection module needs to ensure a complete gradient backpropagation path for both the language and vision sides. Any numerical precision issue on either side will be rapidly amplified in the loss curve.
Technical Breakdown of the Trimmed Verification
Trim Strategy: Preserving Structure, Compressing Scale
The trimmed configuration used in this test is representative:
- The language trunk was truncated to 13 layers, retaining 16 routing experts and a Top-8 activation structure.
- The 27-layer vision tower and cross-modal projection module were fully retained.
- Training was randomly initialized based on public image-text QA datasets.
This approach of “preserving architectural topology while compressing parameter scale” allows the verification of the completeness and correctness of the distributed training pipeline under limited compute power, serving as a standard pre-training validation method in the industry.
Key Verification Metrics
Based on the disclosed data, the training loss converged from 8.9365 (average of steps 21-70) to 2.1802 (average of the final 50 steps), and the validation set loss dropped from 6.5297 to 4.6873, with a peak memory usage of 44.80GiB. The monotonic decrease of the loss without divergence indicates:
- Correct numerical implementation of operators, with forward and gradient computation precision aligned.
- Error-free optimizer state updates under the sharding strategy.
- No data corruption or deadlocks introduced by cross-node communication.
A simple gradient health check can be described as follows:
# Pseudo-code: Gradient health check in training loopfor step, batch in enumerate(loader):loss = model(batch)loss.backward()if not all_finite(param.grad for param in trainable_params):raise TrainingError(f"step {step}: Gradient NaN/Inf detected")optimizer.step()log_loss(step, loss.item()) # Used for plotting loss curves
Three-Layer Collaboration of the Distributed Stack
This adaptation focused not on single-GPU peak performance, but on the systematic enablement of the distributed training pipeline:
- Operator Layer: Completing the forward and gradient implementations for hybrid attention and MoE operators, which forms the foundation for all upper-level capabilities.
- Parallel Layer: Utilizing FSDP2 (Fully Sharded Data Parallel 2) for unified sharding management of parameters, gradients, and optimizer states, significantly reducing single-GPU memory usage and allowing the trimmed small-scale configuration to cover the full pipeline.
- Communication Layer: Cross-node communication is handled by a self-developed collective communication library, responsible for critical operations like All-Reduce and All-to-All.
All three are indispensable. Any defects in one layer will manifest as numerical anomalies or interruptions during training.
Overall Adaptation Trends in the Domestic Compute Ecosystem
Based on public industry information, the adaptation pace between domestic GPUs and mainstream large models is clearly accelerating:
- Several domestic compute vendors have completed multimodal pre-training and reinforcement learning tasks on 1,000-GPU clusters, with precision aligning with international peers.
- Some vendors’ training adaptations have covered multiple mainstream open-source model series and are extending to 10,000-GPU cluster scenarios.
- Domestic cloud providers’ in-house AI chip clusters have also supported the complete training of critical versions of their own large models. One cloud provider disclosed at a developer conference that its fully domestic cluster achieved an effective training rate of 97%.
- Inference acceleration cards from a single vendor have been adapted to hundreds of mainstream large models, covering the vast majority of non-closed-source models.
On the market front, third-party consulting firms predict that high-end AI chip shipments in the Chinese market will maintain high-speed growth, with local solutions capturing nearly 90% of the market share (including cloud providers’ self-developed dedicated chips). This implies that “domestic compute training domestic models” is transitioning from feasibility verification to scaled deployment.
Understanding the Distance Between “Pipeline Verification” and “Full Pre-training”
It must be emphasized that the 400-step trimmed training verification solves the problem of correctness, not scale and efficiency. A clear gap remains between the two:
- Scale Gap: Scaling from 16 GPUs to 1,000 or 10,000-GPU clusters requires solving a series of engineering issues, including communication topology optimization, fault tolerance, resuming from checkpoints, and data pipeline throughput.
- Efficiency Gap: The trimmed verification did not involve performance techniques essential for large-scale training, such as deep operator fusion optimization, mixed-precision scheduling, and long-sequence parallelism.
- Stability Gap: Long-cycle training spanning weeks or months requires far higher tolerance for hardware failure rates, cluster scheduling, and monitoring/alerting systems compared to short-term verification.
Therefore, a more reasonable interpretation of this disclosure is: domestic GPUs have completed functional verification on the most challenging MoE multimodal training pipeline. The next step is to scale these verification results to real-world sizes and measure large-scale capabilities using metrics like effective training rate and MFU (Model FLOPs Utilization).
Conclusion
The training adaptation of trillion-parameter MoE multimodal models is a touchstone for testing the maturity of a domestic AI compute software stack. The systematic enablement across the three layers—operator implementation, sharding parallelism, and collective communication—marks a critical evolution for domestic GPUs from “inference-ready” to “training-ready.” As adaptation cases accumulate and more engineering details are disclosed, the synergy between the domestic compute ecosystem and large models will enter a virtuous cycle, providing a more solid compute foundation for large-scale model training.
