Analysis of the Technical Path for Domestic GPUs Adapting to Trillion-Parameter Large Model Training

    This article analyzes how a domestic GPU completed training adaptation for a nearly 3-trillion-parameter large model. It explores the critical differences between inference and training adaptation, detailing the core technical links including FSDP2-based parameter sharding, compute-communication overlap, and numerical stability verification. Furthermore, it examines the engineering system required to transition from single-run success to stable, reproducible full-link training, providing insights into the evolution of domestic AI compute capabilities.

    I. Background: Why “Training Adaptation” is a Watershed for Domestic Compute Power

    In the field of AI compute power, two concepts are often confused: “inference/access adaptation” (loading weights and completing inference verification immediately after a new model is released) and “training adaptation” (the hardware and software stack fully supporting gradient calculation, parameter updates, and multi-node collaboration). The technical gap between the two is substantial.

    Inference adaptation primarily tests operator coverage and inference framework compatibility, which can be verified on a single card or machine. Training adaptation, however, requires the entire training pipeline to maintain numerical stability, communication efficiency, and fault tolerance across thousands of iterations. Any precision loss or communication deadlock will lead to training failure. Therefore, the ability to complete training adaptation for frontier large models is widely regarded as a key indicator of a domestic AI chip’s maturity.

    Recently, a domestic GPU vendor completed training adaptation for a flagship open-source large model with nearly 3 trillion parameters using its flagship training-inference integrated smart computing card and self-developed software stack, publicly releasing the technical details. This case provides an excellent observation window for understanding the training capabilities of domestic compute power.

    According to the public technical report, this adaptation constructed a native FSDP2 multimodal training path, bridging the complete link from model loading and shard scheduling to gradient synchronization. We can break this down into three key components:

    1. Model Loading and Parameter Sharding

    For models at the trillion-parameter level, the weights alone (in BF16) require several terabytes of memory, far exceeding single-card capacity. The core idea of FSDP (Fully Sharded Data Parallel) is to shard model parameters, gradients, and optimizer states across multiple devices, temporarily aggregating and releasing them on-demand during forward and backward computations. This requires the underlying software stack to possess:

    • Efficient sharding strategy configuration capabilities, supporting automatic slicing at the module granularity;
    • Compatibility with multimodal data pipelines, ensuring heterogeneous data like images and text are correctly fed into the sharded model;
    • Consistency guarantees between weight loading and shard state restoration.

    2. Shard Scheduling and Compute-Communication Overlap

    In multi-node, multi-GPU scenarios, communication is often the bottleneck. If collective communication generated by parameter aggregation (e.g., All-Gather, Reduce-Scatter) is executed serially with computation, GPU utilization drops significantly. A mature engineering practice is to pipeline and overlap communication with computation, adjusting bucketing strategies and prefetch timing based on cross-node bandwidth characteristics. This usually requires deep optimization at the compiler or runtime level, which is a major challenge for domestic software stacks to align with mainstream ecosystems.

    3. Gradient Synchronization and Numerical Stability

    Whether training can be sustained is ultimately reflected in numerical metrics. In their experiments, the vendor used a dual-node, 16-GPU setup to complete cross-node joint training tests. All 16 training processes completed 400 continuous optimizer updates, with loss values and gradient norms remaining finite throughout, without numerical overflow or abnormal interruptions.

    This verification method is worth noting: the gradient norm is a sensitive indicator of training health. Explosive growth or a sudden drop to zero in the gradient norm often indicates issues with mixed-precision conversion, gradient clipping, or synchronization logic. Although 400 continuous steps do not constitute a long-horizon training run, it is sufficient to expose the vast majority of engineering defects in initialization, communication alignment, and precision handling.

    III. Engineering System: From “Running Once” to “Stable and Reproducible”

    There is a fundamental difference between a single successful run and engineering capability. In this case, the vendor emphasized that it has built a mature engineering system capable of supporting everything from “rapid inference deployment” to “full-link stable training.” Such systems typically include the following elements:

    • Operator coverage and automatic fallback: Providing high-precision, high-performance implementations for high-frequency operators used in large models, and automatic degradation paths for long-tail operators.
    • Multi-GPU communication library: Providing collective communication primitives similar to NCCL, with topology-aware optimization for domestic interconnect topologies.
    • Automated toolchain: Covering distributed training launch, checkpoint resumption, performance profiling, and anomaly detection to reduce user migration costs.
    • Precision alignment validation: Layer-by-layer output comparison with reference implementations to ensure numerical semantic consistency.

    It is worth mentioning that there have been cases in the industry where “inference verification” was misinterpreted as “pre-training support”—in a frontier model’s technical report, a domestic NPU and a mainstream GPU were verified side-by-side only for fine-grained expert parallel inference operators, not for foundational model pre-training compute power. This reminds us to distinguish between the three capability tiers: “inference access,” “training fine-tuning,” and “from-scratch pre-training” when evaluating various claims.

    IV. Advanced Path of Domestic Compute Power

    From public information, the vendor has multiple practical implementations of “domestic chips training domestic models” in large-scale training, including complete from-scratch training of a 100-billion-parameter scientific foundational model, full-process training of world models and embodied AI models, and is advancing towards trillion-parameter large model training. Its planned evolution direction is: to continuously polish the complete capabilities from operator adaptation and multi-GPU collaboration to automated toolchains, driving frontier large models on domestic full-function GPUs from “can train” to “out-of-the-box training.”

    For technical teams, “out-of-the-box training” means three things: ecosystem compatibility reaching a level where seamless migration from mainstream frameworks is possible; the threshold for tuning lowered to a level manageable by conventional engineering teams; and stability meeting the standard required for long-cycle training delegations.

    V. Conclusion

    The training adaptation of trillion-parameter large models tests the full-stack collaboration capability of hardware, communication, frameworks, operators, and toolchains. What the dual-node, 16-GPU continuous stable verification demonstrates is not just an adaptation result, but a replicable engineering methodology: taking the complete training link breakthrough as a prerequisite, numerical stability metrics as the acceptance criteria, and toolchain automation as the path to scale. As domestic software and hardware stacks continue to iterate, the leap from “can train” to “out-of-the-box training” will gradually become the baseline for domestic compute power to compete in the era of large models.