China GPU 400-Step Training Stability: What a Two-Node, 16-GPU Run Really Proves
A China-based GPU vendor reported completing training adaptation for a near-3-trillion-parameter open-source model on two nodes with 16 GPUs. The run completed 400 optimizer updates with finite loss and gradient norms. This article clarifies the difference between inference adaptation, training adaptation, and from-scratch pretraining, explains why a short stability test is still meaningful, and details the key engineering pieces: FSDP2 sharding, mixed precision, cross-node collective communication, numerical guards, and an evaluation framework for China GPU training readiness.
1. From Inference to Training: What a 400-Step Stability Run Demonstrates
A China-based full-function GPU vendor recently announced that its flagship training-and-inference AI accelerator had been adapted to train a near-3-trillion-parameter flagship open-source large model. The validation used two nodes with 16 GPUs in total for cross-node joint training, with 16 training processes completing 400 consecutive optimizer updates. Throughout the run, the loss and gradient norm remained finite, with no numerical overflow or abnormal interruption.
The announcement brought the question of whether China-based GPUs can train large models back into focus. Before judging what this means, one commonly confused point needs to be clarified: successful adaptation does not mean the model was pretrained on that chip.
1.1 Training adaptation is not inference adaptation
The following table separates three concepts that are often mixed together:
| Concept | Core question | Paths that must be connected | Typical validation |
|---|---|---|---|
| Day-0 inference adaptation | Can a new model run on day one? | Model loading, weight conversion, forward operators | Whether generated results match the reference implementation, and whether throughput and latency targets are met |
| Training adaptation | Can the chip serve as a training platform? | Beyond forward computation, it must support backward computation, parameter sharding, optimizer state management, and gradient synchronization | Whether loss converges smoothly and gradient norms remain stable across multiple update steps |
| From-scratch pretraining | Where did the base model’s original compute come from? | Full data, complete hyperparameters, and large-scale long-running clusters | Complete training logs, companion technical reports, and model releases |
Inference only requires reading weights and computing forward passes. Training, however, must complete the full loop of forward, backward, gradient reduction, and optimizer update at every step. Training also has a larger compute load, must maintain optimizer state, and must keep thousands of processes numerically consistent and stable across hundreds or thousands of steps. Therefore, inference capability only shows basic usability, while training capability is the threshold for entering large-model production.
This is why compute adaptation and training origin must be distinguished. Some open-source model technical reports verify multiple hardware routes in the same document. Such work usually validates operators and precision in inference paths, and public materials generally do not clearly disclose where the base model’s pretraining compute came from. Treating adaptation completion as proof that a model was trained on a domestic chip is both inaccurate and misleading, because it hides the real engineering problems that still need to be solved.
1.2 Why two nodes and 16 GPUs are worth attention
Some readers may ask whether training a 3-trillion-parameter model with 16 GPUs for 400 steps is meaningful. This concern is reasonable, but it also highlights the need to understand the purpose of this kind of test.
- Model size: Even if only model weights are considered, storing them in 16-bit floating point requires about 6 TB of memory. Adding gradients and optimizer states makes the full parameter set impossible to fit on 16 GPUs. Such tests are usually run in controlled configurations using methods such as layer-based subsets or CPU offloading. The goal is to validate the pipeline, not training scale.
- Duration: 400 steps is a short-term stability validation, similar to an intensive stress test. It can expose operator errors, sharding logic defects, and numerical overflow, but it cannot prove stability over weeks or months.
The real value of this result lies in three points:
- The training pipeline is complete.
- Cross-node joint training is usable.
- The numerical process is controllable.
This indicates that China-based compute is moving from adapting individual operators and running individual models to supporting a complete training workflow.
2. Key Enabler: A Native FSDP2 Multimodal Training Path
According to public information, the vendor built a native FSDP2 multimodal training path that connects model loading, sharded scheduling, and gradient synchronization.
2.1 Why trillion-parameter models require sharding
Mainstream deep learning frameworks provide distributed training capabilities, typically including three common methods:
- Data parallelism (DDP): Each GPU holds a full model replica, only data is split, and gradients are synchronized through AllReduce.
- Tensor parallelism (TP): Matrix operations in a single layer are split across multiple GPUs. This requires frequent communication and is suitable for high-bandwidth interconnects inside a machine.
- Pipeline parallelism (PP): The model is split by layer across devices to reduce per-GPU memory pressure.
Take the Adam optimizer as an example. When master weights are stored in 32-bit floating point, one copy of model parameters requires not only the parameters themselves, but also gradients and the first and second momentum terms of the optimizer. Together, this is roughly 12 times the parameter count, excluding activations. A near-3-trillion-parameter model therefore corresponds to tens of terabytes of state, which must be split across devices.
In addition, large models are often multimodal architectures. Visual encoders and language decoders have different structures, creating higher requirements for sharding granularity and computation graph partitioning.
2.2 What FSDP2 does
FSDP, short for Fully Sharded Data Parallel, is a native sharded data parallelism capability provided by mainstream deep learning frameworks. During forward computation, it temporarily gathers shards, computes results, and then releases them. During backward computation, it gathers parameters again, reduces gradients, and stores them according to shards. As a result, each GPU only needs to store a small portion of the full parameter set.
FSDP2 is its next-generation implementation. The core change is that parameters, gradients, and optimizer states are uniformly represented as distributed tensors, or DTensor. Each sharded dimension has explicit device mesh coordinates and sharding semantics. This brings three advantages:
- Sharding of parameters, gradients, and optimizer states is consistent, making state management and checkpoint saving simpler.
- The framework can automatically insert communication overlap and prefetching between forward and backward computation, reducing communication wait time.
- It naturally supports a 2D device mesh combining replication and sharding, corresponding to Hybrid Sharded Data Parallel, or HSDP, which is commonly used in large-model training.
Interface names are for reference only; actual usage depends on the framework version.
2.3 Sharding strategy and mixed precision configuration
For example, with intra-node sharding and inter-node replication, FSDP2 can be initialized as follows:
from torch.distributed.device_mesh import init_device_meshfrom torch.distributed.fsdp import MixedPrecisionPolicy, fully_shard# Two nodes, 16 GPUs total: shard parameters across 8 GPUs within each node# and replicate data across nodes using a 2D device mesh.mesh = init_device_mesh("cuda", (2, 8), mesh_dim_names=("dp_replicate", "dp_shard"))# Mixed precision policy: compute in bf16, reduce gradients in fp32.mp_policy = MixedPrecisionPolicy(param_dtype=torch.bfloat16, # forward/backward compute dtypereduce_dtype=torch.float32, # gradient reduction dtype)# Shard by Transformer layer to avoid a full-model gather causing a memory spike.for module in model.modules():if isinstance(module, TransformerBlock):fully_shard(module, mesh=mesh, mp_policy=mp_policy)# Shard the root module last to coordinate forward and backward communication.fully_shard(model, mesh=mesh, mp_policy=mp_policy)
Two configuration details deserve emphasis:
- Use 32-bit floating point for gradient reduction. Reduction is essentially the accumulation of many numerical values. If 16-bit precision is used throughout, rounding errors across multiple GPUs can accumulate over time. Keeping higher precision for reduction is an important safeguard for numerical stability during long training runs.
- Shard at Transformer-layer granularity. Parameters of each layer are only temporarily gathered during computation and released immediately afterward. If the entire model is gathered at once, peak memory usage can increase significantly or even overflow.
2.4 From sharded scheduling to gradient synchronization: one complete training step
A complete training update can be divided into six steps:
- Model loading and sharding: The model is split into distributed tensors according to the framework’s sharding rules, and each GPU keeps only the portion it is responsible for.
- Forward prefetching and gathering: Before a layer is needed, its parameters are prefetched and gathered, then released after computation.
- Backward computation and gradient reduction: Gradients are computed while reduction is performed, and each GPU finally keeps only the gradient shard it is responsible for.
- Gradient clipping: A global gradient norm is computed. Because gradients are distributed across GPUs, a cross-GPU reduction is needed to obtain the global norm before scaling all gradients by a unified ratio.
- Optimizer update: Each GPU updates only the parameters and optimizer states it is responsible for, avoiding redundant computation.
- Next round of gathering: Parameters are gathered again for later forward passes or checkpoint saving, ensuring that all GPUs see a consistent model.
The following code is illustrative:
optimizer = torch.optim.AdamW(model.parameters(), lr=1e-4)for step, batch in enumerate(train_loader):loss = model(**batch) # Forward: gather parameters on demand.loss.backward() # Backward: compute gradients layer by layer and reduce them.# Example global gradient-norm clipping. Newer frameworks can pass error_if_nonfinite=True# to fail fast on NaN/Inf values instead of silently applying bad updates.grad_norm = torch.nn.utils.clip_grad_norm_(model.parameters(), max_norm=1.0)# Numerical guard: skip the update if the norm is non-finite so bad values do not# propagate into optimizer state.if torch.isfinite(grad_norm):optimizer.step() # Update the sharded parameters and optimizer state.else:print(f"step {step}: gradient norm is non-finite ({grad_norm.item()}); skipping this update")optimizer.zero_grad(set_to_none=True)if step % 10 == 0: # Observe training progress.print(f"step {step}: loss={loss.item():.4f}, grad_norm={grad_norm.item():.4f}")
In cross-node scenarios, the communication path changes from high-bandwidth intra-node interconnect to inter-node networking, where latency and bandwidth become less favorable. Engineering work usually focuses on two things:
- Adjusting bucket sizes and prefetch depth so that communication is hidden behind computation as much as possible.
- Separately measuring communication time and computation time to identify the real bottleneck.
3. Hidden Challenges in Cross-Node Scaling
With 16 GPUs spread across two machines, the scale looks small, but it already touches one of the most typical changes when moving from a single machine to multiple machines: collective communication must cross the inter-node network. Several aspects determine whether cross-node training remains stable.
3.1 Communication topology and collective communication tuning
The actual cost of an AllGather or ReduceScatter operation depends on:
- The number of participating GPUs;
- The amount of data transferred per operation;
- Network bandwidth and latency;
- How data is distributed across nodes.
Common tuning directions include:
- Setting an appropriate bucket size: if buckets are too small, communication happens too often; if buckets are too large, peak memory usage rises and communication may not overlap well with computation.
- Adjusting prefetch depth: too little prefetching makes compute units wait for communication; too much prefetching increases memory usage.
- Planning process placement according to hardware topology so that frequent communication uses high-bandwidth links.
3.2 Secondary splitting of parallel strategies
When parameter sharding across eight GPUs within one machine is not enough to hold the model state, data parallelism alone is insufficient. At this point, tensor parallelism or pipeline parallelism may need to be introduced inside the machine to further reduce the parameter footprint per GPU. Across machines, data parallelism or hybrid sharding can then be applied.
This kind of multi-dimensional parallelism changes communication patterns. For example, tensor parallelism requires frequent communication inside a layer. If parallel order and grouping are not adjusted properly, even cross-node training that was previously smooth may show obvious communication waits.
3.3 Engineering for long-running stability
A 400-step run proves that the pipeline is usable, but supporting long-period training requires a full set of mechanisms:
- Periodic checkpoint saving: When resuming from failure, model weights, optimizer states, and the position of the learning rate scheduler must be validated together to ensure that the loss curve remains continuous after recovery.
- Health checks and fault isolation: Before and during training, GPU, link, and memory states should be checked. Slow nodes or abnormal GPUs should be isolated and replaced promptly.
- Silent data corruption protection: Some hardware errors do not trigger direct failures but silently cause results to drift. Common practices include periodically validating key operators such as matrix multiplication or comparing results from multiple replicas.
- Lossless logging and metrics collection: Metrics such as loss, gradient norm, throughput, and memory usage should be recorded step by step and connected to logging systems and monitoring alerts so that anomalies can be detected and localized quickly.
4. Methodology: How to Evaluate Training Adaptation on China-Based GPUs
Whether you are on a model team or a compute platform team, evaluating whether a China-based GPU can support large-model training can start from the following five dimensions.
4.1 Functional correctness: Do results align?
On a smaller model, train the same number of steps on the China-based GPU and on a mature GPU platform used as a reference, then compare the loss curves. Focus on two points:
- Whether the per-step loss difference stays within a reasonable fluctuation range;
- Whether accumulated errors continue to grow.
Coverage should also include modules that are prone to problems, such as mixture-of-experts routing, attention variants, positional encodings, and multimodal fusion.
4.2 Numerical stability: Is the process controllable?
A smooth loss curve does not necessarily mean the process is healthy. For the validation discussed in this article, the conclusion that loss and gradient norm remained finite requires at least the following conditions to be met simultaneously:
- Reasonable compute and reduction precision: A common practice is to compute in 16-bit floating point and reduce gradients in 32-bit floating point.
- Effective gradient clipping: Occasional abnormal gradients during training can be constrained promptly.
- Explicit capture of anomalies: When non-finite values appear, they can be detected, reported, and skipped according to policy instead of being silently accepted.
- Validated operator implementations: Numerically sensitive operators such as normalization and exponential operations should have been compared against a reference implementation.
4.3 Performance efficiency: Is compute cost-effective?
Beyond throughput, a more meaningful metric is Model FLOPs Utilization, or MFU, which measures the ratio of actual floating-point operations used in training to the hardware’s theoretical peak. In cross-node scenarios, it is useful to measure separately:
- Computation time;
- Communication wait time;
- Data loading time.
Only by understanding the share of each can you determine whether the bottleneck is in operators, communication, or the data pipeline, avoiding the situation of having many GPUs but still running slowly.
4.4 Stability and operability: Can it run for a long time?
Key questions include:
- Can it run from single-step validation to long tests of more than a thousand steps without interruption?
- After fault recovery, can loss continue seamlessly?
- From job submission to training startup, can an automated toolchain handle multi-node, multi-GPU scheduling, environment preparation, and monitoring integration in one step?
4.5 Ecosystem compatibility: Is migration cost controllable?
Mainstream model structures, parallel strategies, and distributed training capabilities are already natively provided by general-purpose frameworks. Ideally, migrating to a China-based GPU should mainly require replacing the device runtime and optimizing or filling in operators for new hardware, while model code should require as few changes as possible.
For example, when training in the cloud, container platforms are often used to standardize runtime environments, and resource-pooling schedulers can bring heterogeneous compute into the same training workflow.
5. From “Trainable” to “Out-of-the-Box Trainable”
From public information, the vendor has deployed “domestic chips training domestic models” in several scenarios:
- A scientific foundation model of approximately 236 billion parameters completed full training from scratch;
- Full-stack native training of a 5D world model;
- End-to-end training of an embodied intelligence large model;
- Ongoing work with partners to advance training of trillion-scale parameter models.
These cases cover different model types, including language, world models, and embodied intelligence. Together, they point to one judgment: support for large-model training on China-based compute is moving from isolated breakthroughs to system-level capability.
To achieve “out-of-the-box training,” the core is to build an automated engineering system:
- Operator layer: Build an operator library covering mainstream model structures, with automated precision comparison and diagnostic clues when differences are found.
- Parallel layer: Automatically recommend parallel partitioning schemes based on model scale and cluster scale, reducing repeated manual trial and error.
- Scheduling layer: Submit jobs through templates, automatically handling multi-node, multi-GPU startup and failure rescheduling.
- Observability layer: Collect training metrics and logs in a unified way, with automatic alerts for anomalies.
This is the dividing line between “trainable” and “out-of-the-box trainable”: the former depends on deep tuning by engineers, while the latter lets teams focus on models and algorithms.
6. Conclusion
The significance of two nodes and 16 GPUs completing 400 stable training steps is not the conclusion that China-based GPUs can now train trillion-parameter models. Instead, it verifies the existence of a complete training pipeline: from model loading and sharded scheduling to gradient synchronization and numerical protection, every stage is observable and controllable.
For developers, when evaluating China-based compute, instead of only asking whether it can run, it is better to ask how many steps it ran, how large the error is, how many interruptions occurred, and how long recovery takes. When these questions have clear answers, large models that can be trained, kept stable, and trained cost-effectively on China-based GPUs will truly move toward large-scale deployment.
