Validating Trillion-Parameter MoE Multimodal Training on a Chinese-Made GPU: A Technical Analysis

    This article explains how a Chinese GPU vendor validated the training pipeline for a 2.8-trillion-parameter native multimodal MoE model in a lab setting. It covers the technical challenges of dynamic sparse attention and expert routing, the trimmed configuration used for validation, distributed training with FSDP2 and cross-node communication, the results over 400 training steps, and the remaining challenges before full-scale training.

    In recent years, large language models have moved toward multimodal and mixture-of-experts (MoE) architectures, and parameter counts have quickly reached the trillion scale. This puts heavy demands on the underlying compute infrastructure, especially the training support for Chinese-made GPUs. Recently, a Chinese GPU vendor validated the training pipeline for a native multimodal large model with 2.8 trillion parameters and an MoE architecture in a lab environment. Running on two machines with 16 GPUs in total, the training completed 400 consecutive steps without numerical overflow or unexpected interruptions. This milestone shows progress in adapting Chinese GPUs to complex models, and it offers a practical reference case for trillion-scale model training across the industry.

    1. Technical Challenges of Multimodal MoE Models

    A 2.8-trillion-parameter multimodal MoE model has two core features: dynamic sparse attention and expert routing. Both improve the model’s expressive power and computational efficiency. They also set a high bar for the underlying multi-GPU communication and memory management.

    Dynamic sparse attention comes first. In multimodal settings, the image features from the vision tower are fused with the language backbone’s features, and the sequence length grows sharply. Dynamic sparse attention reduces complexity by allocating compute dynamically. However, this requires the underlying operators to be highly optimized for memory access patterns and compute pipelines. If the operator library cannot efficiently support dynamic branches and sparse memory access, compute unit utilization can drop easily.

    Expert routing brings communication overhead. The MoE architecture replaces the feed-forward network (FFN) with multiple expert networks, and each forward pass activates only a subset of them, such as the top 8. Sparse activation increases the total parameter count, but it also introduces heavy All-to-All communication. In multi-GPU, multi-node environments, tokens must be dynamically dispatched to and gathered from different GPUs according to the routing policy. This tests the cluster’s network bandwidth and topology. It also demands low-latency communication libraries and careful memory scheduling, because a small misstep can cause memory fragmentation or communication stalls.

    2. Validation Strategy with a Trimmed Configuration

    Pretraining a full-scale trillion-parameter model is extremely expensive. The early adaptation work mainly aimed to verify the correctness and convergence trend of the training pipeline, so the engineering team used a trimmed configuration.

    For the model structure, the team kept the first 13 layers of the language backbone, retained 16 routed experts, and used a top-8 activation strategy. To keep multimodal feature alignment effective, they kept the full 27-layer vision tower and the cross-modal projection module. This mix of trimming and retention reduced the compute scale. It also ensured that the two core challenges, MoE routing communication and cross-modal feature fusion, were actually triggered and tested.

    For data, the team trained the model from random initialization on an open-source image-text question-answering dataset. This dataset provides both image and text inputs, which allows the team to verify the vision tower’s feature extraction and the alignment quality of the cross-modal projection module.

    3. Building an End-to-End Distributed Training Pipeline

    The focus of this work was not peak single-card performance. It was making the full distributed training pipeline work end to end. The team had to implement forward and backward gradient computation for many complex operators from scratch, and build a stable distributed scheduling framework.

    1. Core Operator Implementation and Optimization

    The team implemented the forward and gradient computation for the hybrid attention mechanism and the MoE operators, tailored to the characteristics of the multimodal MoE model. During backpropagation, the gradient accumulation of routing weights and the updates of expert parameters had to be handled precisely. By optimizing the underlying kernels, the team kept computation accurate and stable under dynamic input shapes.

    2. FSDP2 and Shard Management

    With such a large parameter count, memory management determines whether training succeeds. This work used PyTorch’s FSDP2 (Fully Sharded Data Parallel 2) framework to shard model parameters, gradients, and optimizer states. Compared with the first-generation FSDP, FSDP2 offers more flexible memory management and better support for heterogeneous computing. It can reduce peak memory usage on each GPU, which makes running very large models within limited device memory feasible.

    3. Cross-Node Communication Optimization

    A 16-GPU setup across two machines means training must synchronize data across node boundaries. The implementation used a high-performance collective communication library for this cross-node traffic. To address the All-to-All bottleneck in MoE, the library applied topology-aware optimizations at the low level. Multi-rail networking and computation-communication overlap hid communication latency as much as possible, which kept coordination across GPUs smooth.

    4. Key Validation Metrics and Results

    After 400 consecutive training steps, the metrics showed good engineering stability. No numerical overflow or unexpected interruption occurred, which indicates that the pipeline adaptation is correct.

    1. Loss Convergence

    In the early phase, averaged over steps 21 to 70, the training loss was 8.9365. The average over the last 50 steps fell to 2.1802. The validation loss dropped from 6.5297 to 4.6873. This smooth, steadily declining loss curve suggests that, even with the trimmed configuration, the model learned multimodal feature alignment normally and the vision branch took part in parameter updates.

    2. Memory Usage

    With FSDP2 sharding, peak GPU memory in the two-machine, 16-GPU setup held steady at 44.80 GiB. This shows that the current memory scheduling strategy can complete sharded computation for a trillion-parameter-scale model without out-of-memory (OOM) errors.

    5. From Pipeline Validation to Full-Scale Training

    The 400-step continuous training run and the gradient check results are encouraging. However, a trimmed pipeline validation is not equivalent to full-scale pretraining. Moving from this stage to full training of a trillion-parameter model still poses many challenges for Chinese GPUs and the broader compute ecosystem.

    1. Scaling the Cluster

    Scaling from two machines with 16 GPUs to thousands or tens of thousands of GPUs makes the network topology far more complex. Communication congestion, node heterogeneity, and fault tolerance all need redesign at that scale. Maintaining near-linear speedup at the ten-thousand-GPU level is a key problem that full-scale training must solve.

    2. Long-Running Stability and Fault Tolerance

    Full-scale pretraining typically runs for weeks or even months. Over that period, hardware failures and network jitter are almost unavoidable. The system therefore needs frequent checkpointing and fast recovery. In a cluster of tens of thousands of GPUs, even a very low failure rate per node significantly increases the overall failure frequency of the system. A highly reliable fault-tolerant training framework is therefore a prerequisite for full-scale training.

    6. Summary

    Completing the training pipeline validation for a 2.8-trillion-parameter MoE multimodal model is an important engineering milestone for China’s AI compute on the training side. By validating dynamic sparse attention, MoE routing communication, and the FSDP2 sharding strategy under a trimmed configuration, the work provides useful practical experience for the industry. As cluster sizes grow and long-running stability techniques mature, the application of domestic compute to full-scale pretraining of trillion-parameter models is expected to expand. Market adoption and technical capability of high-end Chinese AI chips are also expected to grow.