Adapting Domestic GPUs for Ultra-Large Model Training: A Practical Analysis

    This article examines a recent practice in which a domestic GPU vendor adapted its training-and-inference AI accelerator cards and software stack to a nearly 3-trillion-parameter open-source model, completing 400 consecutive stable training steps on two servers with 16 cards in total. It clarifies the difference between inference adaptation and training adaptation, explains the native FSDP2 multimodal training pipeline, interprets the 400-step stability validation, and outlines the engineering capabilities required to move from “can train” to “train out of the box.” It also discusses the evolution of the domestic compute training ecosystem.

    Adapting Domestic GPUs for Ultra-Large Model Training: A Practical Analysis

    1. Background: Why Training Adaptation Is a New Milestone

    Recently, a domestic GPU vendor announced that its training-and-inference AI accelerator cards and supporting software stack had completed training adaptation for a nearly 3-trillion-parameter open-source large model, achieving 400 consecutive stable training steps at a two-server, 16-card scale. The progress drew industry attention not because “a model was run,” but because it marks a key step for domestic compute from inference deployment toward full-pipeline training.

    To understand its significance, it is necessary to clarify a common misconception: successful adaptation is not equal to pretraining. Many practitioners easily interpret “a chip has completed adaptation for a model” as “the model was trained on that chip.” These are two very different concepts.

    2. The Essential Difference Between Inference Adaptation and Training Adaptation

    2.1 The Bar for Day 0 Inference Adaptation

    The “Day 0 adaptation” often seen in the industry refers to a compute platform completing inference integration for an open-source large model on the day the model is released. The core work of this type of adaptation includes:

    • Operator completion: providing implementations on the target platform for new operators in the model, such as new attention variants and normalization methods;
    • Weight loading: supporting the weight format and sharding layout of the new model;
    • Inference optimization: operator fusion, KV cache management, quantization support, and so on.

    Inference adaptation is usually a correctness problem for a single forward computation and is relatively straightforward to validate: the output is compared with a reference implementation, and it passes if the error is within an acceptable range.

    2.2 Why Training Adaptation Is Much Harder

    Training adaptation is an engineering challenge of another order of magnitude. It needs to connect a complete closed-loop pipeline that includes forward computation, backward propagation, and parameter updates:

    1. Model sharding and scheduling: A 3-trillion-parameter model cannot fit on a single card, so distributed parallel strategies such as FSDP, tensor parallelism, and pipeline parallelism must be used to partition model states across multiple cards;
    2. Backward propagation operators: Not only forward operators but also numerically correct gradient implementations for each operator are required;
    3. Gradient synchronization: Cross-node and cross-card gradient aggregation requires efficient communication primitives, and the scheduling of communication and computation directly affects throughput;
    4. Numerical stability: During training, loss and gradient norms must not overflow or diverge over hundreds or even tens of thousands of steps. This places extremely high demands on operator precision, mixed-precision strategies, and communication numerical consistency.

    A typical industry consensus supports this distinction: some leading model technical reports validate multiple hardware routes side by side, but what is often validated is inference operators or fine-grained expert parallelism schemes, rather than announcing the pretraining compute source of the base model. In other words, there is a huge gap between “inference validation passed” and “pretraining completed on that compute.” Training adaptation is exactly the intermediate milestone that bridges this gap.

    3. Breaking Down the Core Technical Path

    3.1 Native FSDP Multimodal Training Pipeline

    One of the key technical points in this practice is the construction of a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path. The core idea of FSDP is to store model parameters, gradients, and optimizer states in sharded form across multiple cards, gathering them on demand during computation, thereby breaking the single-card memory limit.

    A complete FSDP training pipeline includes the following stages:

    1. # Illustrative code: FSDP2-style sharded training skeleton (pseudocode)
    2. for batch in dataloader:
    3. # 1. Gather parameter shards on demand (all-gather)
    4. model.gather_params()
    5. # 2. Forward pass
    6. loss = model(batch)
    7. # 3. Release full parameters and keep only shards
    8. model.release_params()
    9. # 4. Backward pass; gradients are reduced by shard (reduce-scatter)
    10. loss.backward()
    11. # 5. Optimizer updates only local shards
    12. optimizer.step()

    In practice, “making it work” is not only about API-level calls. It requires every stage—from model loading, weight sharding layout, and forward/backward scheduling to gradient synchronization—to align tightly with the underlying hardware operator library and communication library. A missing operator or any inconsistent communication semantics can cause training failure or hidden numerical errors.

    3.2 Dual-Node 16-Card Stability Validation: What 400 Steps Mean

    This practice used two servers with a total of 16 training cards for cross-node joint training testing. The 16 training processes completed 400 consecutive optimizer updates, and loss and gradient norms remained finite throughout, with no numerical overflow or abnormal interruption.

    How should these validation metrics be interpreted?

    • 400 consecutive optimizer updates: This shows that the pipeline not only “runs” but also stably completes the full loop of parameter updates, ruling out operator leaks, memory fragmentation, communication deadlocks, and other problems often exposed in long loops;
    • Loss and gradient norms remain finite: This is the gold standard for numerical stability. Common training failure modes—gradient explosion, NaN propagation, and loss spikes—often stem from operator precision issues or communication numerical inconsistency. Finite values throughout mean that the numerical behavior of the underlying implementation is credible;
    • Cross-node coordination: Cross-machine training introduces network communication, the most unstable factor. 400 uninterrupted steps show that the communication stack has withstood the test of reliability under long-term load.

    Of course, it should be noted objectively that 400 steps validate the correctness of the training pipeline. It is still far from the tens of thousands or even hundreds of thousands of steps required for full pretraining. However, it proves that the prerequisite—“the full pipeline is traversable and numerically trustworthy”—has been met.

    3.3 Engineering System from “Can Train” to “Train Out of the Box”

    After point validation, the broader goal is engineering. The industry-recognized “train out of the box” capability contains at least three levels:

    Layer Core capability Typical pain point
    Operator layer Forward/backward operator coverage, numerical consistency New model structures introduce unsupported operators
    System layer Multi-card coordination, communication optimization, memory management Cross-node throughput degradation, communication bottlenecks
    Toolchain layer Automated adaptation, checkpoint resume, monitoring and alerting Difficult fault localization, high recovery cost

    In general cloud computing scenarios, these capabilities are usually combined with infrastructure such as container platforms, logging services, and monitoring and alerting: training tasks are orchestrated and scheduled as containers; training metrics are reported in real time to monitoring and alerting systems; when anomalies occur, logs are used for rapid diagnosis; and checkpoint resume reduces failure losses. This entire system determines the total cost of ownership of large model training and is also a deep competitive area for compute platforms.

    4. Industry Implications: The Evolution Direction of the Domestic Compute Training Ecosystem

    From a broader perspective, similar practices of “domestic chips training domestic models” are emerging at multiple points: training scientific foundation models from scratch, full-stack training of world models, and full-process training of embodied intelligence models. These cases are all validating the feasibility of domestic compute carrying frontier model training. Together they outline a clear evolution path:

    1. Step one: inference usable—complete inference deployment for mainstream open-source models and meet inference scenario requirements;
    2. Step two: training walkable—connect the full training pipeline and complete correctness and stability validation;
    3. Step three: scale credible—complete real training tasks at the scale of tens of billions, hundreds of billions, and even trillions of parameters;
    4. Step four: ecosystem mature—toolchains are complete and migration costs are low enough to achieve “train out of the box.”

    5. Conclusion

    The training adaptation of a nearly 3-trillion-parameter model and the stable 400-step run on two servers with 16 cards are an important footnote for domestic compute training capability. They tell us that the value of training adaptation lies not in the news numbers themselves, but in proving the completeness and numerical reliability of the distributed training pipeline. For developers, understanding the difference between inference adaptation and training adaptation, mastering distributed training paradigms such as FSDP, and paying attention to numerical stability validation methods are the real takeaways from such practices. In the future, as operator coverage, communication optimization, and automated toolchains continue to improve, the threshold for training frontier large models on domestic compute will be further lowered, and this deserves continued attention.