Chinese GPUs Validate a Trimmed Training Pipeline for Trillion-Parameter Multimodal MoE Models
A 400-step training run on 16 GPUs across two nodes validated a trimmed configuration of a multimodal MoE architecture targeting 2.8 trillion parameters. This article examines the communication, memory, and numerical challenges, the reported training results, and the distributed engineering involved—and explains why full-scale training still requires separate scalability and long-duration reliability tests.
1. Why Trillion-Parameter Multimodal MoE Training Is Difficult
Native multimodal models typically combine a vision encoder, a cross-modal projection module, and a language backbone. With a mixture-of-experts (MoE) language backbone, total parameter counts can reach the trillion-parameter range. However, each token activates only a subset of experts, so the computation required for a forward pass is much smaller than the total parameter count might suggest.
Even with sparse activation, larger models put greater pressure on the training system. Three challenges are particularly important.
Multi-GPU communication. In addition to standard data-parallel and tensor-parallel communication, MoE requires All-to-All communication. Tokens are dispatched to experts on different GPUs according to routing decisions, then returned to their original positions after computation. The more uneven the routing distribution, the harder it becomes to predict communication volume and waiting time.
As a rough estimate, the dispatch data volume for one layer in one training step is:
token count × active experts per token × hidden dimension × bytes per element
The combine phase transfers a comparable amount of data. Together, these two phases account for the layer’s routing communication volume.
GPU memory. Although only some experts are active for each token, the model’s parameters, gradients, and optimizer states still require substantial memory. Dynamic routing can also cause memory fragmentation, making peak memory usage difficult to estimate in advance.
Numerical stability. The vision tower and language backbone can have different gradient scales. During extended joint training, these differences can lead to numerical overflow.
2. Validate a Trimmed Configuration Before Training at Full Scale
Full-scale training typically takes weeks, making trial and error with the complete model expensive. A more cautious approach is to validate the training pipeline with a trimmed model first. The objective of this test was to confirm correct training behavior and a reasonable loss trend—not to maximize per-GPU performance.
The experiment used 16 GPUs across two nodes. The reported 2.8 trillion parameters refer to the target model’s architectural scale, not the configuration actually trained.
The training configuration was reduced as follows:
- The language backbone retained its first 13 layers.
- It used 16 routed experts with a Top-8 activation policy.
- The vision tower and cross-modal projection module were retained in full, comprising 27 layers in total.
- Training used a public image–text question-answering dataset.
- The model was trained from random initialization.
The run completed 400 steps without numerical overflow or abnormal interruption. The reported monitoring results were:
| Metric | Reported result |
|---|---|
| Training loss | Mean loss fell from 8.9365 over steps 21–70 to 2.1802 over the final 50 steps. |
| Validation loss | Decreased from 6.5297 to 4.6873. |
| Peak GPU memory | Remained stable at 44.80 GiB. The disclosure did not specify whether this included gradients and optimizer states, or whether the figure was per GPU or aggregate. |
| Gradient behavior | Vision-branch parameters participated normally in updates, with no reported exploding or vanishing gradients. |
The public disclosure did not provide the batch size, sequence length, learning rate, or precision settings. It also did not specify the validation evaluation steps. These details are necessary for reproducibility, so readers should interpret the results in the context of their own configurations.
3. Making the Distributed Training Pipeline Work
A working training pipeline depends on more than individual operators. The engineering effort covered three areas.
3.1 Forward and Backward Implementations for Core Operators
MoE expert routing and multimodal mixed-attention modules require custom forward and backward computations. The central requirement is accurate gradient propagation as tokens are dispatched to different experts and then combined back into their original positions.
Errors in this logic can be difficult to detect from loss alone. Loss may continue to decrease even if some experts or the vision branch receive no effective updates. Validation should therefore check that each expert has nonzero gradients and that vision-branch parameters actually change.
3.2 FSDP Sharding: Illustrative Code
To reduce memory pressure, the training setup used Fully Sharded Data Parallel (FSDP) to shard parameters, gradients, and optimizer states.
The following example uses the PyTorch FSDP2 interface. It is illustrative rather than directly runnable: build_trimmed_moe_model is a placeholder that must be replaced with the actual model-building logic.
import torchfrom torch.distributed.fsdp import fully_shard, MixedPrecisionPolicymp_policy = MixedPrecisionPolicy(param_dtype=torch.bfloat16, # Parameter precision for forward and backward computationreduce_dtype=torch.float32, # Gradient reduction precision; adjust to the actual configuration)model = build_trimmed_moe_model(config) # Placeholder; replace with actual model-building logic# Shard individual layers, then shard the overall modelfor layer in model.layers:fully_shard(layer, mp_policy=mp_policy)fully_shard(model, mp_policy=mp_policy)
After sharding, each GPU retains only part of the parameters. When a layer’s parameters are needed for forward computation, All-Gather retrieves the complete parameters for that layer. They are released after computation. This on-demand approach substantially reduces persistent per-GPU memory usage.
3.3 Cross-Node Communication Optimization
In a multi-GPU, two-node environment, inter-node communication latency is a major bottleneck. The team optimized gradient synchronization and MoE routing communication to maintain timing coordination and data consistency across the 16 GPUs during training.
The specific techniques depend on the collective communication library and hardware topology. The public disclosure did not describe those implementation details.
4. What Remains Between 16 GPUs and Full-Scale Training?
Chinese GPU hardware is being adapted to large-model workloads at an accelerating pace. Some vendors have disclosed clusters with 1,000 GPUs or more, but reporting methods differ, so those figures are not used here.
This experiment shows that a trimmed configuration of a trillion-parameter-scale multimodal MoE architecture can complete a training run on 16 GPUs across two nodes. It does not establish that the full model can be trained successfully at scale. At least two further challenges remain.
Cluster Scaling
Moving from 16 GPUs to thousands or tens of thousands introduces more complex network topologies. At larger scales, synchronization overhead from All-to-All communication can grow rapidly. Whether the system can maintain near-linear speedup requires dedicated testing.
Long-Duration Reliability
Very large pretraining runs typically last weeks or months. Hardware failures and network disruptions are difficult to avoid over that period. The system needs frequent checkpointing, the ability to resume training, fault detection, and failover capabilities.
Basic validation should examine:
- Checkpoint save intervals.
- Whether the loss curve remains continuous after recovery.
- Recovery time for an individual failure.
- The degree of imbalance in expert workloads.
The experiment demonstrates engineering progress in adapting Chinese GPUs to complex multimodal MoE architectures and establishing a working distributed training pipeline. The next step is to turn that trimmed-model validation into reproducible, full-scale training that remains stable over extended runs.
