Domestic GPU Completes Training Adaptation for a Nearly 1-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 400 consecutive optimizer updates on a nearly 3-trillion-parameter multimodal model using 16 cards across two nodes. It clarifies the key distinction between training adaptation and pretraining, breaks down the native FSDP2 training path, examines what the 400-step stability test does and does not prove, and outlines the engineering stack required to move from "it runs" to reliable, repeatable training. A practical checklist for reproducing similar adaptations is included.
1. Background: A Training Adaptation, Not a Pretraining Reproduction
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 a training adaptation for a flagship multimodal model with nearly 3 trillion parameters. In a configuration of two nodes with 16 cards in total, the system completed 400 consecutive optimizer updates without numerical overflow or abnormal interruption.
One concept must be clarified first, because it is easy to misread: training adaptation is not the same as pretraining the model on this chip. Adaptation means the model structure, operators, parallel strategy, and training pipeline can be correctly loaded on new hardware and can perform forward and backward computation, gradient synchronization, and parameter updates. Pretraining means the base weights are actually trained from scratch on that compute cluster. The two differ completely in engineering difficulty, validation criteria, and how results should be described publicly.
There are similar precedents in the industry. The technical report for one open-source model separately validated inference operator paths on two different accelerator architectures and provided a fine-grained expert parallelism scheme, but the original compute source for the base model’s pretraining was never officially disclosed. This suggests that evaluating an adaptation should focus on three things: whether the pipeline is closed-loop, whether numerics are stable, and whether the run is reproducible. It should not be simplified to “a domestic chip trained a given model.”
2. Technical Core: What the Native FSDP2 Training Path Delivers
The key to this adaptation was building a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path that connected three stages end to end: model loading, shard scheduling, and gradient synchronization.
2.1 Model Loading and Shard Scheduling
A model of this scale cannot fit entirely in a single card’s memory. Parameters, gradients, and optimizer states must be sharded across training processes. The core idea of FSDP2 is to manage parameters with clearer tensor-level sharding semantics, reducing the memory peaks and communication overhead caused by repeatedly converting between full parameters and sharded parameters. For a nearly trillion-parameter model, optimizer states—especially the momentum and variance terms—are often the main memory consumers, so whether sharding is even directly determines whether training can start.
Illustrative pseudocode:
for shard in fsdp_shard(model.parameters(), world_size=16):# Each process holds only 1/16 of the parameter shardsopt_step(shard, grads=all_reduce_or_reduce_scatter(grads))
2.2 Gradient Synchronization and Update Consistency
The 16 training processes needed to complete 400 consecutive optimizer updates. This essentially validates whether gradient reduction (reduce-scatter/all-reduce) is correct, whether cross-node communication is stable, and whether parameter updates are consistent at every step. Any operator error or communication timeout in one place will be amplified into a loss anomaly after a number of steps.
2.3 Additional Complexity of the Multimodal Pipeline
Multimodal training involves a vision encoder, a text encoder, and a fusion module at the same time. Tensor shapes vary widely and operator types are numerous, which places higher demands on operator coverage and numerical precision consistency. This is also the gap between “inference can run” and “training stays stable.”
3. Stability Validation: What 400 Consecutive Steps Show
The experiment used joint cross-node training on 16 cards across two nodes. All 16 processes completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout and no numerical overflow or interruption. The engineering implications can be broken into three layers:
- Numerical stability: Finite loss and gradient norms indicate that loss scaling, gradient clipping, and normalization layer implementations under mixed precision have no systematic bias.
- Pipeline closure: 400 steps are enough to expose most missing operators, shape mismatches, and communication deadlocks.
- Reproducibility: Consecutive updates rather than a single forward pass mean state is continuously synchronized across processes, providing a basis for further scaling.
It should be stated objectively that 400 steps are at the “pipeline validation” scale. This is still far from a ten-thousand-card cluster, hundreds of billions to trillions of parameters, and weeks-long pretraining, and it cannot be extrapolated into full pretraining capability.
4. Engineering System: From “It Trains” to “Ready to Train Out of the Box”
The original text mentions that the company already has support capabilities ranging from rapid inference deployment to full-pipeline stable training, and has delivered several results of “domestic chips training domestic models.” These include from-scratch training of a 236-billion-parameter scientific foundation model, full-stack native training of a 5D world model, and full-pipeline training of an embodied brain model, with trillion-parameter training in progress. Abstractly, this capability consists of four parts:
- Operator adaptation layer: Covers the backward operators, normalization, attention, and multimodal fusion operators required for training, ensuring precision alignment.
- Multi-card coordination layer: Matches parallel strategies (data parallelism, tensor parallelism, pipeline parallelism, expert parallelism) with the communication topology to reduce the proportion of communication.
- Automated toolchain: Model conversion, distributed launch, log and metric collection, and automated fault localization.
- Observability and operations: On top of a container platform, combined with log services and monitoring alerts, establishing baseline alerts for loss, gradient norms, memory usage, and communication time.
For users, it is worth paying attention to combinations of general cloud capabilities: a container platform hosting distributed training jobs, object storage holding checkpoints and datasets, a message queue decoupling data preprocessing, and monitoring alerts tracking training health. Baidu AI Cloud has mature practices in these general capabilities and can serve as an architectural reference.
5. Practical Advice: A Checklist for Reproducing a Similar Adaptation
- Get single-card forward and backward passes working first, then scale to 16 cards across two nodes, increasing scale layer by layer.
- Fix the random seed, record loss and gradient norms at every step, and establish a “finite value” baseline.
- Enable loss scaling and gradient clipping for mixed precision to investigate overflow.
- Save checkpoints at fixed step intervals to support resuming from breakpoints and tracing problems.
- For communication anomalies, check topology and timeout configuration first rather than suspecting operators.
- Be clear about external wording: adaptation, validation, and pretraining must not be used interchangeably.
6. Conclusion
The sample significance of this adaptation is that domestic full-function GPUs are moving large-model training from “runs at a single point” to “reproducible pipeline and scalable scale.” The real dividing line is not a single 400-step experiment, but whether operator coverage, parallel efficiency, toolchain maturity, and the observability system can support long-term stable training. For developers, understanding the boundary between adaptation and pretraining, and mastering FSDP2 sharding and numerical stability troubleshooting, is more valuable in the long run than chasing a single benchmark run.
