Adapting Domestic GPUs for Training: A Validation Method from "It Runs" to "It Trains Stably"
A Chinese GPU vendor recently disclosed that its flagship training-inference card completed training adaptation for a near-3-trillion-parameter model, running 400 consecutive steps on 16 cards across two nodes. This article explains what such disclosures can and cannot prove, how training adaptation differs from inference adaptation, what 400 steps of stable training actually validate, and provides a minimal acceptance framework plus a practical rollout checklist for teams evaluating domestic compute platforms for large model training.
1. Background: What Public Disclosures Can and Cannot Tell Us
According to a public disclosure from a domestic Chinese GPU vendor, its flagship training-inference AI compute card, together with its in-house software stack, completed training adaptation for a model at the scale of nearly 3 trillion parameters from a leading AI lab, and ran 400 consecutive training steps in a two-node, 16-card setup. This information comes from the vendor itself and has not been independently verified by a third party.
The boundaries of this claim need to be drawn carefully. The public material does not provide the following key configurations: whether all parameters were trained or only some layers; whether offloading of parameters, gradients, or optimizer states was enabled; batch size, sequence length, numerical precision, and where optimizer states reside; and the combination of data, tensor, pipeline, and expert parallelism. These configurations determine per-card memory consumption and communication volume. Without them, readers cannot judge from the 16-card memory budget whether 3-trillion-parameter-scale training is even feasible.
Therefore, this article does not interpret the case as “full pretraining of a 3-trillion-parameter model has been completed.” Sixteen cards running 400 consecutive steps validates that a training pipeline can keep running under a specific configuration; it does not equate to completing full pretraining.
2. How Training Adaptation Differs from Inference Adaptation
What the industry often calls “Day 0 adaptation” usually refers to a chip vendor quickly completing operator support and deployment verification on the inference side the day a new model is open-sourced, so that the model can run. Training adaptation covers far more: it requires a complete closed loop of forward computation, backpropagation, optimizer updates, and gradient synchronization.
| Dimension | Inference adaptation | Training adaptation |
|---|---|---|
| Computation | Primarily forward pass | Forward, backward, and optimizer updates all involved |
| Memory usage | Weights and KV cache | Weights, gradients, optimizer states, and activations |
| Communication | Minimal, mostly intra-node or point-to-point | Frequent cross-node collective communication |
| Numerical stability | Relatively tolerant of precision | Gradient underflow and loss spikes need continuous monitoring |
| Acceptance method | Compare outputs against a reference implementation | Long-term observation of loss curves, gradient norms, and throughput |
Some technical reports validate both domestic NPUs and mainstream international GPUs, but such validation often stays at the inference operator level. It shows that operators can run, but it does not prove that foundation model pretraining was completed on that chip. Distinguishing the two is essential for judging the real capability of domestic compute.
3. Three Stages of the Training Pipeline
The core of training adaptation is building a native distributed training path. The case discussed here used a fully sharded data parallel approach similar to FSDP. Note that FSDP2 is a specific implementation in the PyTorch framework, not an industry-wide standard. Other software stacks can implement a similar fully sharded approach, but sharding granularity, communication group partitioning, and memory offload strategies will differ.
Three stages deserve attention when implementing this path.
- Model loading and weight sharding. A single card’s memory typically cannot hold the full weights, so parameters must be sharded at initialization. The sharding strategy must be consistent with the computation graph; otherwise, the forward pass will read an incorrect parameter layout.
- Computation and communication scheduling. During training, full gradients cannot reside permanently on a single card, so parameters must be aggregated and broadcast on demand between computation steps. The degree of compute-communication overlap directly affects throughput.
- Gradient synchronization and optimizer updates. Cross-node gradient synchronization depends on the stable operation of the collective communication library. Distributed management of optimizer states must avoid precision loss and state inconsistency.
A problem in any of these three stages typically manifests as loss divergence, exploding gradient norms, or abnormal process exits. The following table can help with troubleshooting.
| Symptom | Priority areas to check |
|---|---|
| Loss divergence or NaN | Loss scale settings, mixed-precision configuration, learning rate and warmup |
| Sudden gradient norm spikes | Anomalous samples, per-layer gradient distribution, parameter-gradient correspondence after sharding |
| Abnormal process exit | Collective communication timeout logs, memory allocation failure records |
| Noticeable throughput drop | Compute-communication overlap, cross-node network congestion, blocked data loading |
4. Stability Validation: What Do 400 Steps Tell Us?
The most noteworthy part of the public disclosure is the validation method. Two nodes with 16 cards in total ran cross-node joint training; 16 training processes completed 400 consecutive optimizer updates; during training, loss and gradient norms remained finite, with no numerical overflow or interruption.
Why focus on several hundred consecutive steps? In large-scale training, many hidden problems have a delayed onset.
- Numerical issues: Gradient underflow under mixed precision and improperly tuned loss scaling often appear as loss spikes only after tens to hundreds of steps.
- Memory fragmentation: After long runs, fragmentation can cause allocation failures; short-step tests are unlikely to expose this.
- Communication jitter: Cross-node congestion and edge conditions in the collective communication library require enough iterations to surface statistically.
So the 400-step result has some reference value. Within the given configuration and validation scope, it shows that this combination was numerically and communication-wise stable over that period. However, it does not cover the long-duration operation required for full pretraining, nor does it validate long-term throughput fluctuation or recovery after failures. Those must be verified separately.
5. An Actionable Minimal Acceptance Framework
Teams evaluating domestic compute platforms can build a minimal validation set from three categories of metrics: loss finiteness, gradient norm distribution, and throughput stability. The thresholds below are suggested starting points and should be calibrated against your task and baseline.
- Loss finiteness: Record loss at every step. The pass criterion is no NaN or Inf during the entire run. A single occurrence counts as a failure and should be located to the specific step.
- Gradient norm distribution: Record the global gradient norm at every step, compute the P50, P90, and P99 percentiles, and compare with a reference implementation under the same configuration. If P99 deviates too far from the reference (for example, by more than 2x), investigate.
- Throughput stability: Compute tokens per second over a fixed window (for example, every 100 steps) and calculate the coefficient of variation. A persistently high coefficient indicates jitter in communication or data loading.
Log sampling frequency also needs to be explicit. Loss and gradient norms should be recorded per step; memory usage and communication latency can be sampled every 10 seconds. This data should be stored in a searchable log service for later comparison.
6. From One-Off Adaptation to an Engineering System
A single successful adaptation is only the starting point. Turning point achievements into reusable capability requires sustained investment at three levels.
- Operator layer: Build an operator library covering mainstream model architectures, and maintain rapid response for new operator types, such as the scheduling operators required for fine-grained expert parallelism.
- Orchestration layer: Improve parallelism strategy search for multi-card and multi-node scenarios, reducing reliance on manual tuning when combining data, tensor, pipeline, and expert parallelism.
- Toolchain layer: Provide environment checking, performance profiling, and fault localization tools to lower the barrier from “can train” to “trains well.”
Teams in China have already attempted training on domestic compute for scientific foundation models, world models, and embodied AI models. These developments need to be verified case by case; this article makes no specific citations.
7. Practical Recommendations for Teams
Teams planning to train large models on domestic compute can proceed in the following order.
- Pin down environment versions. Record the exact versions of drivers, operator libraries, communication libraries, and frameworks to avoid version differences contaminating conclusions.
- Do numerical alignment first. On a small-scale model, compare loss curves step by step against a reference implementation and confirm the error is within an acceptable range.
- Scale from single node to multiple nodes. At each scale-up, repeat the comparison from step 2.
- Complete long-duration stability testing. The run duration should cover the major phases of the expected training, with throughput and alerts recorded.
- Run a failure recovery drill. Manually kill one process, verify that training can resume from the latest checkpoint, and confirm the loss curve remains continuous after recovery.
On the infrastructure side, general-purpose capabilities such as container platforms, monitoring and alerting, and log services can handle task scheduling, fault tolerance, and metric observation. Alert rules should focus on loss spikes, NCCL timeouts, memory fragmentation rate, and sudden throughput drops. The team’s energy should stay on the model and the data.
The long-term goal of the domestic GPU training ecosystem is that, after a frontier open-source model is released, developers can get a training experience close to mainstream platforms without worrying about underlying differences. Reaching that goal requires joint evolution of operators, communication, frameworks, and toolchains. The case discussed in this article can serve as a reference point on that path, but its conclusions should be understood within a clearly defined configuration and validation scope.
