Domestic GPU Validates Training Pipeline for a 2.8-Trillion-Parameter MoE Multimodal Model: Technical Challenges and Engineering Practice

    This article explains the technical challenges and engineering work behind adapting a training pipeline for a 2.8-trillion-parameter native multimodal Mixture-of-Experts (MoE) model on a domestic GPU platform. It covers dynamic sparse attention, expert routing and communication overhead, the trimmed configuration used for validation, and the stability and memory results from 400 training steps on two machines with 16 cards in total.

    As large models move toward trillion-parameter scale, Mixture-of-Experts architectures and multimodal capabilities have become central technical directions. A domestic computing lab recently reported that it had adapted the training pipeline for a 2.8-trillion-parameter native multimodal MoE model. The team ran 400 consecutive training steps on a two-machine, 16-card setup with no numerical overflow or unexpected interruptions. The result suggests progress in connecting distributed training links and in operator adaptation on domestic GPUs for very large multimodal models. This article looks at the technical challenges behind the adaptation and the engineering practices the team used.

    1. Training Challenges for Trillion-Parameter MoE Multimodal Models

    A multimodal MoE model is demanding in both size and architecture, and those architectural choices place strict requirements on the underlying hardware. A native multimodal model typically includes a language backbone, a vision tower, and a cross-modal projection module. The dynamic sparse attention and expert routing mechanisms in MoE add two constraints at once: multi-card communication and memory management.

    1.1 Implementation Barriers for Dynamic Sparse Attention

    Attention is the core of the Transformer architecture. Dynamic sparse attention reduces the cost of long-sequence computation by selecting which tokens take part in each computation. However, this dynamic selection produces irregular memory access patterns, which place high demands on GPU memory bandwidth and cache hit rates. Implementing this operator on domestic GPUs requires deep optimization of memory access logic to avoid performance penalties from irregular access. Developers must address numerical precision and memory efficiency together, so that throughput stays high on large batches without severe performance degradation.

    1.2 Expert Routing and Multi-Card Communication Bottlenecks

    An MoE model replaces the feed-forward network with multiple expert networks and activates only the top-K experts for each token during inference or training. Sparse activation reduces computation, but it introduces a large number of All-to-All communication operations. Experts are usually spread across different cards, so data must be routed dynamically to the right expert, processed there, and then returned. This frequent cross-node communication can easily become a training bottleneck and places heavy demands on the latency and bandwidth efficiency of the collective communication library. Poor communication scheduling leaves compute units idle for long periods and lowers overall resource utilization.

    2. Validation Under a Trimmed Configuration and Engineering Details

    The goal of this test was to verify training functionality and loss behavior, not to pursue full-scale pretraining. The team used a trimmed configuration. This approach is common in the early stages of adapting very large models, because it keeps debugging costs down and exposes basic logic problems quickly.

    2.1 Model Trimming Strategy and Validation Goals

    For the language backbone, the team kept 13 layers and configured 16 routed experts with Top-8 activation. The full 27-layer vision tower and the cross-modal projection module were retained. Training ran from random initialization on a public image-text question-answering dataset. This configuration preserves the core topology of a multimodal MoE model while significantly reducing memory use, which allowed the two-machine, 16-card setup to support continuous training. The vision branch was also updated during training, which validated the full multimodal fusion pipeline. Random initialization, rather than loading pretrained weights, makes it easier to test the stability of the training system and the numerical correctness of the underlying operators.

    2.2 Key Training Metrics and Stability Analysis

    Across the 400 consecutive training steps, the system remained stable, with no numerical overflow or unexpected interruptions. Training loss fell steadily from an initial value of 8.9365 (averaged over a selected interval) to 2.1802 (averaged over the final 50 steps). Validation loss dropped from 6.5297 to 4.6873. Peak memory usage was about 44.80 GiB. These figures indicate that the forward and gradient computations of the operators are correct, and that the memory allocation strategy works as intended. Publishing gradient checks and loss curve details from a domestic GPU platform gives the industry a useful engineering baseline and shows that hardware and software co-optimization is feasible.

    3. Systematic Connection of the Distributed Training Pipeline

    For very large models, the key issue is not peak single-card compute. It is whether the distributed training pipeline is connected end to end and whether the software stack is mature.

    3.1 Operator-Level Adaptation: Completing Forward and Gradient Computation

    The first task in the adaptation was to implement the forward and backward gradient computation for the MoE hybrid attention operator. This requires the GPU’s low-level operator library to support not only standard matrix multiplication but also complex dynamic indexing, masking, and custom gradient logic. Developers often write custom operators to fill gaps between the framework and the hardware, so that numerical precision matches mainstream industry implementations. During backpropagation, accurate gradient distribution and aggregation determine whether the model converges, so the hardware driver layer and compiler must expose flexible low-level interfaces.

    3.2 Memory and Communication Optimization: Sharding and Collective Communication

    Training with tens to hundreds of gigabytes of memory requires careful memory management. The system uses Fully Sharded Data Parallel (FSDP2) to shard model parameters, gradients, and optimizer states at a fine granularity. Each device stores only part of the state and retrieves the rest through efficient collective communication when needed. This sharply reduces per-card memory pressure and makes it possible to train a trillion-parameter model on limited hardware. The cross-node communication depends on a customized collective communication library (similar to an MCCL-style solution), which is tuned for All-to-All patterns to keep MoE routing communication efficient. Designing communication to overlap with computation is essential for overcoming scaling bottlenecks across multiple cards.

    Across the industry, the pace of adapting domestic GPUs to large models keeps increasing, and the work is moving into more complex territory.

    4.1 Diversified Progress in Domestic Compute Adaptation

    Several compute vendors have disclosed adaptation progress. Some have used clusters of around a thousand cards to run multimodal pretraining and reinforcement learning, with accuracy gradually approaching that of international products. Others are actively adapting mainstream open-source models and extending their scenarios to clusters of a thousand or ten thousand cards. For example, Baidu announced at a recent technology conference that its fully domestic cluster completed training of an important version of its in-house large model, with an effective training rate of 97%. Another vendor reported that its accelerator cards have been adapted to more than 400 mainstream large models, covering over 99% of non-closed-source models. Together, these results point to a growing domestic compute ecosystem and show that domestic hardware is usable in real business settings.

    4.2 Market Outlook and Future Development

    A market research institution forecasts that shipments of high-end AI chips in the Chinese market could reach about 5 million units in 2026, up 83% year over year. Domestic solutions, including in-house ASICs from cloud providers, are expected to hold a market share close to 90%. As hardware compute and the software stack continue to improve, domestic GPUs are expected to move from being usable to being easy to use. Future challenges center on support for ultra-long contexts, complex reinforcement learning pipelines, and lower-cost large-scale inference deployment.

    Conclusion

    This validation of a trimmed training pipeline for a 2.8-trillion-parameter MoE multimodal model is an important milestone in bringing large-scale domestic GPU systems into engineering use. It shows that domestic hardware, combined with an optimized software stack, can handle the demands of complex MoE architectures and multimodal fusion. As full-scale pretraining and distributed frameworks continue to develop, domestic compute is expected to play a larger role in AI infrastructure and provide developers with a more solid and self-reliant compute foundation.