Trillion-Parameter MoE Multimodal Training on Domestic GPUs: Pipeline Validation and Engineering Practice
A domestic GPU vendor has validated a training pipeline for a 2.8-trillion-parameter native multimodal MoE model on a two-node, 16-GPU lab configuration, running 400 consecutive steps without numerical overflow or abnormal interruption. This article examines the architecture challenges, trimmed validation configuration, distributed engineering work, convergence and memory results, and the remaining gap to full-scale pretraining. It also reviews progress in the domestic compute ecosystem and the communication and stability challenges that must be addressed when scaling from 16 GPUs to thousand-GPU and ten-thousand-GPU clusters.
As large models evolve toward multimodality and mixture-of-experts architectures, trillion-parameter training places severe demands on underlying compute infrastructure. Recently, domestic GPUs achieved an important breakthrough in training-pipeline validation for trillion-parameter MoE multimodal models: a domestic GPU vendor, in a lab environment, used a two-node 16-GPU configuration to complete training-pipeline adaptation for a 2.8-trillion-parameter-class native multimodal MoE model. The system completed 400 consecutive training steps without numerical overflow or abnormal interruption. This progress indicates that domestic compute has significantly improved its system-engineering capability for complex large-model architectures. This article analyzes the technical practice from four perspectives: architecture challenges, validation strategy, engineering implementation, and industry status.
1. Adaptation Barriers of Trillion-Parameter MoE Multimodal Architectures
A 2.8-trillion-parameter-class native multimodal MoE model imposes extremely high technical barriers on multi-GPU communication and memory management. These barriers are mainly reflected in three areas:
- Memory fluctuation from dynamic sparse attention: When multimodal models process heterogeneous data such as images and text, sequence lengths vary greatly. Dynamic sparse attention can reduce the computational complexity of long sequences, but its dynamic KV-cache allocation strategy causes memory usage to fluctuate irregularly. Domestic GPUs must have highly responsive low-level memory scheduling and fragmentation management; otherwise, OOM (Out of Memory) exceptions are easily triggered.
- Cross-GPU communication bottleneck in expert routing: The core of the MoE architecture is to distribute parameters across multiple expert networks and dynamically select activated experts through a gating network during forward propagation. When the Top-K activation mechanism takes effect, input tokens must be distributed through All-to-All communication to GPU nodes holding the corresponding experts. In a multi-node topology such as two nodes with 16 GPUs, cross-node network latency and bandwidth limits can severely constrain the compute-to-communication ratio.
- Precision alignment in cross-modal projection: Native multimodal models usually contain an independent vision encoder tower and a language backbone network, connected by a cross-modal projection module. Because visual features and text semantics have different distributions, the projection module is prone to gradient-scale mismatch during backpropagation, placing strict requirements on the numerical precision of low-level operators.
2. Validation Design and Trimmed Configuration
Given the scale of 2.8 trillion parameters, direct full pretraining is not only costly but also makes it difficult to quickly locate engineering defects in the pipeline. Therefore, this validation adopted a “trimmed configuration” strategy. Its core purpose was to verify training-function completeness and loss-convergence trends, rather than to pursue single-GPU peak performance.
Technical details of the trimmed configuration:
- Language backbone: The first 13 layers were retained, reducing computational depth to quickly validate core language logic.
- MoE routed experts: 16 routed experts were retained with a Top-8 activation mechanism, fully reproducing MoE sparse activation and communication logic.
- Vision and cross-modal modules: The complete 27-layer vision tower and cross-modal projection module were retained to ensure realistic evaluation of multimodal alignment capability.
- Dataset and initialization: Random-initialization training was performed on a medical image-text question-answering dataset to verify gradient-flow health under cold-start conditions.
This design retained the engineering difficulties of the MoE architecture and multimodal fusion while reducing time cost by shrinking language-backbone depth. It is a typical and scientifically sound pre-validation method for distributed training.
3. Distributed Training Engineering and Pipeline Completion
From an engineering perspective, the focus of this adaptation was systematic completion of the distributed training pipeline. During this process, domestic GPUs completed forward and gradient implementations for hybrid attention and MoE operators and deeply optimized the underlying architecture.
1. Extreme memory sharding based on FSDP
To address the memory pressure caused by large-scale parameters, the system adopted Fully Sharded Data Parallelism. Unlike traditional data parallelism, FSDP shards model parameters, gradients, and optimizer states across data-parallel process groups. When forward or backward computation is needed, full parameters are dynamically collected through All-Gather operations; after computation, they are released immediately, greatly reducing per-GPU peak memory.
# Pseudocode: FSDP distributed initialization example for a MoE multimodal modelfrom torch.distributed.fsdp import FullyShardedDataParallel as FSDPmodel = MoEMultimodalModel(config)# Cross-node collective communication library handles gradient and parameter synchronizationmodel = FSDP(model,sharding_strategy=ShardingStrategy.FULL_SHARD,cpu_offload=CPUOffload(offload_params=False),auto_wrap_policy=moe_auto_wrap_policy)for step in range(1, 401):# Forward computation and multimodal feature projectionlogits = model(input_ids, images)loss = compute_cross_entropy(logits, labels)# Gradient check to prevent numerical overflowloss.backward()if torch.isnan(loss) or torch.isinf(loss.grad):raise RuntimeError(f"Numerical overflow at step {step}")optimizer.step()optimizer.zero_grad()
2. Cross-node optimization of the collective communication library
Cross-node communication was handled by a standard collective communication library. In a 16-GPU two-node environment, intra-node connections typically use high-bandwidth NVLink or PCIe Switch, while inter-node communication relies on RDMA networking. The communication library needs topology-aware optimization for MoE All-to-All patterns, overlapping expert-routing communication with data-parallel communication to hide network latency.
3. Training convergence and memory behavior
According to data disclosed by the lab, during 400 consecutive training steps:
- Training loss converged significantly from 8.9365 (mean of steps 21–70) to 2.1802 (mean of the last 50 steps).
- Validation loss dropped from 6.5297 to 4.6873.
- Peak memory was held at 44.80 GiB, and the vision branch participated deeply in parameter updates.
These data indicate that, under the trimmed configuration, the model not only successfully completed forward computation and backpropagation, but its loss-decline curve also matched the expected convergence pattern of early large-model training. This validates the compatibility of domestic GPU operator precision with the distributed framework. Disclosure of such detailed gradient-check and loss-engineering information for a 2.8-trillion-parameter-class MoE multimodal model is rare in the industry and provides valuable engineering milestones for reproducibility on the training side.
4. Domestic Compute Ecosystem Progress and Full-Scale Training Outlook
In recent years, the adaptation pace between domestic GPUs and large models has continued to accelerate, extending from single-GPU operator adaptation to thousand-GPU and ten-thousand-GPU cluster scenarios. Industry data shows that thousand-GPU clusters from multiple vendors have completed multimodal pretraining and reinforcement learning, with precision gradually aligning with mainstream international products. For example, in thousand-GPU and ten-thousand-GPU cluster scenarios, Baidu AI Cloud, using all-domestic clusters including Kunlun chips, achieved an effective training rate of up to 97% in training important large-model versions, setting an industry benchmark. Meanwhile, general-purpose compute units from some vendors have been adapted to hundreds of mainstream large models, covering most of the non-closed-source model ecosystem.
However, it is important to recognize that there is still a large engineering gap between this “trimmed-configuration pipeline validation” and “full-scale pretraining of a complete trillion-parameter model”:
- Communication wall when scaling clusters: When the number of GPUs expands from 16 to thousands or even tens of thousands, the fan-out of All-to-All communication increases exponentially, and network congestion control and fault tolerance will become core challenges.
- Long-term stable operation: Full-scale pretraining usually requires weeks or even months, placing extremely high demands on underlying hardware stability, rapid isolation of faulty nodes, and checkpoint-resume capability.
According to forecasts from industry consulting organizations, China’s high-end AI chip shipments are expected to reach about 5 million units in 2026, with significant year-over-year growth, and the share of local solutions is expected to approach 90% (including cloud providers’ custom ASICs). Under the broader trend of compute localization, every completed training pipeline and every disclosed engineering detail is a key step toward maturity for domestic AI chips. In the future, as distributed communication optimization and fault-tolerant training frameworks mature further, domestic compute will be positioned to handle larger-scale and longer-cycle full pretraining tasks.
