A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter LLM: 400 Stable Steps on 2 Nodes and 16 Cards

    This article explains what a domestic full-function GPU vendor's training adaptation of a nearly 3-trillion-parameter flagship model actually proves, and why it should not be confused with base-model pre-training. It breaks down why training is far harder than inference, details the native FSDP2 training path across model sharding, communication overlap, gradient synchronization, and fault tolerance, and interprets the three key metrics from the 400-step run on 16 cards across 2 nodes. It also outlines the engineering work needed to move from "can train" to "ready to train out of the box," plus practical advice for developers.

    1. What Happened: A Training Adaptation, Not Base Pre-Training

    A domestic full-function GPU vendor recently disclosed that, using its flagship AI 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. In the test, 16 accelerator cards across two nodes performed joint cross-node training, and all 16 training processes completed 400 consecutive optimizer updates. The loss and gradient norm stayed finite throughout, with no numerical overflow or abnormal interruption.

    One common misunderstanding must be cleared up first: training adaptation is not the same as completing base-model pre-training on this chip.

    • Successful training adaptation / integration: the model’s training computation graph can be correctly executed on this hardware and software stack, with the forward pass, backward pass, and optimizer update forming a closed loop under controlled numerics.
    • Base-model pre-training: learning the original weights from scratch on a compute cluster using massive corpora. This involves compute scale, data engineering, training duration, and cost, and is a problem of a different order of magnitude.

    A similar pattern already exists in the industry: a leading model’s technical report validated inference operator implementations across different accelerator architectures in parallel, but did not officially announce the original compute source for base-model pre-training. So when discussing “domestic chips training domestic models,” it is better to treat three things as separate layers, “adaptation validation,” “stable full-chain training,” and “base-model pre-training,” and avoid mixing the concepts.

    2. Why Training Adaptation Is Much Harder Than Inference Deployment

    Inference is usually a single forward graph with a relatively large tolerance margin. Training is a tightly coupled system of forward pass, backward pass, and optimizer update, and demands a far more complete software stack.

    2.1 Operator Coverage Grows Sharply

    Training requires backward operators, gradient accumulation, mixed-precision scaling, normalization, attention backward, communication primitives, and more. A single missing operator or one that misses the accuracy target can break the chain or produce wrong results.

    2.2 Numerical Stability Is a Hard Requirement

    Large-model training typically uses mixed precision (for example, BF16/FP16 compute with FP32 master weights). If the scaling factor, accumulation precision, or normalization implementation is handled poorly, loss spikes, gradient norm explosions, or NaNs appear easily.

    2.3 Dual Pressure on Memory and Communication

    A nearly trillion-parameter model cannot fit on a single machine and must rely on parameter sharding, optimizer-state sharding, and cross-node communication. Communication topology, bandwidth utilization, and the overlap of computation and transfer directly determine feasibility and efficiency.

    3. Technical Path: A Native FSDP2 Multimodal Training Pipeline

    The vendor built a native FSDP2 (Fully Sharded Data Parallel) training path that connects the full chain from model loading and shard scheduling to gradient synchronization. The engineering work breaks down into four layers.

    3.1 Model Loading and Partitioning

    • Load weights in shards to avoid exhausting peak memory on a single card;
    • Partition the three tensor types, parameters, gradients, and optimizer states, by rank, so memory usage drops roughly linearly with the number of cards.

    Illustrative pseudocode (not a specific API):

    1. # Pseudocode: an illustrative FSDP2-style fully sharded training loop
    2. for step, batch in enumerate(loader):
    3. with shard_context(): # parameter sharding context
    4. loss = model(batch) # forward, all-gather parameters on demand
    5. loss.backward() # backward, reduce-scatter gradients
    6. opt.step() # optimizer update, local update of sharded state
    7. opt.zero_grad()
    8. if step % log_interval == 0:
    9. log(loss=loss.item(), grad_norm=clip_grad_norm_)

    3.2 Shard Scheduling and Communication Overlap

    • All-gather parameters layer by layer in the forward pass, and reduce-scatter gradients layer by layer in the backward pass;
    • Overlap computation and communication to hide cross-node latency;
    • Use grouped sharding for multimodal workloads (heterogeneous text, image, and video encoders) to reduce synchronization bubbles.

    3.3 Gradient Synchronization and Numerical Control

    • Gradient clipping (clip by global norm) requires a global reduction across ranks to keep the clipping coefficient consistent;
    • Log the loss and gradient norm at every step as the core indicators of numerical health.

    3.4 Fault Tolerance and Long-Run Stability

    400 consecutive updates without interruption show that the chain already covers the basics of anomaly detection, log persistence, and checkpoint resume, which are prerequisites for long-cycle training.

    4. Reading the 2-Node, 16-Card, 400-Step Validation: Three Key Metrics

    Metric Meaning Why It Matters
    400 consecutive optimizer updates No abnormal interruption Validates chain robustness, not single-step usability
    Finite loss throughout No numerical overflow Mixed-precision scaling and accumulation are correct
    Finite gradient norm No explosion or vanishing Backward operators and global clipping are correct

    The scale needs to be seen objectively: 2 nodes and 16 cards is a small-scale, controlled validation that mainly demonstrates correctness and stability, and is not equivalent to linear scaling efficiency on a trillion-parameter cluster. Going from 16 cards to the thousand-card level still requires solving systemic issues such as communication topology, failure rate, checkpoint frequency, and data throughput.

    5. Engineering System: From “Can Train” to “Ready to Train Out of the Box”

    The vendor says it can support frontier complex large models across the full chain, from fast inference deployment to stable full-chain training, and has delivered several “domestic chips training domestic models” projects. These include a complete from-scratch training of a 236-billion-parameter scientific foundation model, full-stack native training of a 5D world model, and end-to-end training of an embodied-brain model, and it is now advancing trillion-parameter training.

    Productizing these capabilities requires the following engineering work:

    1. Automated operator coverage: use automatic differentiation and operator mapping to reduce manual adaptation effort, and maintain a missing-operator list with priorities.
    2. Automatic parallel-strategy tuning: search combinations of data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism, with a feasible region derived from memory and bandwidth models.
    3. Observability: a logging service plus monitoring and alerting plus training visualization, collecting loss, gradient norm, throughput, and memory水位 per step.
    4. Checkpoints and fault tolerance: asynchronous sharded checkpoints, self-healing from failures, and elastic scheduling to support long-cycle training.
    5. Toolchain and containerization: a container platform plus standardized images, with object storage for persisting data and checkpoints, to make environments reproducible.

    6. Practical Advice for Developers

    • Start with small-scale correctness validation: run a few hundred steps on 2 nodes and 16 cards, confirm the loss and gradient norm stay finite, then talk about scaling.
    • Validate in layers: treat “operators available,” “single step correct,” “multi-step stable,” and “scaling efficiency” as four separate acceptance gates.
    • Get data and checkpoints right first: a high-quality data pipeline and reliable checkpoints often determine training success more than peak compute.
    • Keep the concepts clear: in external communication, strictly distinguish adaptation validation, stable training, and base-model pre-training, and avoid exaggeration.

    7. Conclusion

    A domestic full-function GPU completing the training adaptation of a nearly trillion-parameter model, and validating chain correctness with 400 consecutive stable updates on 2 nodes and 16 cards, is a key step toward “can train.” But reaching “ready to train out of the box” still requires continued work on operator automation, parallel tuning, fault-tolerant long-run stability, and toolchain standardization. For developers, the right way to make domestic compute truly efficient is to see scale boundaries rationally, insist on layered validation, and build a solid foundation in data and checkpoints.