From Trainable to Out-of-the-Box: Understanding Training Adaptation for Chinese GPUs
This article examines recent progress in adapting Chinese GPUs for large-scale model training, with a focus on the training adaptation of a flagship open-source model with roughly 3 trillion parameters. It clarifies the key differences between inference adaptation and training adaptation, then walks through the three critical components of a stable distributed training pipeline: model loading with weight sharding, sharded scheduling with parallel strategies, and gradient synchronization with numerical stability. A two-server, 16-GPU test that completed 400 consecutive optimizer updates is analyzed in terms of its results and limitations. The article also reviews disclosed training scenarios for scientific foundation models, world models, and embodied brain models, and concludes with the remaining capabilities needed to move from "able to train" to "out-of-the-box training."
As large model parameters approach the trillion scale, competition in training compute has shifted from single-card performance to cluster stability, communication efficiency, and the software ecosystem. Recently, a Chinese GPU vendor completed training adaptation of a flagship open-source model with close to 3 trillion parameters, using its flagship AI training-and-inference all-in-one accelerator card and proprietary software stack. In a two-server, 16-card cross-node joint training test, the setup achieved 400 consecutive optimizer updates. The industry has paid close attention to this milestone, but evaluating it properly requires first clarifying the difference between training adaptation and inference adaptation.
Training Adaptation vs. Inference Adaptation
The industry often uses “Day-0 adaptation” to measure how quickly a chip vendor can respond to a new model — meaning the model can be deployed for inference or fine-tuning on the same day it is released. This kind of adaptation relies mainly on operator compatibility, model format conversion, and inference engine optimization, and usually does not involve parallel strategies in the training process.
Training adaptation imposes much higher requirements. It extends the pipeline from forward computation to backward propagation, gradient accumulation, and optimizer updates, while coordinating multiple cards and multiple nodes. The table below summarizes the main differences.
| Dimension | Inference Adaptation | Training Adaptation |
|---|---|---|
| Core pipeline | Forward computation, operator execution | Forward, backward, gradient sync, optimizer updates |
| Parallel strategy | Usually simple | Combination of data parallel, tensor parallel, pipeline parallel, expert parallel |
| Key risks | Missing operators, precision deviation | Communication interruption, numerical overflow, state inconsistency |
| Validation metrics | Output correctness, latency, throughput | Loss and gradient norm stability, long-duration reliability |
It is important to note that successful training adaptation does not mean the chip has undertaken the original pre-training of the model. The case described here validates the training pipeline of an existing open-source model, rather than pre-training from scratch. These two situations should be evaluated separately.
Three Key Components of the Training Pipeline
A reusable distributed training pipeline generally involves three components.
1. Model Loading and Weight Sharding
For a model with nearly 3 trillion parameters, the memory of a single accelerator card is far from sufficient. A fully sharded data parallel strategy is required, distributing parameters, gradients, and optimizer states across multiple cards. During the loading phase, the system parses the model structure, calculates memory usage for each layer’s weights and optimizer states, and determines the sharding dimension. If the model includes multimodal components — such as a vision encoder, text encoder, or fusion networks — the system must also manage parameter isolation and synchronization between these modules to prevent state mismatch.
2. Sharded Scheduling and Parallel Strategy
During training, the system must coordinate data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism. The fully sharded data parallel approach works as follows: during forward and backward computation, only the parameter shards needed for the current layer are kept; after computation, collective communication reconstructs the full parameters. In the gradient synchronization phase, reduce and scatter operations return gradients to their respective shards. This approach lowers peak memory usage but increases communication overhead. In engineering practice, computation and communication need to overlap as much as possible to avoid communication stalls slowing down the entire pipeline.
The pseudocode below illustrates the basic structure of the training loop and is not intended to be executable:
# Illustrative training loop (pseudocode, not directly runnable)for step in range(num_steps):batch = next(dataloader) # Load multimodal dataloss = model.forward_backward(batch) # Forward and backward computationoptimizer.reduce_and_update() # Gradient reduction and optimizer updateif is_overflow(optimizer): # Numerical overflow checkreset_optimizer_state()log(loss, grad_norm) # Record metrics at each step
3. Gradient Synchronization and Numerical Stability
In cross-node training, gradient synchronization is the most error-prone step. After each iteration, all data parallel groups must exchange gradients over the high-speed network; any communication anomaly can interrupt training. The software stack therefore typically needs fault-tolerance mechanisms such as communication timeout with retry, gradient checksums, and checkpoint-based resumption. For potential numerical overflow, gradient clipping and mixed-precision strategies are commonly applied.
Two-Server, 16-Card Experiment: Results and Boundaries
The experiment used two servers with a total of 16 AI training-and-inference cards, connected through a high-speed interconnect network. Sixteen training processes were evenly distributed, all driving the same training task. The focus of this experiment was stability and correctness, not maximizing throughput.
The system continuously executed 400 optimizer updates while recording loss and gradient norm throughout. Both metrics remained within finite bounds, with no divergence, NaN, or abnormal termination. This result demonstrates the following:
- The cross-node communication protocol allows multiple processes to coordinate correctly;
- Gradient synchronization and optimizer state updates remain consistent across nodes;
- Within the executed step count, memory management in fully sharded data parallelism shows no obvious leaks or out-of-bounds errors;
- Data processing and model computation in the multimodal training path are properly connected.
At the same time, these boundaries should be recognized. Four hundred steps is a short test window and cannot infer long-term training stability. Details such as card model, interconnect bandwidth, parallel configuration, sequence length, batch size, compute precision, and throughput should also be verified against the vendor’s publicly released adaptation report. If this result is to be used as a basis for hardware selection, these configurations should first be checked against the target use case.
Disclosure of Other Scenarios
The vendor also disclosed progress in several other training scenarios. These statements come from public announcements by collaborators, and the training scale and validation methodology have not been independently verified item by item; readers should refer to the original disclosures.
- Scientific foundation model: A disclosed training completion for a scientific foundation model with 236 billion parameters. Such models involve extensive matrix operations and scientific computation operators, placing high demands on underlying compute and operator optimization.
- World model: A disclosed full-stack native training support for a 5D world model, involving computational patterns such as spatiotemporal modeling, physical simulation, and multi-view data fusion.
- Embodied brain model: A disclosed collaboration with research institutions to complete full-pipeline training of an embodied brain model, covering perception, decision-making, and control.
These cases indicate that Chinese GPUs have taken on training tasks across multiple directions. However, they cover the validation scope described in each respective case and cannot directly imply that the chip is capable of all large-scale training tasks. The vendor is advancing toward trillion-parameter training, which presents greater challenges in memory scaling, communication topology, energy consumption, and long-duration stability compared to hundred-billion-parameter models — continued effort is required.
From Trainable to Out-of-the-Box: What Still Needs to Be Done
“Out-of-the-box training” is an evolutionary goal, not yet achieved. It means that users can submit model code and training configuration without deep knowledge of the underlying hardware, and the model runs stably on a cluster. Reaching this goal requires at least three categories of capability.
- Automated operator adaptation: Use automatic operator generation and optimization to reduce reliance on manual tuning, covering new operator types such as multimodal attention and dynamic routing more quickly.
- Automatic parallel strategy selection: Select parallel strategies and communication modes automatically based on hardware topology and model structure, dynamically balancing computation and communication.
- Complete toolchain: Provide training diagnostics, performance profiling, fault-tolerant recovery, and hyperparameter search tools to lower the barrier for developers.
To assess whether this goal has been reached, the following acceptance criteria can serve as references: operator coverage across mainstream open-source models, fault-recovery capability for long-duration training, publicly available performance baselines, and the amount of code changes required to migrate existing GPU code. Only when these metrics have public data can the domestic compute foundation be judged as truly achieving “out-of-the-box training.”
The path from “trainable” to “out-of-the-box training” for Chinese GPUs depends on transforming one-time validations into reusable, measurable engineering capabilities. When evaluating progress, readers should look at both what has been validated and what remains uncovered.
