A Domestic GPU Completes Training Adaptation for a Near-Trillion-Parameter Large Model

    This article explains what a domestic full-function GPU vendor's training adaptation of a near-three-trillion-parameter flagship model actually means, and why it is not a reproduction of base-model pretraining. It breaks down the core challenges of trillion-scale training—the memory wall, communication topology pressure, numerical stability, and long-run reliability—then walks through the native FSDP2 training path, how to interpret a 400-step validation on 16 GPUs across two nodes, the four-layer engineering system needed to move from "can train" to "ready to train out of the box," and practical recommendations for teams planning their own training adaptation.

    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 quickly completed the training adaptation of a flagship large model with a parameter scale approaching three trillion. Under a configuration of two nodes and 16 cards in total, it completed 400 consecutive optimizer updates with numerical stability throughout and no abnormal interruptions.

    This news is easy to misread, so it is worth drawing the conceptual boundaries clearly first:

    • Training adaptation: The goal is to make the model’s training computation graph load correctly, shard correctly, and execute backpropagation and parameter updates correctly on new hardware and a new software stack. What is validated is “pipeline usability” and “numerical correctness.”
    • Base-model pretraining: This refers to which compute platform the model weights were originally trained on, with how many tokens, and with what data mixture, starting from random initialization. It is a core asset of the model developer and the original compute source is usually not disclosed.

    There are similar precedents in the industry: the technical reports of some foundation models present two accelerator hardware routes side by side and give validation results for the same fine-grained expert parallelism scheme, but the industry generally understands this as validation of inference-side operators and parallel strategies, not as a provenance trace of the compute used for base-model pretraining. Therefore, the accurate statement about “adaptation succeeded” is: the hardware and software stack now have the engineering capability to carry the training of such frontier models, not “the model was trained on this hardware.”

    2. Why Training Adaptation at Extreme Scale Is So Hard

    Once parameter scale crosses from hundreds of billions into the trillions, the bottleneck is no longer single-card compute but the coordination capability of systems engineering. The main challenges concentrate on four levels.

    2.1 The Memory Wall: Parameters, Gradients, and Optimizer States Add Up

    Take mixed-precision training as an example. Besides the weights themselves, each parameter is accompanied by gradients, first-order momentum, second-order momentum, and a master copy of the weights. Roughly speaking, each parameter requires on the order of ten-plus bytes of memory, and a trillion parameters means a total memory demand in the tens of TB. This can only be realized through sharding and offloading.

    2.2 The Communication Wall: Topology Pressure from Combined Parallel Dimensions

    Data parallelism, tensor parallelism, pipeline parallelism, expert parallelism, and sequence parallelism need to be combined. Different parallel dimensions have different sensitivity to bandwidth: tensor parallelism and expert parallelism are extremely sensitive to inter-card interconnect bandwidth, while data parallelism and pipeline parallelism are more sensitive to cross-node bandwidth. Without topology awareness, communication and computation end up waiting on each other.

    2.3 Numerical Stability: Loss Scaling and Gradient Norm Can Both Run Out of Control

    A common failure in large-model training is loss turning into NaN/Inf or the gradient norm suddenly spiking. The root cause often lies in operator implementation details: insufficient accumulation precision in normalization operators, improper handling of numerical boundaries in attention softmax, and accumulated rounding errors during optimizer state updates.

    2.4 Long-Run Stability: Slow Nodes and Silent Errors

    At the scale of thousands of cards, a single point of frequency throttling, link bit errors, or memory ECC correction can slow down the whole job. More insidious is silent data corruption, where training does not report an error but accuracy slowly degrades; this can only be caught through periodic checks.

    3. The Native FSDP2 Training Path: The Core Handle for Adaptation

    This adaptation built a native FSDP2 multimodal training path that connected the full pipeline from model loading and shard scheduling to gradient synchronization. Its technical value can be understood from three aspects.

    First, the sharding semantics are clearer. Compared with earlier schemes that mixed parameters, gradients, and optimizer states in one flat buffer, the new generation of fully sharded data parallel uses “each parameter sharded independently” as its semantic unit. The mapping between parameters and states becomes explicit, making debugging and checkpoint recovery more intuitive.

    Second, communication and computation overlap more naturally. Organizing all-gather and reduce-scatter at a per-parameter granularity makes it easier to pipeline them with backward computation and reduce bubbles.

    Third, it is more compatible with multimodal structures. Multimodal models often contain heterogeneous submodules (a vision encoder, projection layers, a language backbone) whose parameter scales differ greatly. Per-parameter sharding avoids the load imbalance caused by uniform partitioning.

    A schematic training loop skeleton is as follows (it only expresses structure and is not a specific product interface):

    1. for step in range(total_steps):
    2. batch = next(dataloader)
    3. with autocast(dtype=bf16):
    4. out = model(batch) # Forward pass, per-layer all-gather of parameters
    5. loss = criterion(out, batch.target)
    6. loss.backward() # Backward pass, per-parameter reduce-scatter of gradients
    7. grad_norm = clip_grad_norm_(model.parameters(), max_norm=1.0)
    8. optimizer.step() # Each shard updates the parameter shard it holds
    9. optimizer.zero_grad(set_to_none=True)
    10. log(step, loss.item(), grad_norm) # Log numerical health

    4. Reading the Two-Node, 16-Card, 400-Step Validation

    In the experiment, all 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norm remaining finite throughout and no numerical overflow or abnormal interruption. This result carries far more information than “it ran.”

    • Steps, not iteration counts: 400 optimizer updates mean gradient accumulation, learning-rate scheduling, and optimizer momentum were all genuinely in effect, ruling out a fake pass that only runs the forward pass without updating.
    • Finite loss: This shows the forward numerical range is controllable and the loss-scaling strategy is effective.
    • Finite and clip-able gradient norm: This shows the backward pipeline is complete and the gradient-clipping threshold is set reasonably.
    • No abnormal interruption: This shows cross-node collective communication had no timeouts, out-of-order messages, or deadlocks under long-run conditions.

    In engineering practice, it is advisable to solidify this kind of validation as an admission gate and form a reusable acceptance checklist:

    1. Small-scale convergence alignment: Compare the loss curves of the first several steps for the same configuration on reference hardware and on the domestic hardware; the deviation should fall within an acceptable threshold.
    2. Numerical health monitoring: Record loss, gradient norm, parameter norm, and activation statistics step by step, and trip a circuit breaker on any anomaly.
    3. Long-run stress testing: Start from two nodes and scale up level by level to multiple nodes and cards, observing the throughput decay curve and fault recovery time.
    4. Checkpoint-resume validation: Inject interruptions at several steps to verify complete recovery of shard state and optimizer state.

    5. The Engineering System That Takes You from “Can Train” to “Ready to Train Out of the Box”

    To support full-pipeline, stable training of frontier complex models, a mature engineering system usually contains four layers of capability.

    • Operator layer: High-precision implementations of high-frequency operators such as normalization, attention, and loss functions, together with precision-alignment tools.
    • Parallel layer: Topology-aware automatic search of parallel strategies and sharding recommendations to reduce manual tuning.
    • Toolchain layer: Automated precision comparison, performance profiling, fault localization, and log aggregation, forming a closed loop with monitoring, alerting, and logging services.
    • Scheduling layer: Integration with common cloud product categories such as container platforms, object storage, and message queues to enable dataset distribution, checkpoint persistence, and elastic task scaling.

    On the direction of “domestic chips training domestic models,” the industry already has several reference practices: completing the full training of a 200-billion-parameter scientific foundation model from scratch; supporting full-stack native training of a five-dimensional world model; jointly completing the full-process training of an embodied-intelligence brain model with research institutions; and further advancing toward trillion-parameter models. The common thread in these cases is: connect the pipeline first, then talk about scaling up.

    6. Recommendations for Teams Preparing to Do Training Adaptation

    1. Define acceptance criteria first: Make clear whether the target is inference adaptation, training-pipeline adaptation, or convergence alignment, to avoid goal drift.
    2. Prioritize numerical correctness: Pursue throughput only afterward; throughput optimization must be built on trustworthy results.
    3. Build observability: Put loss, gradient norm, communication time, per-card temperature, and throttling on the same dashboard.
    4. Start with small-scale long-run stability: Two nodes and 16 cards is a cost-effective validation starting point; scale up gradually from there.
    5. Accumulate automation tools: Solidify the experience from each adaptation into scripts and checklist items to shorten the next adaptation cycle.

    A domestic full-function GPU completing the training adaptation of a near-trillion-parameter model marks the shift of hardware-software coordination from single-point usability to system-level usability. For developers, the real payoff is not one successful run but the formation of a reproducible, measurable, and automatable training engineering methodology that lets frontier models move steadily from “can train” to “ready to train out of the box” on domestic compute.