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

    This article breaks down a recent engineering milestone in which a domestic full-function GPU vendor completed training adaptation for an open-source flagship model with nearly 3 trillion parameters, running 400 consecutive optimizer updates on 16 GPUs across two nodes with stable loss and gradient norms. It clarifies the difference between inference adaptation, training pipeline adaptation, and native pretraining; explains why fully sharded data parallelism (FSDP/FSDP2) is required at this scale; details the four essential stages of a complete training pipeline; analyzes what the 400-step, two-node test actually validates; and provides a reusable acceptance checklist for reproducing similar work on domestic accelerators. Readers will learn how to evaluate such adaptation efforts by engineering completeness and stability rather than vague claims.

    Domestic GPU Completes Training Adaptation for a Nearly 1-Trillion-Parameter Model: An Engineering Breakdown of 400 Stable Steps on 16 GPUs Across 2 Nodes

    1. First, Align the Concepts: Adaptation Success Is Not “Native Pretraining”

    A noteworthy development has recently emerged in the industry: a domestic full-function GPU vendor, using its flagship training-and-inference integrated compute card and a self-developed software stack, rapidly completed training adaptation for an open-source flagship large model with nearly 3 trillion parameters. Under a configuration of 16 cards across two nodes, it completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout, and no numerical overflow or abnormal interruption.

    Many readers will interpret this as “domestic chips trained a trillion-parameter model,” which is a conceptual confusion. Three distinct levels need to be separated:

    • Inference deployment adaptation (Day 0 enablement): Operator mapping and memory planning are completed on the day the model weights are released, and the forward pass runs.
    • Training pipeline adaptation: Beyond the forward pass, the backward pass, gradient reduction, optimizer state management, mixed precision, and checkpointing are all in place, enabling continuous iteration with numerical stability.
    • Native pretraining: The original compute foundation of the base model resides on that hardware, and the training data, parallelism strategy, and hyperparameters are all tuned around that hardware.

    This development belongs to the second level. There are similar references in the industry: the technical report of an open-source model simultaneously validated two different architecture accelerator card routes, but the validation content was fine-grained expert-parallel inference operators, not the compute source of base model pretraining. Therefore, the correct way to evaluate this kind of work is to look at engineering pipeline completeness and stability, rather than vaguely claiming “who trained what model.”

    2. Why “Nearly 3 Trillion Parameters” Must First Use Fully Sharded Data Parallelism

    For models approaching trillions of parameters, a single card cannot hold the parameters, cannot hold the gradients, and certainly cannot hold the optimizer states. Taking mixed-precision training as an example, one copy of weights, one copy of gradients, and the first- and second-order momenta result in memory consumption roughly several times the parameter count, and with activations added on top, memory pressure is extremely high.

    The industry-standard solution is parameter sharding. The idea of fully sharded data parallelism (FSDP/FSDP2 and similar schemes) is: each card only permanently holds a portion of the parameters, gradients, and optimizer states, temporarily aggregating the required shards at the corresponding moments of the forward and backward passes, and releasing them immediately after use. Compared with the traditional data parallelism approach of “storing the full set on each card,” it reduces memory consumption from “proportional to the total parameter count” to “proportional to the total parameter count divided by the number of cards.”

    Key engineering improvements of FSDP2 over earlier versions typically include:

    1. Using DTensor as a first-class citizen for sharding, decoupling sharding layout from computation logic and reducing back-and-forth conversions between “full parameter-view”;
    2. Managing sharding at a scalar level, avoiding the scheduling overhead of a large number of small operators;
    3. More controllable overlap of communication and computation, making it easier to hide all-gather and reduce-scatter within computation windows.

    A sample configuration logic (pseudocode, expressing semantics only, not any specific product interface):

    1. # Semantic illustration: per-layer wrapping + sharding strategy + communication overlap
    2. for layer in model.layers:
    3. fully_shard(
    4. layer,
    5. mesh=device_mesh, # 1D: data parallel; 2D: can stack tensor/pipeline parallel
    6. param_dtype=bf16, # computation precision
    7. reduce_dtype=fp32, # gradient reduction precision, ensuring numerical stability
    8. overlap_comm=True, # overlap communication with computation
    9. )

    3. Four Essential Stages of a Complete Training Pipeline

    The original text emphasizes “connecting the complete training pipeline from model loading and shard scheduling to gradient synchronization.” Broken down, this is four checkpoints.

    1) Model loading and partitioning
    Ultra-large models cannot be read into memory all at once and then partitioned. A feasible approach is sharded loading (each rank reads only its portion of the weights), or lazy initialization combined with metadata-first graph construction, to avoid blowing up host-side memory. Multimodal models additionally need to handle the different structures of the vision encoder and the language backbone, and partitioning strategies often cannot be one-size-fits-all.

    2) Shard scheduling and forward/backward re-aggregation
    The timing of all-gather determines whether communication can be hidden. In engineering, prefetching the next layer’s parameters at “layer” granularity is common, while limiting the number of in-flight shards to prevent memory peaks from spiraling out of control. The most common failure mode here is not an error report, but critical memory jitter causing random OOM.

    3) Gradient synchronization and reduction precision
    Gradient reduction is recommended at a higher precision than computation (e.g., bf16 computation, fp32 reduction); otherwise, under accumulation across thousands of card-times, small gradients will be “eaten.” For structures with expert parallelism, load imbalance from token routing must also be handled, and both reduction order and bucket size affect stability.

    4) Optimizer states and checkpoints
    Sharded optimizer states must also be saved in a sharded manner, and checkpoints should ideally be “shard-aware” to enable fast re-partitioning during scaling. The 400 steps of continuous running essentially validate that this closed loop has no breakpoints.

    4. 16 GPUs Across 2 Nodes, 400 Steps: What Does This Test Actually Measure

    “400 consecutive optimizer updates, with loss and gradient norms finite throughout” is a highly condensed conclusion that covers at least four categories of risk:

    Risk Category Typical Manifestation Observed Metrics
    Numerical risk Overflow, NaN/Inf, loss spikes loss, grad_norm, parameter norm
    Communication risk Collective communication timeout, hang per-step time distribution, communication ratio
    Memory risk Peak jitter, random interruption peak memory, fragmentation rate
    Scheduling risk Process exit, rank desynchronization heartbeat, checkpoint success rate

    The choice of step count also matters: dozens of steps can only prove “it runs,” while hundreds of steps allow state variables such as learning rate scheduling, momentum accumulation, and gradient clipping to fully enter steady state, thereby exposing numerical problems. Cross-node (two-node) setups specifically stress-test network topology and collective communication: intra-node interconnect bandwidth is ample, while inter-node bandwidth is limited, and the exposure of all-gather and reduce-scatter is completely different.

    A simplified per-step time model helps locate bottlenecks:

    1. T_step ≈ T_compute + max(0, T_comm_exposed - T_overlap) + T_optimizer

    If the optimization goal is to drive T_comm_exposed close to 0 on domestic cards, the available means include: gradient accumulation to dilute communication frequency, shard granularity adjustment, communication bucket merging, and topology-aware rank binding.

    5. A Reusable Adaptation Acceptance Checklist

    If you want to reproduce similar work on domestic accelerator cards, it is recommended to proceed in the following order:

    1. Operator coverage scan: First run static analysis to list the set difference between the forward/backward operators used by the model and the hardware support matrix;
    2. Single-card numerical alignment: With the same weights and the same batch of data, compare the first-step loss and grad_norm against a reference implementation, keeping the relative error within an acceptable threshold;
    3. Two-card scaling validation: Confirm the reduction precision and order are correct, and observe whether the loss curve is linearly predictable;
    4. Cross-node scaling: Scale from 2 nodes to multiple nodes, checking whether communication overlap takes effect and whether per-step time grows approximately linearly;
    5. Long-duration stability test: No fewer than hundreds of steps, recording no anomalies in loss/grad_norm, and rehearsing checkpoint resume;
    6. Toolchain consolidation: Solidify operator completion, parallelism strategies, and hyperparameter templates into automated workflows—this is the key to moving from “can train” to “ready to train out of the box.”

    6. From “Can Train” to “Ready to Train Out of the Box”: The Gap Is Engineering

    The industry already has multiple practices of “domestic chips training domestic models”: complete from-scratch training of tens-of-billions-parameter scientific foundation models, full-stack native training supporting multi-physics world models, and full-pipeline training of embodied intelligence brain models, now advancing toward trillion-level parameters. The common point of these cases is not single-point compute peak, but the coordination of operator library completeness, parallelism strategy maturity, observability, and automated toolchains.

    For users, when choosing a compute platform, focus on verifiable engineering metrics: operator coverage, cross-node scaling efficiency, long-duration stable runtime, fault recovery time, and whether there is a clear numerical alignment report. Cloud environments typically also require supporting general capabilities such as object storage (for checkpoints and datasets), message queues (for task orchestration), container platforms (for elastic scaling), and logging services with monitoring and alerting (for long-duration observation), to turn a successful adaptation into a sustainably deliverable training service.

    Conclusion: 400 steps of continuous stable iteration on 16 GPUs across two nodes marks that a key link in the domestic full-function GPU’s ultra-large-scale model training pipeline has been connected; but to truly achieve “ready to train out of the box,” continued investment is still needed in operator coverage, communication optimization, numerical stability, and automated toolchains.