A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Large Model
This article explains what a training adaptation for a nearly 3-trillion-parameter flagship model actually means, and why it is not the same as pre-training the model on the hardware. It covers the four layers of adaptation (operators, parallelism, numerics, and tooling), the native FSDP2 multimodal training path, the design and criteria of a 400-step stability test on 16 accelerators across two nodes, a numerical stability checklist, the remaining engineering gaps before out-of-the-box training, and practical recommendations for developers.
A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Large Model
1. What Happened: A Training Adaptation, Not a Pre-Training 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 the training adaptation of a flagship large model with nearly 3 trillion parameters. The test environment was two nodes with 16 accelerator cards in total. All 16 training processes completed 400 consecutive optimizer updates, with the loss and gradient norms staying finite throughout and no numerical overflow or abnormal interruption.
One common misunderstanding needs to be cleared up first: a successful training adaptation does not mean the model was pre-trained on these chips. Adaptation or enablement answers the question of whether the software and hardware can run the model correctly and stably while continuing to update parameters. Base-model pre-training, by contrast, involves the overall engineering of data mixtures, compute scale, training duration, and parallel strategies, which is a different order of magnitude. A common industry practice is to validate several backend routes side by side in a model technical report; most of these are feasibility checks of inference operators or partial training paths, and they do not amount to an official confirmation of the original compute used for base-model pre-training.
So the value of a training adaptation should be judged on three things: whether the pipeline is complete, whether parallel strategies are natively supported, and whether numerics stay stable over long runs.
2. Aligning Key Concepts: What Training Adaptation Actually Adapts
Training adaptation typically involves four layers of work, and none can be missing:
- Operator layer: core operators such as attention, normalization, activation, and loss functions have correct and high-performance implementations on the target backend, covering both forward and backward passes.
- Parallelism layer: combined partitioning and communication orchestration of data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism.
- Numerical layer: mixed-precision policy, loss scaling, gradient clipping, and reduction order, which determine whether long-run training diverges.
- Tooling layer: checkpoint resume, log and metric collection, fault localization, and automated stress testing.
Only when all four layers work together can you talk about “stable full-pipeline training.”
3. The Native FSDP2 Training Path: Why It Fits Multimodal Models Better
This adaptation built a native FSDP2 multimodal training path, connecting the full chain from model loading and shard scheduling to gradient synchronization. The core idea of FSDP2 is parameter sharding plus explicit communication primitives: model state is partitioned along the data-parallel dimension, parameters are All-Gathered on demand in the forward pass, and gradients are Reduce-Scattered layer by layer in the backward pass, so that no single card has to keep a full parameter replica resident.
The pseudocode below is illustrative and only expresses scheduling order; it does not point to any specific framework interface:
# Pseudocode: FSDP2-style layer-by-layer forward/backward schedulingfor layer in model.layers: # sequence of sharded layersparams = all_gather(layer.shard) # aggregate parameters on demand in forwardout = layer.forward(params, x)x = outloss = criterion(x, target)loss.backward() # trigger gradient reduction layer by layer in backwardfor layer in reversed(model.layers):reduce_scatter(layer.grad) # sharded gradient reductionoptimizer.step() # each rank updates only its local shard
For multimodal models, the vision encoder, projection layers, and language backbone differ greatly in structure, and parameter counts and compute are unevenly distributed. The value of the native FSDP2 path is that the sharding granularity is controllable, the wrapping process is transparent to model structure, and it is easy to combine with activation recomputation and mixed precision, reducing the cost of hand-writing parallel code for each modality.
4. The Two-Node, 16-Card, 400-Step Stability Test: Design and Criteria
The point of a cross-node joint training test is not “it starts,” but “it keeps running without crashing.” A reference validation design:
- Environment baseline: fix the random seed, data order, and initialization, and record software stack and driver versions.
- Scale setup: 2 nodes x 8 cards, 16 training processes in total, with intra-node high-speed interconnect and inter-node network communication enabled.
- Metrics observed: log loss, gradient norm, parameter norm, the time of each communication primitive, and peak GPU memory at every step.
- Pass conditions: across 400 consecutive optimizer updates, loss and gradient norms stay finite; no NaN/Inf; no process exit or communication timeout.
When reading the results, distinguish two kinds of problems: numerical problems (loss spikes, gradient norms climbing continuously) mostly come from the precision policy and reduction order; engineering problems (stalls, timeouts, process exits) mostly come from communication topology, timeout thresholds, and fault-tolerance configuration.
5. Numerical Stability Checklist
- Under mixed precision, is the loss scaled correctly and then unscaled uniformly after the backward pass?
- Is gradient clipping performed after reduction completes and before the parameter update?
- Are the statistics of normalization layers consistent under large batches and sharding?
- Does long-sequence attention need a more numerically stable softmax implementation?
- Does the checkpoint include optimizer state and random number state, so that resumed training is reproducible?
6. The Engineering Gap Between “It Can Train” and “Out-of-the-Box Training”
Public practice already shows several results of domestic chips training domestic models: the complete from-scratch training of a 236-billion-parameter scientific foundation model, full-stack native training support for a 5D world model, and the full-process training of an embodied brain model carried out with research institutions, while training of trillion-parameter-scale models is underway. These cases show the pipeline is usable, but there is still a gap to “out-of-the-box training,” mainly in:
- Operator coverage and performance consistency, especially long-tail operators.
- Automated search and tuning of parallel strategies.
- Fault self-healing, checkpoint resume, and long stable run duration.
- Observability: unified collection and alerting for metrics, logs, and traces.
For cloud deployment, you can combine a container platform to host training jobs, object storage to hold datasets and checkpoints, a message queue to decouple data preprocessing, and log and monitoring/alerting services for long-run observation. These general capabilities together form the foundation of training engineering.
7. Practical Recommendations for Developers
- Start with a small-scale “smoke test” of a few dozen steps to validate the pipeline, then scale up to multiple nodes and cards.
- Build a numerical dashboard that puts loss, gradient norm, GPU memory, and communication time in one view.
- Make parallel and precision strategies configuration items so regression comparisons are easy.
- Use “number of consecutive update steps” rather than “whether it starts” as the acceptance criterion.
- Keep complete, reproducible experiment records for problem localization and version rollback.
The essence of training adaptation is turning uncertainty into an engineering process that is measurable, reproducible, and stable over long runs. When operators, parallelism, numerics, and tooling are all mature, large-model training on domestic full-function GPUs will truly move from “it can train” to “out-of-the-box training.”
