Adapting China-Developed GPUs for Trillion-Parameter MoE Multimodal Training: Engineering Practices
This article examines a reported adaptation of a 2.8-trillion-parameter MoE multimodal model to the training pipeline on China-developed GPUs. It covers the main systems challenges in training this type of model, including operator coverage, parameter sharding, and cross-node communication. It also explains how to validate a training pipeline and what separates a 400-step run from full-scale pretraining.
A Chinese GPU vendor recently announced that its computing platform had completed training pipeline adaptation for a native multimodal model based on a Mixture-of-Experts (MoE) architecture with 2.8 trillion parameters. Running on two machines with 16 GPUs in total, the training completed 400 consecutive steps without numerical overflow or abnormal interruption. This progress is still far from full-scale pretraining. However, the engineering details disclosed offer a technical reference point for assessing how mature China-developed computing power is on the training side. This article uses the event as a starting point to break down the systems engineering problems in training trillion-parameter MoE multimodal models, and offers practical references with broader applicability.
1. Why MoE Multimodal Training Is a Hard Problem
From an architectural standpoint, these models place several overlapping challenges on distributed training systems.
First is dynamic sparse attention. Unlike dense attention, hybrid attention structures route tokens from different positions and modalities through different attention paths. As a result, the operator shapes in the forward pass change dynamically. This requires stronger generalization from GPU kernels and broader operator library coverage. If the underlying operator library only supports standard attention, teams must implement forward and backward gradient kernels separately for sparse, sliding-window, and local-global hybrid variants.
Second is the Mixture-of-Experts (MoE) routing mechanism. Take a configuration of 16 routed experts with Top-8 activation. Every token makes a routing decision at every layer and is dispatched to different expert networks for computation. In a multi-GPU environment, experts are spread across devices, so tokens must be exchanged between cards in an AllToAll pattern. The communication volume scales with the number of experts and the activation ratio. If communication and computation do not overlap well in the pipeline, GPU utilization drops sharply.
Third is the heterogeneous compute load created by the multimodal structure. The language backbone and the vision tower differ greatly in parameter size, compute density, and activation memory. Validation must confirm that the vision branch actually takes part in parameter updates, and that gradients flow back correctly through the cross-modal projection modules.
2. Three Pillars of a Distributed Training Pipeline
Building this kind of training pipeline on China-developed GPUs comes down to three layers of work.
1. Operator Coverage and Alignment
The first step is to implement forward and gradient computation for the model’s key operators. These include hybrid attention, gated routing, and token dispatch and aggregation for expert parallelism. The goal is not only to get the operators running, but also to align their numerical precision with a reference implementation. In practice, teams compare outputs layer by layer against a mature framework’s reference on a single card with small inputs. They keep the relative error within an acceptable threshold, then move on to multi-card integration testing.
2. Parameter and State Sharding
Even after trimming, a trillion-parameter model cannot fit its parameters, gradients, and optimizer states on a single card. The industry commonly uses fully sharded data parallelism (FSDP) or similar approaches. These split parameters, gradients, and optimizer states across devices, then gather them on demand during computation. This approach trades communication for memory, so it is highly sensitive to cross-card bandwidth and scheduling. According to the disclosed data, peak memory per card in this validation was 44.80 GiB. This shows that sharding and activation recomputation helped control memory use.
3. Cross-Node Collective Communication
Two machines with 16 cards create two communication layers: within a node and between nodes. The collective communication library needs targeted optimization for the interconnect characteristics of China-developed GPUs, such as chip-to-chip direct links and network topology. The AllToAll pattern in MoE workloads differs considerably from standard AllReduce. It usually requires separate tuning of chunk size, concurrency, and the overlap between computation and communication.
3. How to Validate a Training Pipeline
Running without errors and training correctly are different things. The disclosed validation offers several dimensions worth learning from:
- Loss convergence trend: Training loss fell from an average of 8.9365 over steps 21 to 70 to an average of 2.1802 over the final 50 steps. Validation loss dropped from 6.5297 to 4.6873. A steady downward loss trend under random initialization, on a fixed dataset of image-text question-answering data, is a strong signal that the pipeline is correct.
- Gradient checks: Monitor gradient norms for each module to confirm there is no gradient explosion, vanishing, or abnormal zero values. Confirm in particular that the vision branch takes part in parameter updates. Multimodal training can fail silently at this point.
- Numerical stability: The 400 consecutive steps ran without numerical overflow, such as NaN or Inf values in the loss, and without abnormal interruptions. This indicates that loss scaling and overflow-skipping in mixed-precision training worked as expected.
- Memory footprint: Peak memory figures can serve as a baseline for capacity planning when the cluster is expanded later.
A recommended validation checklist is shown below:
1. Single-card, single-step forward alignment (error vs. reference < 1e-3)2. Single-card, multi-step backward gradient alignment3. Single-machine multi-card FSDP correctness check (compared with the unsharded result)4. Cross-node communication correctness and bandwidth stress test5. Several hundred consecutive training steps: loss trend, gradient norm, peak memory6. Fault injection tests: checkpoint resume, node failure recovery
4. The Gap Between Pipeline Validation and Full-Scale Pretraining
It is important to be realistic about the gap. This validation used a trimmed configuration. The language backbone was cut to 13 layers, the number of experts was reduced from full scale, and the vision tower was kept complete but trained on limited data. The distance from this setup to full-scale pretraining of the complete 2.8-trillion-parameter model spans several orders of magnitude in engineering complexity:
- Cluster scale-up: Going from 16 cards to
