A Domestic GPU Completes Training Adaptation for a Near-Trillion-Parameter Model: A Stability Analysis of 400 Steps on 16 Cards Across Two Nodes
This article examines a recent training adaptation in which a domestic full-function GPU ran a near-trillion-parameter flagship model on 16 training-and-inference cards across two nodes, completing 400 consecutive optimizer updates with finite loss and gradient norms. It clarifies the boundary between training adaptation, pretraining, and inference validation; explains why 400 consecutive steps matter more than a single successful step; walks through the native FSDP2 sharding, scheduling, and synchronization path; lists four common cross-node bottlenecks and the order in which to troubleshoot them; and summarizes the capabilities and engineering habits needed to move from "it can train" to "ready to train out of the box."
1. What a “Training Adaptation” Actually Proves
A domestic full-function GPU vendor recently announced that it had completed the training adaptation of a near-trillion-parameter flagship large model. The experimental setup used 16 training-and-inference cards across two nodes, completed 400 consecutive optimizer updates, and kept both the loss and the gradient norm finite throughout, with no numerical overflow and no abnormal process exits.
The terminology needs to be defined precisely, or the result will be over-interpreted:
- Training adaptation: the model architecture, operators, parallelism strategy, and communication paths run on the target hardware and software stack, and can iterate stably during real optimization.
- Pretraining: building the base capability from random initialization using massive corpora on the target hardware; the source of the compute must be disclosed by the model developer.
- Inference validation: operator correctness and throughput validation, which typically covers less ground than training.
There is precedent in the industry: the technical reports of some foundation models validate several accelerator options side by side, but that only shows the inference-side operators are usable; it does not mean the compute for base pretraining came from that hardware. So the precise statement about this event is: domestic GPUs now have the engineering capability to support full-pipeline training of frontier complex models, while “who performed the original pretraining” still needs to be disclosed by the model developer.
2. Why 400 Consecutive Steps Matter More Than a Single Successful Step
A successful single forward and backward pass only shows that the operators have no obvious errors; hundreds of consecutive steps without a crash show that the system has entered a usable range. There are three reasons:
- Numerical accumulation: low-precision formats (such as the commonly used half precision and mixed precision schemes) accumulate error over long iterative sequences. If the loss scaling factor is not tuned properly, the gradient norm jumps first and overflow follows.
- Memory and fragmentation evolution: optimizer states, activations, and temporary buffers are repeatedly allocated and freed over hundreds of steps, and fragmentation problems often surface only after dozens of steps.
- Communication and fault tolerance: cross-node collective communication is more likely to expose timeouts, retransmissions, and topology asymmetry under long-running conditions.
A simplified pseudocode version of the criteria commonly used in engineering:
for step in range(total_steps):loss = model(batch) # forward passloss.backward() # backward passgrad_norm = clip_grad_norm_(model) # clip and compute the normassert isfinite(loss) and isfinite(grad_norm), f"step {step} numerical anomaly"optimizer.step(); optimizer.zero_grad()if step % log_interval == 0:log(step, loss, grad_norm, lr, mem_peak, comm_time)
Three criteria are worth focusing on: loss and gradient norm stay finite throughout, no process exits silently, and the curves for peak memory and communication time stay flat without spikes.
3. The Native FSDP2 Training Path: Sharding, Scheduling, and Synchronization
This adaptation used the native fully sharded data parallel (FSDP2) path, connecting the complete chain from model loading to shard scheduling to gradient synchronization. Its engineering significance lies in:
- Parameter sharding: model parameters, gradients, and optimizer states are partitioned across the data parallel group, so per-card memory usage is roughly inversely proportional to the degree of parallelism, making a near-trillion-parameter model runnable on multiple cards.
- Communication orchestration for forward and backward passes: the forward pass gathers parameters layer by layer and releases them after use; the backward pass re-gathers them in order. Overlapping communication with computation is the key to throughput.
- Multimodal structural differences: a multimodal model contains both a dense backbone and sparse/conditional branches, so sharding strategies need to be configured differently per module to avoid certain layers becoming memory and communication hotspots.
Illustrative configuration (pseudocode, expressing the idea only):
for layer in model.layers:apply_fsdp2_shard(layer, reshard_after_forward=True)apply_fsdp2_shard(model.vision_encoder, reshard_after_forward=False)optimizer = build_optimizer(model, foreach=True, fused=True)
The common trade-off is that enabling reshard_after_forward saves memory but adds communication, while disabling it does the opposite. In multimodal training, the vision-side parameters are updated less frequently, so the resharding policy can be relaxed there.
4. Four Common Cross-Node Bottlenecks and the Order to Troubleshoot Them
- Topology and bandwidth: first confirm the link quality of the high-speed inter-card interconnect and the inter-node network, and check for downgraded links.
- Parallelism strategy match: the combination of data, tensor, pipeline, and expert parallelism needs to match the model architecture; too fine a partition granularity amplifies communication overhead.
- Operator coverage: custom operators such as attention variants, normalization, positional encoding, and sparse routing are the most likely to be missing, so maintain an operator coverage checklist and fallback implementations.
- Observability: logging and monitoring alerts need to cover per-step time, communication share, peak memory, temperature, and throttling events, so anomalies can be attributed rather than masked by a restart.
5. From “It Can Train” to “Ready to Train Out of the Box”: A Capability Checklist
Drawing on landed practices of training domestic models on domestic chips (such as training small and medium scientific foundation models from scratch, full-stack native training of world models, and full-pipeline training of embodied brain models), five capabilities are essential:
- completeness of the operator library and a fast integration mechanism for custom operators;
- automatic search and recommendation of distributed parallelism strategies;
- fault tolerance and checkpoint resume for long-running jobs;
- an automated toolchain: configuration generation, performance profiling, and regression testing;
- ecosystem compatibility: low-modification migration of mainstream training frameworks and common model architectures.
6. Practical Advice for Developers
- Validate numerical correctness at small scale on a single node first, then scale to cross-node, so a topology problem is not mistaken for an operator problem.
- Establish a “minimal reproducible experiment” with fixed random seeds and data order to make cross-hardware comparison easy.
- Include stability metrics in continuous integration, running a fixed number of steps as a regression on every software stack upgrade.
- If training and checkpoints are hosted on a cloud container platform with object storage, pay attention to the impact of storage throughput and network latency on overall efficiency.
7. Conclusion
A domestic GPU completing the training adaptation of a near-trillion-parameter model marks the point where full-pipeline training capability becomes engineering-usable. The real dividing line is not a single demonstration but the long-term accumulation of operator coverage, parallel efficiency, fault tolerance, and toolchain maturity. For developers, viewing the boundary between adaptation and pretraining rationally and building reproducible, observable, regression-friendly engineering habits is the key to turning “it can train” into “ready to train out of the box.”
