Adapting Domestic GPUs for Ultra-Large Model Training: Engineering Practices and Validation
This article examines the engineering implications of a recent case in which a domestic GPU vendor in China adapted a nearly three-trillion-parameter open-source model for training on its flagship training-and-inference AI accelerator card and in-house software stack. It distinguishes inference adaptation, training adaptation, and native pre-training; explains a native distributed training path built around an FSDP-style sharded data-parallel framework, expert parallelism, pipeline parallelism, and tensor parallelism; and reviews a two-node, 16-card validation run with 400 consecutive optimizer updates. It also discusses how to assess training stability and what engineering capabilities are needed to move from “can train” to “ready to train out of the box.”
Adapting Domestic GPUs for Ultra-Large Model Training: Engineering Practices and Validation
A recent technical development in domestic GPUs is worth attention: a domestic GPU vendor in China quickly completed training adaptation for a nearly three-trillion-parameter open-source large model based on its flagship training-and-inference AI accelerator card and in-house software stack. The significance is not merely that “another large model runs on a domestic card.” More importantly, it indicates that the ability of domestic compute to support large models is moving from “fast inference deployment” toward “stable training across the full pipeline.” This article uses that case as a starting point to systematically examine the technical meaning, engineering challenges, and validation methods of large-model training adaptation.
Clarifying the Terms: Training Adaptation Is Not Inference Adaptation, and Not Native Pre-Training
In industry communication, “a chip has completed adaptation for a large model” is a frequently used phrase that is also easy to misread. To understand such progress accurately, it is necessary to distinguish three levels.
The first level is Day 0 adaptation on the inference side. When a new open-source model is released, compute vendors complete compatibility and integration of inference operators as quickly as possible so that the model can run inference on their chips. The barrier to this type of adaptation is relatively lower. The core work includes operator coverage checks, precision alignment, and integration and debugging with inference frameworks.
The second level is training adaptation. This requires the chip not only to “compute the forward pass,” but also to fully support the entire training process, including backpropagation, gradient synchronization, and optimizer updates. It involves a complete system of operator precision, communication libraries, parallel strategies, and memory management. The engineering effort and technical depth of training adaptation are far greater than those of inference adaptation.
The third level is native pre-training. That is, the model’s base weights were actually trained from scratch or through large-scale incremental training on a cluster of that chip. It is important to emphasize that completing training adaptation does not mean the model was pre-trained on that chip. A common industry practice is that, after an open-source model is released, chip vendors work backward to connect and validate the training pipeline, thereby demonstrating that the hardware has the capability to support training of that type of model. When interpreting similar news, readers should distinguish between “validation passed” and “where actual production training took place.”
Technical Core of Training Adaptation: Building a Native Distributed Training Path
A key highlight of this adaptation is the construction of a native multimodal training path based on a mainstream FSDP-style sharded data-parallel framework. For a model at the three-trillion-parameter level, training cannot be completed on a single card or even a single machine. It must rely on a combination of multidimensional parallel strategies:
- Data parallelism and full sharding: Model parameters, gradients, and optimizer states are partitioned across all compute devices, with each card holding only one shard of the full state. This reduces memory usage to an acceptable range. It requires the underlying communication library to efficiently support shard aggregation and broadcast operations.
- Expert parallelism (EP): For ultra-large models with a mixture-of-experts (MoE) architecture, different experts are assigned to different devices, and tokens are routed through All-to-All communication during forward computation. This is the part of MoE training that most tests interconnect bandwidth and communication operator implementation.
- Pipeline parallelism and tensor parallelism: High-bandwidth interconnect is used within nodes for tensor partitioning, while layers are partitioned across nodes to form pipelines, further reducing memory pressure at individual points.
“Connecting the full training pipeline” means that every step—from model loading and parameter shard scheduling to forward and backward computation, gradient reduction and synchronization, and optimizer state updates—is natively implemented on the target hardware with correct numerical behavior. Behind this is often one-by-one adaptation of hundreds of operators, numerical alignment for mixed precision, and deep coordination between the framework layer and the hardware layer.
How to Validate Training Stability: Small-Scale Multi-Node Continuous Training Tests
Whether training adaptation succeeds cannot be judged only by whether “the model can run.” It depends on whether numerical behavior is healthy. In this case, the vendor used two machines with a total of 16 AI accelerator cards for a cross-node joint training test. All training processes continuously completed 400 optimizer updates. Throughout the process, the loss value and gradient norm remained finite, with no numerical overflow or abnormal interruption.
This validation design is representative in engineering terms. Its key points include:
- Cross-node topology: The two-machine configuration forcibly introduces inter-node communication, exposing communication-library and network-layer problems that single-machine tests cannot reveal.
- Continuous optimizer updates: The focus is on “optimizer steps” rather than merely iteration count, because the two are not equivalent in scenarios such as gradient accumulation and pipeline bubbles. Completing optimizer updates continuously shows that the gradient synchronization and state-update pipeline forms a closed loop.
- Numerical health monitoring: Loss and gradient norm are two major probes for training stability. Loss divergence usually points to precision or operator errors, while gradient norm explosion suggests the need for gradient clipping or indicates problems in communication reduction. Keeping both finite throughout the process with no NaN/Inf is the basic threshold for adaptation quality.
For developers, this approach can be used when evaluating the training adaptation results of any compute platform: ask for explicit parallel configuration, consecutive steps, and numerical curves, rather than a vague conclusion that “it runs.”
From “Can Train” to “Ready to Train Out of the Box”: The Value of Engineering Systems
Successful adaptation of a single model is only a starting point. From industry practice, domestic compute support for large-model training is advancing along two lines. On one hand, there is larger-scale real-world validation, such as from-scratch training of hundreds-of-billions-parameter foundation models and full-stack training of scientific-computing world models. On the other hand, there is the accumulation of engineering systems, including:
- Automation of operator adaptation: Establish operator coverage scanning and automatic completion mechanisms to shorten the adaptation cycle after new models are released.
- Reliability of multi-card collaboration: Build checkpoint resumption, fault detection, and automatic recovery capabilities for long-cycle training, because at the thousand-card scale, hardware failures are the norm rather than the exception.
- Completeness of the toolchain: Provide integrated tools ranging from environment configuration and parallel strategy recommendations to performance profiling and precision comparison, reducing user migration costs.
“Ready to train out of the box” means that after users obtain model code, they can start training on domestic GPUs without deep modification. The degree to which this goal is achieved will become a core measure of the maturity of domestic compute.
Conclusion
The completion of training adaptation for a nearly three-trillion-parameter model, together with the validation result of stable operation for 400 consecutive steps on two machines with 16 cards, shows that the capability boundary of domestic GPUs in the ultra-large-model training pipeline is continuing to expand. For enterprises and developers, what deserves more attention is the methodology behind it: clarify adaptation levels, focus on numerical validation, and value engineering systems. In the future, as the operator ecosystem and automated toolchains continue to improve, the training threshold for frontier large models on domestic full-function GPUs is expected to be further lowered, providing a more solid foundation for a diversified compute supply landscape.
