Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: Stability Analysis

    This article examines a recent training adaptation in which a domestic full-function GPU vendor ran a nearly 3-trillion-parameter flagship model on 16 accelerators across two nodes, completing 400 consecutive optimizer updates with stable loss and gradient norms. It clarifies the key distinction between training adaptation and pre-training from scratch, explains why native FSDP2 sharded data parallelism was chosen, breaks down the four links that must be connected end to end, and discusses what the 400-step run does and does not prove. It also outlines the engineering capability stack behind the result and offers practical advice for developers evaluating domestic compute.

    1. Background: A Training Adaptation, Not Pre-Training From Scratch

    A domestic full-function GPU vendor recently announced that it had completed the training adaptation of a flagship model with nearly 3 trillion parameters. The work was based on the vendor’s flagship training-and-inference accelerator card and its in-house software stack. The experimental setup used 16 accelerator cards across two nodes. All 16 training processes completed 400 consecutive optimizer updates, with loss values and gradient norms remaining finite throughout. No numerical overflow occurred, and no task was interrupted abnormally.

    One easily confused concept must be clarified first: a successful training adaptation does not mean the model was pre-trained from zero on this chip. The two differ greatly in engineering terms.

    • Pre-training from scratch: requires massive raw corpora, complete data cleaning and data mixing, a cluster of thousands to tens of thousands of cards, continuous operation over weeks or months, and mature fault tolerance and checkpoint-resume mechanisms.
    • Training adaptation: the goal is to get the full chain running on the target hardware and software stack, including the forward pass, backward pass, optimizer updates, and gradient synchronization, and to verify numerical stability and reproducibility. This provides a feasibility basis for larger-scale training later.

    Similar cases have appeared in the industry before. The technical report of an open-source model validated multiple accelerator hardware paths side by side and provided a fine-grained expert parallelism scheme, but it is widely believed that this was validation at the inference operator level, and the original compute source for its base model pre-training was not publicly explained. So when you see “adaptation completed,” your first reaction should be: the chain is connected, but scaling still needs further validation.

    2. Technical Core: A Native FSDP2 Multimodal Training Path

    The key to this adaptation was building a native sharded data parallelism (FSDP2) training path that connected the full chain from model loading and parameter shard scheduling to gradient synchronization. Let us break it down layer by layer.

    1. Why Sharded Data Parallelism

    A trillion-parameter-class model has an enormous total volume of parameters, gradients, and optimizer states. Take mixed-precision training as an example: one copy of the parameters, one copy of the gradients, and two copies of optimizer momentum states add up to a memory footprint that is often several times the parameter count. Traditional data parallelism keeps a complete replica on every card, which makes memory usage directly infeasible.

    The core idea of sharded data parallelism is: each card holds only one shard of the parameters, gradients, and optimizer states, temporarily aggregating them on demand during the forward and backward passes and releasing them immediately after computation. The benefit is that memory usage drops roughly linearly with the number of cards; the cost is a higher communication frequency.

    • Model loading: weight files for very large models often reach tens to hundreds of gigabytes. Sharded loading, memory mapping, and loading order must be considered to avoid a single-point memory peak.
    • Shard scheduling: the set of shards carried by each card must be planned reasonably so that computation and communication overlap as much as possible and bubbles are reduced.
    • Gradient synchronization: during backpropagation, the reduction and broadcast of gradient shards need to overlap with the compute stream to hide communication latency.
    • Optimizer updates: optimizer states are also sharded, and the update process must ensure consistency across shards to avoid parameter drift.

    The schematic configuration logic is as follows (semantic only, not a specific product interface):

    1. # Pseudocode: skeleton of a sharded data parallel training loop
    2. for step in range(total_steps):
    3. # Forward: aggregate parameter shards on demand, release after use
    4. loss = model(batch)
    5. # Backward: reduce gradient shards, overlapping with computation
    6. loss.backward()
    7. # Optimizer: update only the shard held by this card
    8. optimizer.step()
    9. optimizer.zero_grad()
    10. # Monitoring: log loss and gradient norm for stability checks
    11. log({"loss": loss.item(), "grad_norm": clip_grad_norm_})

    3. Additional Complexity From Multimodality

    Multimodal training means the data contains encoders and fusion modules for multiple modalities such as images and text. The parameter distribution is uneven, and the activation magnitudes of some submodules differ considerably. This means the sharding strategy cannot be one-size-fits-all; it needs to be adjusted according to module characteristics and be more sensitive to numerical ranges.

    3. Stability Validation: What 400 Consecutive Updates Show

    In the experiment, 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout. This result carries far more information than “it runs.”

    • Numerical stability: no overflow or NaN occurred, indicating that the loss scaling, gradient clipping, and normalization layer implementations in mixed precision are basically correct.
    • Chain consistency: the shards of the 16 processes showed no parameter drift after hundreds of updates, indicating that the gradient synchronization and optimizer sharding logic are correct.
    • Reproducibility: results over consecutive steps are controllable, providing a baseline for longer training runs later.

    It should be pointed out objectively that 400 steps is a short-cycle validation. It can prove that the chain is correct and numerically stable, but it is not yet equivalent to the convergence quality and fault tolerance of long-cycle training. True thousand-card or ten-thousand-card long-stability training still requires solving engineering problems such as slow-node detection, fault self-healing, checkpoint resume, and data pipeline stability.

    4. Engineering System: From “Able to Train” to “Ready to Train Out of the Box”

    The original text mentions that the company has built a mature engineering system with the capability to support everything from “fast inference deployment” to “full-chain stable training.” It has been deployed in multiple “domestic chips training domestic models” scenarios, including the complete training of a 230-billion-parameter scientific foundation model, full-stack native training of a five-dimensional world model, and full-process training of an embodied brain model. It is currently advancing training of trillion-parameter-class models.

    Abstracting these achievements reveals a clear engineering capability stack:

    1. Operator layer: covers the basic and fused operators required for training, ensuring performance and numerical correctness.
    2. Parallelism layer: combination and tuning of data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism.
    3. Fault tolerance layer: health checks, slow-node isolation, automatic restart, and checkpoint resume.
    4. Tooling layer: automated deployment, configuration management, log collection, and monitoring and alerting.
    5. Ecosystem layer: compatibility with mainstream training frameworks and scheduling systems to lower migration costs.

    For adopters, evaluating whether a domestic compute platform is “usable” should focus on four metrics: whether it can run, whether it can run long, how high the migration cost is, and how fast it recovers from failures. These four metrics reflect real productivity better than a single peak-performance figure.

    5. Practical Advice for Developers

    • Validate at small scale first: run short-cycle training on two nodes or multiple cards on a single node, confirm that loss and gradient norms are normal, and then scale up gradually.
    • Establish a numerical monitoring baseline: bring gradient norm, loss scaling factor, and activation magnitude into routine monitoring. Abnormal fluctuations often appear before a crash.
    • Pay attention to the data pipeline: in large model training, data reading and preprocessing often become the bottleneck, so throughput should be stress-tested in advance.
    • Design checkpoint resume: save sharded checkpoints at fixed step intervals and regularly rehearse the recovery process.
    • Stay framework-neutral: use general training frameworks and standard parallelism semantics as much as possible to reduce coupling to a single software stack.

    6. Conclusion

    “Training adaptation completed, with 16 cards across two nodes running stably for 400 consecutive steps” is a valuable milestone. It marks further validation of the feasibility of full-chain training for ultra-large models on domestic full-function GPUs. But moving from “able to train” to “ready to train out of the box” still requires continued refinement in operator coverage, parallelism strategies, fault tolerance mechanisms, and tooling maturity. For developers and enterprise users, viewing the boundary between adaptation and pre-training rationally and building an evaluation system centered on stability, migration cost, and recovery efficiency is the key to turning domestic compute into real productivity.