A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: 400 Stable Steps on 16 Cards Across Two Nodes
This article explains a recent training adaptation in which a domestic full-function GPU vendor ran a nearly 3-trillion-parameter flagship model for 400 consecutive optimizer updates on 16 cards across two nodes. It clarifies the difference between training adaptation, inference validation, and original pre-training; walks through the native FSDP2 training path covering model loading, shard scheduling, and gradient synchronization; interprets what the 400-step stability test does and does not prove; and lists the engineering modules needed to turn a one-off adaptation into repeatable training capability. Developers will find practical guidance on validating numerical stability before scaling to long-running multi-node jobs.
1. Background: A Training Adaptation, Not Pre-Training From Scratch
A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference accelerator card and its in-house software stack, it quickly completed the training adaptation of a flagship large model with nearly 3 trillion parameters. Under a two-node, 16-card configuration, the setup ran stably for 400 consecutive optimizer update steps.
This kind of announcement is easy to misread, so it is worth drawing the conceptual boundaries first: training adaptation is not the same as completing the original pre-training of the model on this chip.
In industry usage, “Day 0 adaptation of the latest open-source model” usually means that operator alignment is done and inference is available on the day the weights are released. “Training adaptation” goes a step further: the model must not only run forward inference, but also perform backpropagation, gradient synchronization, and optimizer updates, while remaining numerically stable across multiple cards and nodes. The engineering difficulty of the two is not on the same scale.
A comparable industry phenomenon is worth noting: in the technical report of a leading model, inference operator schemes for two different accelerator architectures were validated side by side, but the report did not publicly state where the original pre-training compute for the base model came from. This shows that “hardware that appears in a report” and “hardware that carried out pre-training” are two different things. Readers need to distinguish three levels: validation, adaptation, and pre-training.
2. Technical Core: What the Native FSDP2 Training Path Delivers
According to publicly available technical material, this adaptation built a native FSDP2 (Fully Sharded Data Parallel, second version) multimodal training path and connected three key stages:
- Model loading: A nearly trillion-parameter model cannot reside entirely in a single card’s memory, so parameter sharding and metadata construction must happen at the loading stage.
- Shard scheduling: During forward and backward passes, parameter shards are gathered on demand via all-gather and released immediately after computation, requiring careful balance between memory usage and communication volume.
- Gradient synchronization: After the backward pass, sharded gradients undergo reduce-scatter, and each rank then updates its local parameter shard.
The key improvement of FSDP2 over the previous generation lies in clearer shard state management and better compatibility with compiled computation graphs (such as torch.compile-style approaches), reducing performance regressions caused by graph breaks. The illustrative configuration logic is as follows (semantics only, not a specific product interface):
# Pseudocode: core semantics of fully sharded data parallelismfor step in range(total_steps):for layer in model.layers: # load shards layer by layerparams = all_gather(layer.shards)out = layer.forward(params, x)release(params) # release after use to cap peak memoryloss = criterion(out, target)loss.backward() # reduce-scatter gradients layer by layer in backwardoptimizer.step() # each rank updates its local parameter shardoptimizer.zero_grad()
The difficulty of a multimodal training path is that modalities such as text, images, and video differ greatly in sequence length and tensor shape, which easily leads to dynamic computation graphs, insufficient operator coverage, and uneven load. A native path means these issues are addressed collaboratively at the framework and operator layers rather than through bolt-on patches.
3. Stability Validation: What 400 Consecutive Steps Show
The experiment used cross-node joint training on two nodes with 16 cards. Sixteen training processes completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout, with no numerical overflow or abnormal interruption.
The value of these metrics needs to be understood in detail:
- Finite and smooth loss: indicates that forward computation precision (typically BF16/FP16 paired with FP32 master weights under mixed precision) did not accumulate error to the point of exploding.
- Finite gradient norms: gradient clipping and normalization layer implementations are correct, and the numerical behavior of backward operators (such as the backward passes of LayerNorm/RMSNorm and attention) is aligned.
- 400 steps without interruption: cross-node communication (RDMA/collective communication libraries) showed no hang and no timeout over a long run, and fault-tolerance and timeout thresholds were configured reasonably.
It should be stated objectively that 400 steps constitute a functional and stability validation, not a convergence validation. Real pre-training requires tens of thousands of steps or more, data throughput on the order of trillions of tokens, and a complete engineering system including learning rate scheduling, data parallelism strategies, and checkpoint resume.
4. Engineering System: The Gap Checklist From “Can Train” to “Ready to Train Out of the Box”
To turn a successful adaptation into reusable training capability, the following modules usually need to be completed:
| Capability Module | Key Issue | General Solution Direction |
|---|---|---|
| Operator coverage | Missing custom operators cause graph breaks | Fill operator library gaps + automatic fallback and alerts |
| Parallelism strategy | Complex combinations of tensor/pipeline/expert parallelism | Automatic parallelism search and cost models |
| Memory management | Peak memory overflow | Recomputation, offloading, shard granularity tuning |
| Communication optimization | Cross-node bandwidth bottleneck | Overlap communication with computation, topology-aware scheduling |
| Fault tolerance and resume | Extremely high cost of long-job interruption | Periodic checkpoints + asynchronous saving |
| Observability | Difficult fault localization | Log service + monitoring alerts + metrics dashboards |
For cloud deployment, object storage is typically also needed to hold datasets and checkpoints, a container platform to host elastic training clusters, a message queue to decouple the data preprocessing pipeline, and a monitoring and alerting system covering hardware temperature and communication error rates. These belong to general cloud product categories rather than being proprietary to any single vendor.
5. Industry Progress and Assessment
Public information shows multiple domestic practices of “domestic chips training domestic models”: completing full training from scratch of a 236-billion-parameter scientific foundation model, supporting full-stack native training of a 5D world model, jointly completing end-to-end training of an embodied brain model with research institutions, and advancing toward trillion-parameter-scale model training.
A rational assessment is that the shortcoming of domestic full-function GPUs on the training side is shifting from “can the operators run” to “the yield and efficiency of large-scale, long-duration stable training.” The former is a point problem; the latter is a systems engineering problem involving scheduling, fault tolerance, data supply, and toolchain maturity. Cloud vendors such as Baidu AI Cloud have accumulated general capabilities in heterogeneous compute scheduling, training job orchestration, and observability, and this kind of platform capability is exactly the key link in turning a single adaptation into stable production capacity.
Practical advice for developers: first complete numerical stability validation at the two-node, 16-card level (watching the loss and gradient norm curves), then gradually scale to multi-node long-duration training, and build checkpoint resume and monitoring alerts in parallel, to avoid the gap between “running once” and “stable mass production.”
