Chinese-Made GPU Validates Training Pipeline for Trillion-Parameter Multimodal MoE Model
This article covers a training pipeline validation of a trimmed configuration of a 2.8-trillion-parameter MoE multimodal model, run on a two-node, 16-GPU setup with Chinese-made GPUs. It explains the main challenges of dynamic sparse attention and expert routing, the operator and distributed sharding work behind the test, the reported loss and memory results, and the remaining gap to full-scale pretraining.
Engineering Challenges of Trillion-Parameter Multimodal Models
As large models move toward native multimodality and ultra-large scale, Mixture-of-Experts (MoE) architectures with trillions of parameters have become a major focus in the industry. Models of this kind, such as a native multimodal MoE model with 2.8 trillion parameters, offer strong generalization. They also place demanding requirements on the underlying hardware and training frameworks.
The core difficulties fall into two areas. First, dynamic sparse attention significantly reduces computational complexity in long-context processing, but it introduces dynamic memory access patterns. This puts pressure on memory bandwidth and memory access continuity. Second, expert routing selects activated experts dynamically in each forward pass. This sharply increases cross-device and cross-node communication, and it raises the engineering bar for multi-GPU communication topology and memory scheduling.
Validation Setup and Environment
To test how well Chinese-made GPUs handle these architectures, a domestic GPU lab recently ran a targeted training pipeline validation. The test used a two-node, 16-GPU configuration. In this environment, the team completed 400 consecutive training steps without numerical overflow or unexpected interruptions.
Full-scale pretraining of a trillion-parameter model requires enormous compute, so the test used a trimmed configuration:
- Language backbone: Truncated to 13 layers, retaining 16 routed experts with a Top-8 activation strategy.
- Multimodal modules: The full 27-layer vision tower and the cross-modal projection module were kept to preserve the integrity of the multimodal fusion path.
- Training data: Training ran from random initialization on a mainstream open-source image-text VQA dataset.
The trimmed configuration did not aim for peak single-GPU performance. Its purpose was to connect the distributed training pipeline end to end and check whether training functions and loss trends behave reasonably.
Core Engineering: Operator Completion and Distributed Sharding
The main engineering focus was connecting the distributed training pipeline end to end. This requires the software and hardware stack to run basic operators reliably and to coordinate efficiently across a complex distributed network.
1. Operator Forward and Gradient Implementation
To support the hybrid attention and MoE architecture, the team filled substantial gaps in its low-level operators. They implemented dynamic sparse attention computation and expert routing dispatch in the forward pass. They also implemented gradient computation for the backward pass. This ensures that key modules, including the vision branch, take part in parameter updates.
2. Distributed Sharding Management
To address GPU memory limits, this training used Fully Sharded Data Parallelism (FSDP), a widely used industry technique. The approach shards model parameters, gradients, and optimizer states across the data-parallel worker nodes. Parameter layers are gathered dynamically through a cross-node communication library only when forward and backward computation needs them.
The following pseudocode shows the core logic:
# Pseudocode: training logic based on fully sharded data parallelismdef train_step(model, optimizer, data):# 1. Launch an All-Gather through the cross-node communication library to gather the parameters needed for the current layerfull_params = comm.all_gather(model.shard_params)# 2. Forward pass: compute multimodal featureslogits = model.forward(data, full_params)loss = compute_loss(logits, data.labels)# 3. Backward pass: compute gradientsloss.backward()# 4. Launch a Reduce-Scatter through the cross-node communication library to synchronize and shard the gradientsmodel.shard_grads = comm.reduce_scatter(model.full_grads)# 5. Optimizer updates the local parameter shardoptimizer.step(model.shard_params, model.shard_grads)# 6. Free the non-sharded full parameter memoryfree(full_params)
This approach reduces peak memory from full parameters, gradients, and optimizer states to sharded parameters plus temporarily gathered parameters. It helps ease the memory wall for multimodal large models.
Training Data Validation and Performance Analysis
The main goal was to verify training functionality and loss convergence. According to the lab’s disclosed data, training converged well:
- Training loss: Fell from a mean of 8.9365 over steps 21–70 to a mean of 2.1802 over the last 50 steps.
- Validation loss: Decreased from 6.5297 to 4.6873, showing improved generalization.
- Memory usage: With the two-node, 16-GPU setup, peak memory stayed at 44.80 GiB, which shows the sharding strategy is effective.
- Parameter updates: Vision branch parameters took part in updates normally, confirming that the cross-modal projection module is fully connected to the forward and backward paths.
Based on publicly disclosed information, detailed engineering case studies for a 2.8-trillion-parameter MoE multimodal model are still rare in the industry. Those studies would report continuous training steps, loss curves, and gradient checks. This makes the case a valuable reference point for the reproducibility of Chinese-made GPUs on the training side.
Industry Trends in Domestic AI Chips for Training
Domestic GPU adoption for large models is accelerating, and several Chinese vendors have made notable progress on the training side. For example, Baidu announced at a developer conference that a fully domestic cluster built on its in-house AI chips had completed training for an important large-model release, with an effective training rate of 97%. In addition, accelerator cards from several vendors have been adapted to hundreds of mainstream large models, covering most open-source models. In multimodal pretraining and reinforcement learning scenarios, their accuracy is gradually aligning with mainstream international products.
An industry consulting firm forecasts that China’s high-end AI chip shipments will reach about 5 million units by 2026, up roughly 83% year
