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

    This article explains a recent training adaptation in which a domestic full-function GPU vendor ran 400 consecutive optimizer updates on a nearly 3-trillion-parameter flagship model using 16 cards across two nodes, with no numerical overflow or interruption. It clarifies that training adaptation is not the same as reproducing the original pretraining, breaks down the full training pipeline including sharding, gradient synchronization and numerical stability, and outlines a layered validation methodology, a troubleshooting checklist, and the capabilities that matter for production readiness.

    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 self-developed software stack, it quickly completed the training adaptation for a flagship large model with a parameter scale of nearly 3 trillion. Under a configuration of 16 cards across two nodes, the setup completed 400 consecutive optimizer updates without any numerical overflow or abnormal interruption.

    One easily confused distinction must be made clear first: training adaptation is not the same as having completed the original pretraining of that model on this hardware.

    The industry’s common “Day 0 adaptation for the latest open-source model” usually means that operator alignment and deployment on the inference side are completed on the day the model weights are released, with the goal of “getting it to run and produce results.” Training adaptation, by contrast, requires the entire backpropagation path to be usable, including the forward pass, backward pass, optimizer updates, mixed-precision scaling, gradient clipping, and cross-node communication. The difficulty is on an entirely different order of magnitude. To judge how substantial an adaptation really is, look at three things: whether a complete parameter-update loop was executed, whether numerical stability was maintained at multi-node scale, and whether there is a reproducible engineering workflow.

    2. Technical Breakdown: What a Complete Training Pipeline Involves

    2.1 Model Loading and Sharding Strategy

    A nearly trillion-parameter model cannot reside entirely in a single card’s memory and must rely on sharding. The current mainstream approach is native FSDP2-style fully sharded data parallelism: parameters, gradients, and optimizer states are all partitioned by rank in the training state, and parameter shards are all-gathered on demand only when needed, then released immediately after use.

    1. # Illustration: core semantics of fully sharded data parallelism (pseudocode)
    2. for step in range(total_steps):
    3. for layer in model.layers:
    4. param_shard = all_gather(layer.weight) # Aggregate on demand in the forward pass
    5. out = layer(param_shard, x)
    6. del param_shard # Release after use to control peak memory
    7. loss = criterion(out, y)
    8. loss.backward() # Backward triggers reduce_scatter to sync gradients
    9. optimizer.step() # Each rank updates only the shard it holds
    10. optimizer.zero_grad()

    The key point is overlapping communication with computation: all-gather and reduce-scatter must overlap with operator computation; otherwise, cross-node bandwidth becomes the throughput bottleneck.

    2.2 Gradient Synchronization and Numerical Stability

    The real test of 400 consecutive updates is numerical stability. In engineering practice, it is usually necessary to enable several things at once: loss scaling under mixed precision to avoid underflow of small gradients, gradient norm clipping to suppress abnormal updates, and high-precision accumulation on critical reduction paths. Metrics that need to be continuously observed in the logs include:

    • Whether the loss is finite and whether NaN/Inf appears;
    • Whether the global gradient norm stays within a reasonable range without spikes;
    • Whether the update step count is strictly identical across all ranks (to prevent a process from silently falling behind);
    • Peak memory usage and the proportion of communication wait time.

    2.3 Additional Complexity of the Multimodal Training Path

    Multimodal data means variable-length sequences, heterogeneous encoders, and a more irregular computation graph, which can easily trigger recompilation and memory fragmentation caused by dynamic shapes. A workable approach is unified bucketing and packing, a fixed maximum sequence length, and separately configured freeze and unfreeze stages for the vision branch.

    3. Validation Methodology: How to Prove It Is “Really Training”

    A layered validation approach is recommended, ruling out problems layer by layer:

    1. Single-card numerical alignment: With the same data and the same random seed, compare the first-step loss and gradient norm against a known reference implementation; the error should be within an acceptable threshold.
    2. Two-card communication validation: Validate only the correctness of all-gather / reduce-scatter, confirming that parameters after shard aggregation match the unsharded result.
    3. Multi-node scaling validation: Starting from 16 cards across two nodes, observe scaling efficiency and communication proportion as the card count increases.
    4. Long-run stability validation: Run several hundred consecutive updates to confirm there is no interruption and no precision collapse. This is the dividing line between “being able to run one step” and “being able to train a model.”

    4. Common Failures and Troubleshooting Checklist

    • Inconsistent update step counts: usually caused by collective communication timeouts or a rank exiting abnormally; check the timeout threshold and log aggregation.
    • Loss suddenly becoming NaN: first investigate the loss scaling strategy, the numerical implementation of attention softmax, and the normalization position.
    • Memory overflow: check whether parameter shards are being unintentionally retained in full and whether activation recomputation is taking effect.
    • Sudden throughput drop: identify whether frequent recompilation is occurring or communication is not overlapped.

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

    The true mark of mature capability is the product of three things: operator coverage, multi-card coordination efficiency, and an automated toolchain. Domestic hardware has already delivered complete training in multiple “domestic chips training domestic models” scenarios, including from-scratch training of hundred-billion-scale scientific foundation models, full-stack native training of 5D world models, and end-to-end training of embodied brain models, and it is now moving toward trillion-parameter scale. For developers, the capability boundaries to watch are clear: the completeness of the operator library, the breadth of supported distributed strategies, and observability and failure self-healing. If an enterprise wants to validate quickly, it can use a container platform to host the training image, object storage to host datasets and checkpoints, and monitoring, alerting, and logging services to watch over the stability of long-running tasks, so that effort can stay focused on the model and the data themselves.