Adapting Chinese-Developed AI Compute for Training Trillion-Parameter Multimodal Models: An Engineering Practice
A Chinese GPU vendor reports that its lab completed training pipeline adaptation for a native multimodal MoE model with 2.8 trillion parameters. The validation ran 400 consecutive steps on two machines with 16 accelerators, with no numerical overflow or interruptions and a steadily decreasing loss. The article explains why training adaptation is harder than inference, outlines the three main challenges of this model class, describes the validation method and metrics, and explains how a reduced-configuration test differs from full-scale pretraining.
1. Background: A Key Step for Domestic GPU Training
Recently, a Chinese GPU vendor announced that its lab had completed training pipeline adaptation for a native multimodal MoE model with 2.8 trillion parameters. Running on two machines with 16 accelerators, the team completed 400 consecutive training steps. The run had no numerical overflow or abnormal interruptions, and the training loss showed a healthy convergence trend.
The significance lies in the systematic connection of the entire training pipeline, not in a single working run. In AI infrastructure, inference adaptation and training adaptation differ greatly in difficulty. Inference only requires the forward pass to be correct. Training requires the forward pass, backward gradients, parameter updates, distributed communication, and memory scheduling to all be correct and numerically stable at the same time. A precision error or communication bottleneck in any one stage shows up as diverging loss, exploding gradients, or hung processes.
Public industry information shows that several Chinese chip vendors have accelerated their training adaptation work over the past year. One vendor disclosed multimodal pretraining and reinforcement learning on a cluster of a thousand accelerators. Another said its accelerators had been adapted to hundreds of mainstream open-source models. A cloud provider reported that a fully domestic cluster built on its in-house chips trained an important version of a flagship model, with a reported effective training rate of 97%. Overall, domestic compute is moving from “usable for inference” toward “feasible for training.” This validation of a trillion-parameter MoE multimodal model is a typical example of that trend.
2. Why Trillion-Parameter MoE Multimodal Models Are the Hardest Case for Training Adaptation
To judge the technical value of this validation, it helps to first look at the three challenges this class of model places on hardware and software stacks.
1. Irregular computation from dynamic sparse attention
Native multimodal models commonly use hybrid attention. Attention patterns differ between text tokens, between visual tokens, and across modalities. These models often add dynamic sparsification to reduce compute. Sparse attention means the operators are no longer regular dense matrix multiplications. Instead, the computation graph includes dynamic indexing and variable-length blocks. This requires the GPU to provide efficient gather/scatter kernels, operator scheduling for dynamic shapes, and a matching automatic differentiation implementation. Forward operators alone are not sufficient. Each gradient operator must also be aligned.
2. Communication pressure from MoE expert routing
Most of the 2.8 trillion parameters in the MoE model sit in expert networks. In this reduced configuration (16 routed experts, top-8 activation), each token is routed to 8 experts. Under expert parallelism, every training step therefore involves large-scale All-to-All communication. Tokens are first sent to the devices that host their assigned experts, and the results are gathered back after computation. All-to-All is one of the primitives most sensitive to cluster interconnect bandwidth and topology. Across nodes, it can easily become a throughput bottleneck. For this reason, the performance and stability of the collective communication library, such as the implementations commonly used in the industry (NCCL and MCCL, for example), directly determine whether MoE training can run at all and how fast it runs.
3. Pushing memory management to its limits
Even after reduction, the parameters, gradients, and optimizer states of a trillion-parameter model far exceed the memory of a single accelerator. Adam optimizer states are twice the size of the parameters. In this validation, peak memory per accelerator was about 44.8 GiB. This was made possible by fully sharded data parallelism techniques such as FSDP2. FSDP2 shards parameters, gradients, and optimizer states across devices, gathers them on demand during computation, and frees them after use. The precision of sharding decides whether memory stays within a safe range without sacrificing too much throughput. Key choices include when to prefetch parameters, when to release shards, and how to overlap communication with computation.
3. Engineering Methodology for Training Pipeline Validation
This validation offers useful reference points for method design and can be developed into a general adaptation validation framework.
1. Reduced configuration: a controlled validation strategy
The validation did not attempt full scale. It used a reduced configuration with clear control goals. The language backbone was cut to 13 layers, and 16 routed experts were kept (with top-8 activation). The 27-layer vision tower and the cross-modal projection modules were kept in full. The reduction exists so the task fits a small-scale cluster. Keeping the vision branch intact makes sure the core multimodal property is truly tested. Removing the vision tower to simplify the setup would have made the validation unrepresentative of multimodal training.
Training data was a medical visual question answering image-text dataset, and parameters were randomly initialized. Random initialization means no existing weights were loaded. This removes weight-compatibility effects and isolates the most demanding case, training from scratch.
2. Observable evidence of numerical stability
Many cases only report that “adaptation succeeded.” This validation instead disclosed a full set of quantitative evidence:
- Training loss: The mean over steps 21 to 70 was 8.9365. The mean over the final 50 steps fell to 2.1802, with a smooth convergence curve.
- Validation loss: It dropped from 6.5297 to 4.6873, in step with the training loss. This suggests the gradient updates move in the right direction without abnormal overfitting.
- Gradient check: The vision branch was confirmed to take part in parameter updates. This rules out broken gradient flow, a common risk in multimodal training.
- Run stability: The 400 consecutive steps had no numerical overflow (NaN/Inf) and no abnormal interruptions.
Each item corresponds to a different failure mode in the training pipeline. Loss that fails to converge points to operator precision issues. Diverging validation loss points to the data or evaluation pipeline. Modules that do not update point to how the gradient graph was built. Overflow partway through a run points to the mixed-precision strategy. By reporting data for each item, the validation rules out each fault hypothesis in turn.
3. Systematic completion of the software stack
From an engineering standpoint, the adaptation had three core parts. First, forward and backward kernels were implemented for the hybrid attention and MoE operators. This is the lowest-level step that unlocks compute. Second, parameter sharding and memory management were built on FSDP2 to make the model fit in memory. Third, an in-house collective communication library carried cross-node communication to keep nodes connected. Together these form a layered stack. If any layer is missing, training cannot run end to end.
