Domestic GPU Completes Training Adaptation for a Nearly 1-Trillion-Parameter Model: 400 Stable Steps on 16 Cards Across Two Nodes

    This article explains a recent training adaptation in which a domestic full-function GPU vendor ran a nearly 3-trillion-parameter flagship model on 16 cards across two nodes for 400 consecutive optimizer updates without numerical overflow or interruption. It clarifies that training adaptation is not the same as pretraining the base model on that hardware, then walks through the native FSDP2 training path, the stability signals from the 400-step run, common bottlenecks and troubleshooting approaches, and what it takes to move from "able to train" to a reusable, ready-to-run engineering stack.

    1. Background: A Training Adaptation, Not a Pretraining Reproduction

    A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference compute card and its in-house software stack, it completed a training adaptation for a flagship large model with a parameter scale of nearly 3 trillion. Under a configuration of two nodes with 16 cards in total, the setup completed 400 consecutive optimizer updates with no numerical overflow and no abnormal interruptions.

    One easily misread point needs to be settled first: training adaptation is not the same as pretraining the model on this chip. A successful adaptation or integration means the model structure, operators, parallelism strategy, and communication links can run correctly and iterate stably on the hardware. Where the original pretraining compute for the base model came from is a completely different question of a different order of magnitude. There is a similar precedent in the industry: the technical report of a foundation model listed two different architectures of accelerator cards side by side as validation paths, which the industry generally understood to be operator validation on the inference side, with no official statement about the original compute source of the base model pretraining.

    So the value of a training adaptation should be judged along three verifiable dimensions: whether the link is complete, whether the numerics are stable, and whether the engineering system is reusable.

    2. Technical Core: What the Native FSDP2 Multimodal Training Path Delivers

    The key to this adaptation was building a native FSDP2 (Fully Sharded Data Parallel, second generation) training path that connected the full chain of model loading, shard scheduling, and gradient synchronization.

    1. Model loading and sharding: FSDP2 shards at the granularity of parameter tensors. Compared with the earlier approach of wrapping at module granularity, metadata management is clearer, and resharding and mixed-precision strategies are easier to control, which matters greatly for the memory budget of trillion-parameter models.
    2. Shard scheduling and forward/backward computation: Each training process holds only a parameter shard. During the forward pass, parameters for the current layer are restored on demand via all-gather and released immediately after the backward pass, while compute-communication overlap reduces bubbles.
    3. Gradient synchronization and optimizer updates: Gradients are reduced and synchronized via reduce-scatter, and optimizer states are also stored in shards, avoiding redundant per-card storage of momentum and variance.

    Illustrative pseudocode (expressing the paradigm only, not a specific product interface):

    1. for step, batch in enumerate(loader):
    2. with fsdp_module.no_sync() if step < warmup else nullcontext():
    3. loss = model(batch).loss # Forward: gather parameter shards on demand
    4. loss.backward() # Backward: reduce-scatter to synchronize gradients
    5. optimizer.step() # Update only the parameter shards held on this card
    6. optimizer.zero_grad(set_to_none=True)
    7. if step % log_interval == 0:
    8. log({"loss": loss.item(), "grad_norm": clip_grad_norm_(model, 1.0)})

    3. Stability Validation: What 400 Consecutive Steps Show

    In the experiment, 16 training processes across two physical nodes trained jointly. All processes completed 400 consecutive optimizer updates, with loss values and gradient norms remaining finite throughout, no NaN/Inf, and no process dropping offline. The information content of this result lies in:

    • Cross-node communication correctness: In a multi-node setting, any small defect in topology discovery, collective communication, or timeout retry shows up as a hang or corrupted numbers. Passing 400 consecutive steps indicates the communication path is reliable.
    • Numerical stability: A common risk in large-model training is accumulation error in low precision and loss-scale drift. Controllable gradient norms indicate that clipping, mixed precision, and normalization strategies are configured reasonably.
    • Sustained stability rather than peak: When the industry evaluates hardware and software stacks, what is genuinely scarce is a “continuously repeatable steady state,” not a single-step throughput peak.

    In engineering practice, it is advisable to turn this kind of validation into an admission gate, for example:

    Validation item Suggested threshold
    Consecutive optimizer updates No interruption for at least several hundred steps
    loss / grad_norm Finite throughout, no jumps
    Process survival rate 100%, no restarts
    Checkpoint resume Loss continuous after restoring from a checkpoint

    4. Common Bottlenecks and Troubleshooting Approaches

    1. Missing operators or mismatched precision: First fill in high-frequency operators such as normalization, attention, and loss functions, and perform layer-by-layer numerical alignment.
    2. Out-of-memory: Adjust shard granularity, enable activation recomputation, and tune checkpoint frequency.
    3. Communication becoming the bottleneck: Overlap gradient accumulation with communication, and set shard groups and parallelism combinations sensibly.
    4. Fault recovery: Use log services and monitoring alerts to locate slow nodes, and store checkpoints in object storage to achieve minute-level recovery.

    5. From “Able to Train” to “Ready to Train Out of the Box”

    The real mark of maturity is a reusable engineering system: automatic operator completion, multi-card and multi-node collaborative tuning, automated toolchains, and one-click training templates. There is already practice in the industry of “domestic chips training domestic models,” covering the full workflow from training a 200-billion-class foundation model from scratch to world models and embodied brain models, and moving toward trillion-parameter scale. For developers, selection should focus on three things: link completeness, sustained-stability performance, and toolchain maturity, rather than a single-point benchmark score.