China's Domestic GPUs for Large Model Training: Adaptation vs. Stable Training Practices
This article explains what "adaptation" actually means when large models meet domestically developed Chinese GPU hardware, and why the term is so often misused. It separates three capability levels—inference adaptation, full training adaptation, and pre-training from scratch—then walks through the technical core of training adaptation: distributed execution and parameter sharding with FSDP. It covers why multi-node training is difficult, focusing on cross-node collective communication, numerical stability in mixed precision, and long-run robustness, and closes with the engineering capabilities—operator coverage, observability, checkpointing, and automation—needed to move from a one-off successful run to stable, reproducible training at scale.
1. First, Get the Terminology Right: Training Adaptation Is Not Pre-Training
In discussions about pairing large models with domestically developed compute in China, “adaptation” is one of the most frequently misused terms. Reports often state that a chip has “completed large model adaptation,” but adaptation actually breaks down into three distinct levels, and they differ enormously in both technical difficulty and engineering value.
The first level is inference adaptation: loading an already-trained model on the target chip and producing forward inference results. This level mainly addresses operator coverage, memory footprint, and throughput. It answers the question “does it run at all?”
The second level is training adaptation: running the complete training pipeline on the target hardware, including the forward pass, backpropagation, gradient computation, gradient synchronization, and parameter updates. It requires the hardware and software stack to support not just inference operators, but backward operators, gradient accumulation under mixed precision, and collective communication primitives across devices and nodes. This level is the focus of this article.
The third level is pre-training from scratch: training the model weights originally on the target compute cluster. This is the hardest, longest, and most expensive level, involving cluster stability at the scale of tens of thousands of accelerators, failure recovery, and training efficiency optimization.
A common misconception is to treat “training adaptation succeeded” as equivalent to “this model was pre-trained on this chip.” In practice, many open-source large models validate multiple hardware paths in their technical reports. This is usually done to confirm operator correctness for inference or fine-tuning, not to declare where the base weights were originally trained. So when assessing a domestic GPU’s capabilities, it is essential to strictly distinguish several entirely different capability tiers: “can load,” “can fine-tune,” “can train stably end to end,” and “can support pre-training from scratch.”
2. The Technical Backbone of Training Adaptation: Distribution and Sharding
The difficulty of large model training essentially comes down to three problems: a single device cannot hold the model, a single device cannot compute it fast enough, and multiple devices are hard to coordinate. Training adaptation is about how to partition the model, the data, and the computation sensibly across multiple devices and machines.
Take Fully Sharded Data Parallel (FSDP) as an example. It is one of the mainstream approaches for training models with very large parameter counts. Its core idea is this: instead of keeping the full model parameters, gradients, and optimizer states on every device as traditional data parallelism does, it slices those states along the parameter dimension so each device holds only a portion. During computation, the full parameters are temporarily materialized on demand via all-gather and released immediately afterward; after backpropagation, gradients are reduced with reduce-scatter. As a result, per-device memory consumption is inversely proportional to cluster size, which in theory makes it possible to train models far larger than any single device’s memory.
# Illustrative pseudocode for an FSDP2 training path# Wrap the model in shards, layer by layer (Transformer blocks)for layer in model.layers:fully_shard(layer) # Shard this layer's parameters and gradients along the parameter dimensionfully_shard(model) # Shard the model as a wholeoptimizer = torch.optim.AdamW(model.parameters(), lr=1e-4, foreach=True)for step, batch in enumerate(train_loader):loss = model(batch).loss # Forward: all-gather parameters on demandloss.backward() # Backward: reduce-scatter gradientsoptimizer.step() # Update: each device updates only its local shardoptimizer.zero_grad()
Compared with earlier versions, the newer sharding interfaces offer clear improvements in memory management, communication overlap, and usability. But the essential elements of the training pipeline are universal: model loading → shard scheduling → forward/backward computation → gradient synchronization → parameter update. The essence of adaptation work is ensuring that every operator, every collective communication primitive, and every precision format along this pipeline executes correctly on the target hardware.
3. Why Multi-Node Training Is Hard: Stability Is the First Hurdle
If single-node training is like several people collaborating on one problem, multi-node training is like collaborating across cities: communication overhead and the probability of failure both rise sharply. The industry commonly uses “two nodes with sixteen devices running several hundred consecutive optimizer updates” as a persuasive validation metric, because it simultaneously tests three things:
- Cross-node communication correctness: gradient reduction and parameter aggregation must complete correctly across machines, which requires the network topology, the collective communication library, and topology-aware scheduling to work together.
- Numerical stability: the loss and the gradient norm must remain finite throughout the entire run, with no NaN or Inf appearing.
- Long-run robustness: running several hundred steps without interruption suggests there are no hidden intermittent faults, such as memory leaks, communication deadlocks, or stalled data loading.
Numerical stability is the problem most easily overlooked and yet the most fatal. Mixed-precision training (such as FP16/BF16) substantially reduces memory and bandwidth pressure, but FP16 has a limited dynamic range and is prone to overflow and underflow. Common industry practices include introducing loss scaling, choosing BF16 for its wider dynamic range, and monitoring key statistics.
# Common practice for monitoring numerical stability during traininggrad_norm = torch.nn.utils.clip_grad_norm_(model.parameters(), max_norm=1.0 # Gradient clipping to prevent exploding gradients)if not torch.isfinite(loss) or not torch.isfinite(grad_norm):# On detecting an anomaly, skip this update and roll back rather than letting the error propagateoptimizer.zero_grad()log.warning(f"step {step}: non-finite value, skip")continue
“The loss and gradient norm stay finite throughout” sounds unremarkable, but in fact it is a rigorous test of the entire hardware and software stack. A single operator that handles numerical precision improperly, or a single instance of misaligned data in a communication operation, can trigger unrecoverable divergence at some training step.
4. From “It Trains” to “It Trains Reliably”: The Engineering System
Getting through one step and completing an entire training run stably are separated by a full engineering system. Genuine training adaptation capability has to cover the following areas:
- Operator completeness: coverage of backward operators, mixed-precision operators, and communication operators, not just forward operators. Any gap breaks the pipeline.
- Multi-device and multi-node coordination: topology-aware parallel strategy configuration, overlap of communication and computation, and load balancing, so that certain devices do not become bottlenecks.
- Observability: real-time tracking of loss curves, gradient norms, memory usage, throughput (tokens/s), and communication time via logging and monitoring with alerting, so anomalies can be localized quickly.
- Fault tolerance and checkpoint resume: periodically saving checkpoints so training can resume from the most recent state after an interruption. This is an indispensable safeguard for long-running training.
- Automated tooling: automating environment configuration, dependency management, job launch, and metric collection to reduce manual intervention and the probability of human error.
Only when all of these pieces are in place can large model training shift from “an expert tuning it by hand” to a standardized, out-of-the-box workflow. This also explains why, when validating domestic compute, the industry increasingly values end-to-end, long-duration, reproducible case studies rather than isolated one-off runs.
5. Practical Recommendations and Summary
For teams that want to run large model training on domestic GPUs developed in China, the following path is worth considering:
- Define the capability boundary first: determine whether you are doing inference integration, fine-tuning, full-pipeline training, or pre-training from scratch. These goals place very different demands on hardware and software, so never infer “can train large models” from the conclusion “inference runs.”
- Validate stability early: run long-duration multi-device tests on two nodes with small and medium-sized models, focusing on whether the loss and gradient norm stay finite throughout and whether intermittent interruptions occur, then scale up gradually.
- Establish numerical monitoring: systematically configure and monitor precision formats, loss scaling, and gradient clipping to eliminate NaN/Inf problems early.
- Close the engineering loop: treat observability, fault-tolerant resume, and automated tooling as standard capabilities of the training platform, not as after-the-fact patches.
In summary, what determines whether domestic full-function GPUs can support large model training is not a single demonstration, but the connectivity of three capability levels: adaptation → stable training → engineering maturity. Understanding the essential difference between adaptation and pre-training, mastering the core mechanisms of distributed sharding and numerical stability, and backing them with a complete engineering system is what allows frontier large models to move on domestic compute from “it trains” to “stable, reproducible, and scalable.”
