A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: 400 Stable Steps on 16 GPUs Across Two Nodes
This article explains what a recent training adaptation on a domestic full-function GPU actually means, and why it is not the same as pretraining a foundation model from scratch. It breaks down the native FSDP2 training path, the added complexity of multimodal workloads, and the cross-node communication bottlenecks that determine stability. It then covers why 400 consecutive optimizer steps with finite loss and gradient norms matter, the four-layer engineering stack required for out-of-the-box training, and a practical evaluation checklist for technical teams assessing large-model training feasibility on domestic GPUs.
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 had quickly completed the training adaptation of a flagship model with nearly three trillion parameters. Under a configuration of two nodes and 16 cards in total, the setup ran stably for 400 consecutive optimizer update steps.
This kind of news is easy to misread, so it is worth drawing the conceptual boundaries first. In the industry, “adaptation” usually covers three levels, and their engineering difficulty and acceptance criteria are completely different:
- Inference adaptation (Day 0 enablement): Once model weights are released, get forward inference running on the target hardware as quickly as possible, with outputs aligned to a reference implementation. The focus is operator coverage and numerical alignment.
- Training adaptation (the subject of this article): Get the full training pipeline running on the target hardware, including model loading, shard scheduling, forward pass, backward pass, gradient synchronization, and optimizer updates, and verify that the loss and gradient norms stay finite over hundreds of steps.
- Foundation pretraining: Training a trillion-parameter model from scratch on massive corpora. This involves the coupling of data engineering, training stability, fault recovery, and compute scale, and it is engineering on a different order of magnitude.
Historically, a model technical report once validated multiple accelerator card routes side by side in the same document, which the industry generally interpreted as inference-side operator validation; the original compute source for the foundation model was never clearly disclosed. This shows that there is a clear technical gap between “getting the training pipeline to run” and “pretraining a foundation model on that hardware.” Conflating the two both overstates the significance of a single adaptation and understates the difficulty of pretraining.
2. Technical Breakdown: Why the Native FSDP2 Multimodal Training Path Matters
The core of this adaptation was building a native FSDP2 (Fully Sharded Data Parallel, second generation) training path that connected the full chain from model loading and shard scheduling to gradient synchronization. Why is this worth emphasizing on its own?
2.1 Sharding Parameters, Gradients, and Optimizer State Together
Under traditional data parallelism, every card holds a complete model replica, and memory usage grows linearly with parameter count, so a trillion-parameter model simply cannot fit on a single card. The idea behind FSDP is to shard parameters, gradients, and optimizer states across ranks along the tensor dimension, all-gathering parameter shards on demand during the forward and backward passes and releasing them immediately after computation. Compared with earlier implementations, FSDP2 further simplifies sharded state management and reduces unpredictable memory peaks, which matters a great deal for domestic accelerators whose memory capacity is already tight.
The following is an illustrative configuration logic (it expresses semantics only, not a specific product interface):
# Pseudocode: wrap at the granularity of a sharding unit (transformer block)for i, block in enumerate(model.blocks):model.blocks[i] = shard_module(block, dim=0)# Forward: all-gather parameter shards -> compute -> release# Backward: all-gather -> compute gradients -> reduce-scatter gradient shardsoptimizer = build_sharded_optimizer(model, lr=1e-4)
2.2 The Added Complexity of Multimodal Training
Multimodal training means the computation graph contains a vision encoder, a projection layer, and a language backbone at the same time, and the three differ in tensor shapes, operator types, and when their memory peaks occur. A one-size-fits-all sharding strategy can easily trigger a memory spike at the high-resolution input of the vision tower. The mature approach is tiered sharding: fine-grained sharding for the backbone, coarser-grained or selective recomputation on the vision side, and resolution bucketing on the data loading side to avoid drastic shape fluctuations within the same batch.
2.3 Cross-Node Communication Is the Real Stability Bottleneck
Two nodes and 16 cards is a typical cross-node training setup. Within a node, communication generally goes over high-bandwidth interconnects; across nodes, it depends on the network, and communication becomes the critical path. Three things matter in engineering:
- Overlapping communication with computation: Trigger reduce-scatter per bucket during the backward pass so that gradient synchronization is hidden under backward computation.
- Topology-aware rank placement: Keep shard groups within a node as much as possible, leaving only the necessary all-gather to cross nodes.
- Amortizing communication with gradient accumulation: Use accumulation steps to reduce synchronization frequency per token.
3. What 400 Consecutive Stable Steps Mean: Making Observability an Acceptance Criterion
In the experiment, all 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption. The engineering meaning of this statement is far heavier than “it runs.”
The most common hidden failure in large-model training is numerical: activation overflow under bf16/fp16, logits exploding before the attention softmax, or abnormal accumulation of the optimizer’s second moment can all show up as the loss suddenly becoming NaN. A genuinely mature training stack makes the following metrics part of routine monitoring:
Record every N steps:loss / learning rate / global gradient normper-layer activation min-max and quantilesoptimizer first- and second-moment normsparameter update magnitude ||Δθ|| / ||θ||per-rank memory peak and communication time
Once the gradient norm keeps climbing or activation quantiles go abnormal, the system triggers gradient clipping, skips that step, or rolls back to the most recent checkpoint. The significance of 400 steps is that it covers enough data shards and enough parameter updates to turn numerical stability from “incidental” into “reproducible,” which is exactly the dividing line between a demo and production.
4. The Engineering System: Four Layers from “It Can Train” to “Ready to Train Out of the Box”
The vendor disclosed several completed “domestic chips training domestic models” results, including a from-scratch full training run of a 236-billion-parameter scientific foundation model, full-stack native training of a five-dimensional world model, and a full-pipeline training run of an embodied brain model completed together with research institutions, while trillion-parameter training is in progress. Abstracting these cases, training capability on domestic compute depends on four layers of buildout:
- Operator layer: Coverage of high-frequency custom operators such as attention variants, normalization, rotary position embeddings, and sparse/blocked operators, with numerical alignment to reference implementations.
- Parallelism layer: Combinations and automatic search of data, tensor, pipeline, and expert parallelism to avoid manual tuning.
- Stability layer: Mixed-precision strategy, recomputation, checkpointing, automatic fault recovery, and slow-node detection.
- Tooling layer: One-command distributed job launch, automatic profiling, log and metric aggregation, and visualization dashboards.
Only when all four layers are in place does the user-side experience converge to a single phrase: ready to train out of the box.
5. A Practical Evaluation Checklist for Technical Teams
To assess large-model training feasibility on a domestic full-function GPU, it is advisable to validate in the following order rather than jumping straight to trillions of parameters:
- Single-card operator alignment: Compare loss curves against a reference implementation with a fixed random seed; the error should fall within an acceptable threshold.
- Single-node multi-card scalability: Observe the near-linear throughput region as card count grows, and where it inflects.
- Cross-node stability: Run 300 to 500 consecutive steps without interruption, recording numerical metrics and the communication share.
- Fault injection: Actively kill one rank and verify checkpoint recovery and topology reconstruction.
- End-to-end cost: Measure “training time per trillion tokens” rather than peak compute as the yardstick.
6. Conclusion
The value of a stable 400-step training adaptation on two nodes and 16 cards lies not in the numbers themselves, but in demonstrating that domestic full-function GPUs now have the engineering foundation to support full-pipeline stable training of frontier complex models. From inference deployment to training adaptation, and then to foundation pretraining, the path is clear but cannot skip steps. For developers, viewing each adaptation result rationally and establishing quantifiable acceptance criteria is the prerequisite for putting domestic compute to real use.
