How China’s Homegrown GPUs Achieved Trillion-Parameter Model Training Adaptation
This article examines the engineering path behind adapting a homegrown GPU platform to train a nearly 3-trillion-parameter open-source multimodal model. It explains the difference between inference and training adaptation, the construction of a native FSDP2 training path, cross-node validation on 16 accelerators, and the engineering capabilities required to move from “trainable” to “ready to train out of the box.”
How Homegrown GPUs Adapted to Trillion-Parameter Model Training: From Technical Breakthroughs to Engineering Delivery
1. Training Adaptation and Inference Adaptation Are Fundamentally Different
The domestic GPU market recently reported a notable development: a homegrown chip vendor used its flagship AI training-and-inference accelerator and proprietary software stack to complete training adaptation for a leading open-source model with nearly 3 trillion parameters.
Before evaluating this milestone, it is important to clarify a common misunderstanding in the industry: “successful adaptation” does not mean that the model was actually trained on that chip.
Inference adaptation, often called Day 0 adaptation, refers to rapidly adding support for a newly released model and validating its deployment on a specific hardware platform. The goal is to ensure that the model can perform forward computation and produce reasonable outputs. This work mainly involves inference-side concerns such as operator coverage, quantization strategies, and memory management. Its technical scope is relatively controllable, which is why it is often the focus of public announcements.
Training adaptation is considerably more complex. The hardware and software stack must support the complete workflow, including forward and backward propagation, gradient synchronization, optimizer updates, and distributed memory sharding. Numerical instability or communication failures at any stage can interrupt training or cause the loss to diverge.
In other words, inference adaptation demonstrates that a model can run, while training adaptation demonstrates that it can be trained. The hardware–software coordination required by the two is not comparable in scale.
It is also important to note that completing training adaptation does not mean that the model’s foundation pretraining was performed on that chip. A common industry practice is for model developers to validate multiple hardware paths in technical reports. Such validation often covers inference operators or specific parallelization strategies rather than officially identifying the hardware used for pretraining. Technical claims of this kind should therefore be interpreted carefully.
2. Building a Native FSDP2 Training Path
The core technical achievement in this adaptation was the construction of a native FSDP2, or Fully Sharded Data Parallel 2, training path for multimodal models. This path connects the full workflow, from model loading and shard scheduling to gradient synchronization.
FSDP is one of the main approaches to distributed large-model training. Its basic principle is to shard model parameters, gradients, and optimizer states across devices. Parameters are gathered on demand before computation through all-gather, then sharded again after computation through reduce-scatter. This removes the limitation imposed by the memory capacity of a single accelerator.
Compared with the first-generation implementation, FSDP2 provides a more modular API design. It can be combined more flexibly with hybrid parallelism, including tensor parallelism, pipeline parallelism, and expert parallelism. It also provides finer-grained control over parameter sharding, making it better suited to sparse architectures such as Mixture-of-Experts (MoE) models.
For models with tens of billions or trillions of parameters, building a native FSDP2 path requires solving several key problems.
1. Model Loading and Shard Initialization
The checkpoint files of an extremely large model can easily reach multiple terabytes. In a multi-node, multi-accelerator environment, the system must load weights efficiently and initialize them locally according to the sharding strategy. It must also avoid first aggregating all parameters at a single point, which could create a severe memory peak.
A common approach is to combine lazy loading with a distributed checkpoint format, allowing each accelerator to read only the shard assigned to it.
2. Coordinating Communication and Computation
FSDP’s all-gather and reduce-scatter operations run throughout the training process. Communication efficiency therefore has a direct impact on accelerator utilization.
The software stack must support overlapping communication and computation. For example, it can prefetch the parameters of the next layer to hide communication latency. A simplified training loop is shown below:
# Illustrative pseudocode: an FSDP2-style sharded training loopfor batch in dataloader:with prefetch_next_layer_params(): # Prefetch parameters to hide communication latencyloss = sharded_model(batch) # Forward pass with on-demand parameter gatheringloss.backward() # Backward pass and sharded gradient reductionoptimizer.step() # Update optimizer states on local shardsoptimizer.zero_grad()
3. Ensuring Numerical Stability
Multimodal models often combine parameters with different numerical properties and precision requirements, such as a vision encoder and a language-model backbone.
Under mixed-precision training, the software stack must provide complete support for gradient scaling, loss-spike monitoring, and outlier handling. These mechanisms are essential for preventing numerical overflow and maintaining stable optimization.
3. Cross-Node Validation on Two Nodes with 16 Accelerators
For experimental validation, the vendor conducted a joint training test across two nodes equipped with 16 training-and-inference accelerators. All 16 training processes completed 400 consecutive optimizer updates. Throughout the test, the loss and gradient norms remained finite, with no numerical overflow or abnormal interruption.
From an engineering perspective, these results convey several important signals.
First, cross-node training means that communication must travel through an inter-node network, such as an RDMA-based fabric. This places substantially greater requirements on the communication library and network stack than single-node training over high-speed intra-node interconnects.
Second, 400 consecutive optimizer updates cover enough iterations to expose problems that may not appear during short runs, including memory leaks, communication deadlocks, and accumulated numerical errors.
Finally, finite loss and gradient norms throughout the test indicate that the mixed-precision strategy, gradient clipping, and numerical implementations of normalization layers withstood the validation process.
Objectively, however, 400 steps represent a functional and stability validation rather than a complete pretraining run. Full pretraining can involve tens of thousands of steps or more. The value of this test lies in proving that the end-to-end stack—from hardware and drivers to communication libraries, parallel frameworks, and operator implementations—has the basic capability to support extremely large model training.
The next challenges are primarily large-scale expansion and long-duration stability optimization.
4. From “Trainable” to “Ready to Train Out of the Box”
The success of a single training adaptation is only a starting point. The long-term competitiveness of a homegrown compute ecosystem depends more on the maturity of its engineering system.
According to publicly available information, the vendor has delivered multiple examples of training domestic models on domestic accelerators. These include completing the end-to-end training of a scientific foundation model with hundreds of billions of parameters, supporting full-stack native training for multimodal world models, and completing full-process training for embodied intelligence models. The vendor is also advancing training work for trillion-parameter models.
This progression highlights several capabilities that are central to large-model training engineering.
Operator Adaptation
New models and architectural components continue to emerge. The ability to quickly implement missing operators and optimize the kernel performance of computational hotspots determines how long adaptation takes.
An operator library covering mainstream model architectures, together with automated operator-generation capabilities, is the foundation of this process.
Multi-Accelerator Coordination
Training must scale from eight accelerators in a single node to clusters containing hundreds or thousands of devices. Essential capabilities include automatic parallel-strategy search, topology-aware communication scheduling, rapid isolation of failed nodes, and reliable checkpoint recovery.
Toolchain Support
The toolchain should cover automated training-job configuration, performance profiling, memory analysis, and anomaly detection and alerting for loss curves.
These tools have a direct impact on the user experience. They determine whether a platform is genuinely ready to train out of the box or requires engineers to spend substantial time debugging and tuning every workload.
When evaluating a homegrown training platform, developers should focus on several general dimensions:
- The completeness of its parallel-training framework
- Failure rates during long-running training jobs
- The reliability of checkpoint recovery and resumed training
- The quality of ecosystem documentation and examples
General capabilities provided by mainstream cloud platforms, such as container orchestration, logging, monitoring, and alerting, can also reduce the operational burden of building and maintaining a dedicated training cluster.
5. Conclusion
The significance of training adaptation is not determined by how many steps a single test completes. Its real value lies in demonstrating that a full-featured homegrown GPU can support the end-to-end training workflow of a state-of-the-art large model.
The progression from inference to training, from single-node execution to cross-node scaling, and from isolated validation to an integrated engineering system is gradually narrowing the gap in usability between homegrown compute platforms and mainstream international solutions.
As operator ecosystems, parallel-training frameworks, and automation toolchains continue to mature, the shift from “trainable” to “ready to train out of the box” on homegrown GPUs is becoming an increasingly realistic industry trend.
