Training a Nearly 3T-Parameter MoE Model on Chinese GPUs: Adaptation Practice and Stability Validation

    This article examines a training adaptation practice for a nearly three-trillion-parameter flagship Mixture-of-Experts (MoE) model on a Chinese GPU vendor’s flagship training-and-inference accelerator cards and self-developed software stack. It clarifies the difference between inference adaptation and training adaptation, explains why successful adaptation does not mean the model was pretrained on those chips, and details a native FSDP2 multimodal training path covering parameter, gradient, and optimizer-state sharding, MoE expert parallelism, and communication-computation overlap. It then reviews the meaning and limits of a 400-step continuous run on 16 cards across two nodes, the evidence needed to validate trainability, and the layered engineering system required to move from one-off adaptation to reusable, out-of-the-box training support. The article concludes with practical guidance for developers and enterprises evaluating GPU training capability.

    Training a Nearly 3T-Parameter MoE Model on Chinese GPUs: Adaptation Practice and Stability Validation

    1. Background: Closing the “Training Gap” in Domestic Compute

    In recent years, Chinese AI chips have improved quickly on the inference side. It is now common for multiple chip vendors to announce “Day 0 support” shortly after a new open-source large model is released. However, one fact needs to be clearly separated: inference adaptation and training adaptation are engineering challenges of completely different magnitudes.

    Recently, a Chinese GPU vendor completed training adaptation for an AI company’s flagship Mixture-of-Experts (MoE) model with nearly three trillion parameters. The work used the vendor’s flagship training-and-inference integrated AI accelerator cards and self-developed software stack. In a test across two nodes with 16 cards in total, the system completed 400 consecutive optimizer updates and ran stably throughout. This marks a substantive step in the ability of domestic compute to support full-chain training of frontier large models.

    This article breaks down the practice from a technical perspective: What makes training adaptation difficult? How is a multimodal training path built? How is stability validated? And how can engineering capability be accumulated into a reusable system?

    2. Clarifying the Boundaries: Training Adaptation, Inference Adaptation, and Pretraining Origin

    Before discussing any chip adaptation result, clear conceptual boundaries are necessary. Otherwise, the result is easily misread.

    2.1 Inference Adaptation vs. Training Adaptation

    The core goal of inference adaptation is to make a model’s forward computation run correctly and efficiently on the target chip. The main work includes operator implementation, operator fusion, memory management, and integration with inference frameworks. It involves only forward propagation, has relatively loose numerical tolerance, and typically takes days or weeks.

    Training adaptation is far more complex. The chip must support the complete loop of “forward computation—backward propagation—gradient synchronization—optimizer update” and meet strict requirements:

    • High numerical consistency requirements: During backpropagation, gradient accumulation, mixed-precision scaling, and related steps are extremely sensitive to numerical precision. A small deviation in any operator can be amplified exponentially over thousands of training steps.
    • Much greater communication complexity: Multi-card training requires efficient implementations of collective communication primitives such as AllReduce, AllGather, and ReduceScatter, and these must overlap with computation.
    • Heavy state management: Optimizer states, gradient sharding, and activation recomputation create memory and scheduling pressure far beyond inference.
    • Long-duration stability: Training can run for weeks. Any occasional memory leak, communication deadlock, or numerical overflow can interrupt the job and cause large losses.

    2.2 “Adaptation Success” Does Not Mean “Pretrained on That Chip”

    This is one of the most easily confused points in the industry. When a chip completes training adaptation for a model, it only shows that the chip has the technical capability to train that model. It does not mean the model’s base weights were actually produced by training on that chip.

    Common industry practice supports this distinction. Some leading large-model technical reports list validation results across multiple compute routes, such as parallel validation of accelerators with different architectures. Such listings usually validate inference operators or specific parallel schemes; they are not an official statement that the base pretraining compute source was that hardware.

    Therefore, the correct way to evaluate a training adaptation result is this: it verifies whether the chip and software stack can carry the full training process of a frontier model. This is a capability-building question, not a historical-attribution question.

    3. Technical Core: Building a Native FSDP2 Multimodal Training Path

    For the nearly three-trillion-parameter flagship MoE model, this adaptation built a native FSDP2 (Fully Sharded Data Parallel 2) multimodal training path. It connected the full链路 from model loading and shard scheduling to gradient synchronization. The key technical components include:

    3.1 Model Loading and Shard Scheduling

    For a model at the three-trillion-parameter level, even half-precision storage far exceeds the memory capacity of a single card or even a single node. The core idea of FSDP2 is to shard model parameters, gradients, and optimizer states across all participating devices, with each card holding only 1/N of the full state:

    • Parameter sharding: Parameters are AllGathered on demand during forward computation and released immediately after computation, avoiding full-parameter residency.
    • Gradient sharding: Gradients produced during backpropagation are directly distributed to each card through ReduceScatter, avoiding the memory peak of full gradients.
    • Optimizer-state sharding: The optimizer maintains only the sharded parameter states assigned to the local card, so memory usage decreases linearly with the number of cards.

    For MoE architectures, expert parallelism (EP) must also be handled. Different experts are assigned to different device groups, and tokens are routed to the corresponding experts through AllToAll communication. This requires the software stack to schedule both FSDP and EP parallel strategies in a unified way and avoid conflicts between communication patterns.

    3.2 Special Challenges of Multimodal Training

    Training multimodal models, such as models that process both text and images, is more complex than training pure text models. Different modalities have very different encoder structures, uneven sequence-length distributions, and heterogeneous data pipelines. The adaptation work must ensure complete operator coverage for non-Transformer backbone components such as vision encoders. At the same time, the data loading layer must support balanced sampling and dynamic padding for multimodal samples to prevent device load imbalance caused by uneven lengths.

    3.3 Co-Optimization of Communication and Computation

    In the cross-node scenario with 16 cards across two nodes, inter-node bandwidth is often the bottleneck. Common engineering optimizations include:

    1. Communication-computation overlap: Pipeline gradient ReduceScatter with backward computation of subsequent layers to hide communication latency.
    2. Gradient bucketing: Merge multiple small gradient tensors into communication buckets to reduce the number of communication calls.
    3. Topology-aware scheduling: Be aware of the bandwidth difference between intra-node high-speed interconnects such as NVLink-like links and inter-node networks, arrange sharding strategies accordingly, and keep high-frequency communication inside nodes where possible.

    4. Stability Validation: What a 400-Step Continuous Run Means and How to Check It

    In this experiment, 16 AI accelerator cards across two nodes completed a joint cross-node training test. All 16 training processes completed 400 consecutive optimizer updates. Loss and gradient norms remained finite throughout, with no numerical overflow or abnormal interruption.

    The “400 steps” figure should be viewed objectively. It is not a full pretraining run. It is a stage validation of training feasibility and engineering stability. Its value is reflected in:

    • Closed-loop completeness: 400 optimizer updates mean the complete loop of forward pass, backward pass, communication, and parameter update was executed repeatedly, proving the correctness of the path.
    • Numerical health: Loss and gradient norms remained finite throughout, with no NaN/Inf. This indicates that the mixed-precision strategy, loss scaling, and numerical operator implementations are reliable.
    • Multi-process consistency: The 16 processes had no stragglers and no deadlocks, indicating that collective communication and fault-tolerance mechanisms work correctly in a cross-node environment.

    Common industry validation methodologies also include loss alignment tests against reference hardware under the same data and initialization, comparison of gradient-norm distributions, and monitoring of memory-usage stability over longer runs. Together, these form a complete evidence chain for “can train.”

    5. From a Single Case to a System: Accumulating Engineering Capability

    A single successful adaptation is valuable, but what really determines the maturity of a domestic compute ecosystem is a reusable engineering system. According to public information, the vendor has delivered several “domestic chips train domestic models” outcomes. These include completing from-scratch full training of a 200-billion-parameter scientific foundation model, supporting full-stack native training of multimodal world models, completing full-process training of embodied intelligence models, and advancing training work for trillion-parameter models.

    Behind these practices is a layered, progressive engineering system:

    1. Operator layer: A high-performance operator library covering mainstream Transformer and MoE architectures, ensuring numerical precision and computational efficiency.
    2. Parallel strategy layer: Unified support for data parallelism, tensor parallelism, pipeline parallelism, expert parallelism, and their combinations, with automatic configuration recommendations based on model scale.
    3. Framework adaptation layer: Deep integration with mainstream training frameworks so that model code can be migrated without large-scale rewriting.
    4. Toolchain layer: Tools for profiling, communication diagnostics, checkpoint resumption, and automated tuning, lowering the barrier to migration and operations.

    The goal of this system is to move frontier large-model training on domestic full-function GPUs from “can train” to “train-ready out of the box.” That means users can take an open-source model and start stable training with minimal code changes.

    6. Implications for Developers and Enterprises

    For developers and enterprise users evaluating domestic compute, this practice offers several reference points:

    • Distinguish inference and training scenarios when evaluating compute: Inference adaptation maturity cannot be used to directly infer training capability. Vendors should be asked for measured evidence of the training loop, such as loss curves, gradient norms, and long-run stability records.
    • Focus on the software stack, not only card specifications: Training usability depends heavily on complete software-stack support for parallel strategies, communication libraries, and fault-tolerance mechanisms. Peak compute is only a starting point.
    • Value the ecosystem toolchain: Profiling, automated tuning, and checkpoint resumption directly affect actual training efficiency and failure-recovery cost. When training in cloud environments, teams can combine general container platforms, object storage, logging services, and monitoring and alerting capabilities to build observable, recoverable training infrastructure.
    • Treat validation step counts rationally: Hundreds of stable steps are necessary but not sufficient. Before large-scale project approval, longer stress validation and precision alignment tests should be performed.

    7. Conclusion

    The training adaptation of a nearly three-trillion-parameter flagship MoE model on Chinese GPUs, with continuous stable operation on 16 cards across two nodes, is valuable not because of a specific number. Its value lies in demonstrating that a domestic “chip + software stack” combination can carry the complete training loop of a complex frontier model. As operator adaptation, multi-card collaboration, and automated toolchains continue to mature, domestic compute is moving from “can infer” to “can train” and steadily toward “train-ready out of the box.” For the broader large-model ecosystem, diversified compute supply will provide a stronger foundation and broader choices for technical innovation.