Domestic GPU Validates Distributed Training Pipeline for a 2.8-Trillion-Parameter MoE Multimodal Model
This article explains how a domestic Chinese GPU vendor's lab adapted and validated a training pipeline for a 2.8-trillion-parameter MoE native multimodal model. It covers the main engineering challenges of MoE and multimodal training, the trimmed configuration used for testing, the operator, sharding, and communication work involved, and the results of a 400-step run on two machines with 16 cards. It also looks at what remains before full-scale pretraining on clusters of thousands or tens of thousands of cards.
Large language models are scaling toward trillions of parameters, and mixture-of-experts (MoE) architectures and native multimodal capabilities have become central to the development of base models. This trend places demanding requirements on the underlying AI compute. GPUs need strong single-chip performance, along with systematic support for distributed communication, memory management, and framework integration.
Recently, a domestic Chinese GPU vendor’s lab completed the adaptation and validation of a training pipeline for a 2.8-trillion-parameter MoE native multimodal large model. The work offers a useful engineering reference for using domestic chips to train very large models.
1. Compute Adaptation Challenges for a Trillion-Parameter MoE Multimodal Model
In a 2.8-trillion-parameter MoE (Mixture of Experts) architecture, the model allocates compute efficiently through dynamic sparse attention and expert routing. However, this architecture creates a high engineering barrier in multi-GPU distributed training.
The first challenge is memory pressure. The weights, optimizer states, and gradients of a trillion-parameter model occupy a very large amount of memory, and a single GPU usually cannot hold all of them.
The second challenge is irregular multi-GPU communication. MoE uses Top-K activation to route tokens to expert networks on different GPUs. This produces frequent, irregular All-to-All communication. If communication latency cannot be hidden behind computation, GPUs sit idle while they wait.
The third challenge comes from native multimodal design. The vision encoder and the language backbone must perform cross-modal projection and feature alignment, which adds further complexity to memory scheduling and computation graph construction.
2. Trimmed Configuration and Model Structure for Pipeline Validation
To verify training functionality and loss trends, the team did not run full-scale pretraining. They used a trimmed configuration, a common industry practice, to connect the end-to-end pipeline. The purpose of the trimmed test was to use limited compute to find operator precision issues, verify the correctness of communication primitives, and check whether the model converges normally.
The language backbone was cut to 13 layers and configured with 16 routed experts, using Top-8 activation. To keep multimodal feature fusion intact, the test retained the full 27-layer vision tower and the cross-modal projection module. The training data came from image-text question-answering datasets, including MedPix-VQA, and the model was trained from randomly initialized weights. This trimmed setup keeps the core engineering difficulties of MoE and multimodal training while keeping validation costs under control.
3. Engineering the Distributed Training Pipeline
The goal of this adaptation was not to maximize single-card peak performance. It was to bring up the distributed training pipeline as a whole, which required coordination from low-level operators to framework communication.
1. Operator completion and precision alignment
The domestic GPU needed forward and backward gradient operators for the hybrid attention and MoE-specific structures. The development team had to understand the model architecture in depth, write efficient kernel functions, and keep numerical stability under different precisions such as FP16 and BF16, preventing gradient explosion or vanishing.
2. Distributed sharding
Given the parameter count, the test used Fully Sharded Data Parallel (FSDP), a widely used industry technique, for optimization. FSDP shards parameters, gradients, and optimizer states at a fine granularity. It gathers parameters with All-Gather only when a layer needs them for computation, then releases the parameters of non-active layers immediately after use. This substantially reduces per-GPU memory usage.
3. Cross-node communication optimization
In the two-machine, 16-card configuration, cross-node communication is handled by a high-performance collective communication library, MCCL. For the All-to-All primitives used by MoE, the library must be tuned to the RDMA network topology of the underlying hardware. The goal is lower communication latency and higher bandwidth utilization, so that expert routing runs smoothly.
4. Training Metrics and Convergence Analysis
On the two-machine, 16-card setup, the system completed 400 training steps in a row with no numerical overflow or unexpected interruptions. The disclosed engineering details show stable training and convergence:
- Training loss: Dropped from 8.9365 (average of steps 21 to 70) to 2.1802 (average of the final 50 steps).
- Validation loss: Dropped from 6.5297 to 4.6873, which suggests the model has generalization ability.
- Resource usage: Peak memory usage stayed at 44.80 GiB, and the vision branch parameters were verified to update normally.
Few teams publish detailed engineering information for a 2.8-trillion-parameter MoE multimodal model, including loss curves and gradient checks. This level of transparency gives the community a solid reference point for reproducing training on domestic GPUs.
5. Industry Adaptation Trends and Outlook for Full-Scale Training
Domestic GPU adaptation for large models is moving quickly. Several domestic computing vendors have completed adaptation for multimodal pretraining and reinforcement learning on clusters of thousands or even tens of thousands of cards. Baidu AI Cloud, for example, used its in-house AI chips to build a fully domestic cluster that completed training for an important version of its ERNIE large model, with an effective training rate of 97%. Various heterogeneous computing platforms also claim to support hundreds of mainstream open-source large models, covering most of the non-closed-source ecosystem.
Even so, a large gap remains between a few hundred steps of trimmed pipeline validation and full-scale pretraining of a trillion-parameter model.
1. Scaling the cluster
As clusters grow from 16 cards to thousands or tens of thousands, network topology complexity and hardware failure rates rise sharply. Communication bottlenecks, load balancing strategies, and fault-tolerant checkpoint-and-resume mechanisms at that scale will face real-world tests.
2. Long-running stability
Full-scale pretraining typically runs for weeks or months. Over such long runs, memory fragmentation management, hot-swap fault tolerance, and the tracking of memory leaks in complex computation graphs test the combined strength of the underlying software and hardware stack.
An industry research institution predicts that shipments of high-end AI chips in the Chinese market will keep growing rapidly, and that domestic solutions, including in-house ASICs from cloud providers, could account for nearly 90% of the share. In this context, leading cloud providers such as Baidu AI Cloud, which have full-stack in-house technology and experience operating clusters of tens of thousands of cards, are pushing domestic computing toward deeper applications.
For the domestic GPU ecosystem, this 400-step continuous training validation is a milestone. Moving from “usable” to “production-ready” will require continued work on cluster scaling and long-running stability, which is what makes large-scale deployment of trillion-parameter multimodal models possible.
