Technical Analysis: Adapting a Domestic GPU Platform to Train Models with Nearly 3 Trillion Parameters

    This article explains the difference between Day 0 inference compatibility and full training support, and examines the technical path used to adapt a domestic GPU platform for a model approaching 3 trillion parameters. It covers model sharding, gradient synchronization, numerical stability, distributed training challenges, and the evolution from “training-capable” infrastructure to out-of-the-box training support.

    1. From “Day 0 Adaptation” to Training Support

    Before discussing this achievement, it is important to distinguish between two concepts that are often confused.

    Inference or integration adaptation means that a chip and its software stack quickly become compatible with a newly released model on the inference side. The goal is to ensure that the model can be deployed and served successfully. This type of adaptation usually covers only inference operators and validates forward-pass correctness and throughput. Its engineering requirements are relatively modest, and it is the primary focus of what domestic chip vendors commonly promote as “Day 0 adaptation.”

    Training adaptation, by contrast, requires the complete training workflow to run on the chip. This includes forward computation, backward gradient calculation, optimizer updates, and distributed gradient synchronization. Training places much higher demands on numerical precision, operator completeness, memory management, and communication efficiency than inference. An error in any of these areas can cause loss divergence, exploding gradients, or training interruptions.

    Training support therefore represents a higher level of capability than inference support. However, it is important to note that completing training adaptation does not mean that the model’s foundation pretraining was performed on this type of chip.

    Recent industry practices illustrate the distinction. Technical reports for some advanced models may validate multiple hardware platforms, but most of these validations are performed at the inference-operator level. The hardware used for the model’s original pretraining is often not publicly disclosed by vendors. When interpreting such announcements, readers should distinguish between “the model can be trained on this hardware” and “the model was pretrained on this hardware.” These are entirely different claims.

    2. Key Components of the Training Adaptation Pipeline

    According to publicly available technical reports, this adaptation established a native FSDP2-based multimodal training path. It connects the full workflow, from model loading and sharding to gradient synchronization. The pipeline can be divided into several key components.

    2.1 Model Loading and Shard Scheduling

    For a model with nearly 3 trillion parameters, the parameter set is far larger than the memory capacity of a single accelerator or even a single server. The system must therefore use fully sharded data-parallel techniques to distribute model parameters, gradients, and optimizer states across multiple devices.

    The software stack must be able to:

    • Correctly parse the model architecture and weight format, then distribute weights across devices according to the required sharding layout;
    • Gather parameters on demand during forward computation and release or reshard them promptly after computation;
    • Allocate memory appropriately between activations and parameter shards to prevent peak memory usage from exceeding device capacity.

    2.2 Backward Computation and Gradient Synchronization

    Backward propagation is at the core of training. Gradient synchronization depends on high-performance collective communication operations such as AllReduce and ReduceScatter. In multi-node environments, the system must also address bandwidth constraints between nodes.

    A common approach is to overlap computation and communication. While forward or backward computation is in progress, the system asynchronously starts communication for completed gradient shards, thereby hiding part of the communication latency.

    2.3 Numerical Stability Validation

    One of the most convincing results in the technical report is that two servers equipped with a total of 16 integrated training-and-inference accelerators completed 400 consecutive optimizer updates. The loss and gradient norm remained finite throughout the run, with no numerical overflow or abnormal interruption.

    This indicates that:

    • The mixed-precision training path, such as BF16 or FP16 combined with FP32 master weights, was implemented correctly on the domestic hardware;
    • Stability mechanisms such as loss scaling and gradient clipping functioned as expected;
    • The numerical accuracy of the operator implementations remained aligned with the reference implementation, without silent accumulation of precision errors.

    For large-model training, stable execution for several hundred steps is a basic threshold for demonstrating that a system can train. Actual large-scale pretraining, however, often runs continuously for weeks or months. This creates higher requirements for fault recovery, elastic scheduling, and checkpoint-based resumption.

    3. Engineering Challenges for Large-Model Training on Domestic GPUs

    Based on common industry experience, domestic GPUs supporting advanced large-model training generally need to overcome several categories of challenges.

    Operator coverage and numerical alignment. Training uses significantly more operators than inference, including backward operators, optimizer operators, and fused operators. The software stack must provide comprehensive operator mappings on top of mainstream training frameworks. Extensive unit testing is also required to ensure that numerical errors remain within acceptable limits.

    Communication efficiency. In distributed training across multiple nodes, inter-node communication is often a bottleneck. Collective communication must be optimized according to the network topology. Possible approaches include topology-aware scheduling and hierarchical communication, prioritizing high-bandwidth intra-node interconnects before using inter-node networking.

    Distributed training strategy support. In addition to FSDP-style data parallelism, large-scale training commonly combines tensor parallelism, pipeline parallelism, and expert parallelism. Mixture-of-Experts models, for example, place special demands on communication patterns and load balancing because of their fine-grained expert parallelism. Native support for these strategies directly affects compatibility with advanced model architectures.

    Tooling and observability. During training, teams need to continuously monitor metrics such as loss curves, gradient norms, throughput, and memory consumption. Automated profiling and bottleneck-analysis tools are also essential for efficient iteration and optimization.

    4. Progress Toward Training Domestic Models on Domestic Chips

    Public information indicates that the vendor has accumulated experience across several “domestic chip, domestic model” projects. These include completing end-to-end pretraining from scratch for a 236-billion-parameter scientific foundation model, supporting fully native training of a 5D world model, and completing the full training process for an embodied-intelligence brain model. Training for a trillion-parameter model is also reportedly in progress.

    These efforts show that domestic general-purpose GPUs are moving from “inference capable” to “training capable,” and then from “training capable” to “out-of-the-box training.”

    The latter means that when users obtain a new open-source model, they can launch training through a mature software stack and automated toolchain without extensive manual adaptation and debugging. This is an important measure of the maturity of AI infrastructure.

    Future development will likely focus on three areas:

    1. Operator layer: Continue expanding training-operator coverage, particularly for long-context attention, MoE routing, distributed optimizers, and other operators required by advanced model architectures;
    2. Parallelism layer: Improve multi-device and multi-node coordination while expanding native support for different parallelism strategies and automated combinations of those strategies;
    3. Toolchain layer: Build a complete automated system covering performance profiling, fault diagnosis, and checkpoint-based training resumption, reducing the operational cost of large-scale training.

    5. Conclusion

    The completion of training adaptation for a model approaching 3 trillion parameters, together with the validation of stable execution on 16 accelerators across two servers, demonstrates a significant advance in the training capabilities of the domestic GPU software stack.

    There is still a substantial gap between validating several hundred stable optimization steps and supporting genuine large-scale foundation-model pretraining. Stability, communication efficiency, and toolchain maturity all require long-term engineering work.

    Nevertheless, the path toward supporting advanced large models with domestic computing infrastructure is becoming clearer. Each step from “training capable” to “out-of-the-box training” contributes to a stronger and more self-reliant foundation for AI infrastructure.