A Domestic GPU Completes Training Adaptation for a Nearly 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. It clarifies why training adaptation is not the same as reproducing the original pretraining, breaks down the native FSDP2 training path (parameter sharding, topology-aware communication, and numerical stability), outlines the four engineering layers needed to move from "it trains" to "ready to train out of the box," and provides a reusable evaluation checklist for assessing large-model training feasibility on domestic accelerators.

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

    A domestic full-function GPU vendor recently disclosed a training adaptation result: based on its flagship training-and-inference compute card and its self-developed software stack, it completed the training adaptation of a flagship large model with a parameter scale of nearly 3 trillion. Under a configuration of 16 cards across two nodes, the workload completed 400 consecutive optimizer updates, with the loss and gradient norm remaining finite throughout and no numerical overflow or task interruption.

    One easily confused concept must be clarified first: training adaptation is not the same as completing the original pretraining on that chip. Adaptation means the model structure, operators, parallel strategy, communication, and numerical behavior can run correctly and stably on the target hardware. Pretraining means training the weights from scratch with massive compute and data. The former proves engineering usability; the latter proves the compute investment and the maturity of training engineering. A common industry practice is to validate inference operators or fine-grained parallel schemes in parallel across multiple hardware backends, but this does not mean the original pretraining compute for the base model came from those backends. Conflating the two is the most common misreading in current discussions.

    Therefore, the value of a training adaptation should be assessed around three questions: whether the pipeline is complete, whether the numerics are stable, and whether the engineering is reusable.

    2. Technical Core: What the Native FSDP2 Training Path Proves

    The key phrase in this practice is the “native FSDP2 multimodal training path,” meaning the full pipeline from model loading and shard scheduling to gradient synchronization is working. Understanding the difficulty requires breaking down several key stages of large-model training.

    2.1 Parameter Sharding and the Memory Ledger

    A trillion-scale model cannot fit on a single card, so parameters, gradients, and optimizer states must all be sharded. The core idea of FSDP2 is to AllGather parameter shards on demand during each layer’s forward and backward computation, release them immediately after use, and aggregate gradients with ReduceScatter during the backward pass. A rough estimate of per-card memory looks like this:

    1. Per-card memory ≈ parameter shard + gradient shard + optimizer state shard + activations + communication buffers + fragmentation headroom

    Optimizer states (such as first- and second-order moments) are usually the largest memory consumer, while activations depend heavily on batch size, sequence length, and the recomputation strategy. The first step of adaptation is often not “getting it to run” but balancing this ledger.

    2.2 Cross-Node Communication and Topology Awareness

    Sixteen cards across two nodes imply at least two communication domains: high-speed intra-node interconnect and the inter-node network. The dividing line for adaptation quality is whether parallel partitioning is topology-aware—placing the most communication-intensive dimension (such as tensor parallelism) inside the node and the less communication-heavy dimensions (such as data and pipeline parallelism) across nodes, so that inter-node bandwidth does not become the bottleneck. A common approach is to align shard groups with the network topology and overlap AllGather/ReduceScatter with computation.

    2.3 Numerical Stability: What 400 Steps Really Means

    “400 consecutive updates with loss and gradient norm finite throughout” is the most informative statement in the whole practice. The most common early-stage failure mode in large-model training is not a crash but silent numerical degradation: a few expert routing weights exploding, an activation turning to inf in some layer, or the loss scale repeatedly backing off under mixed precision. Staying finite for 400 consecutive steps indicates that operator precision behavior, reduction order, normalization implementation, and random number streams are all essentially aligned with the reference implementation. Engineering typically relies on three layers of protection:

    1. # Illustration: numerical health checks in the training loop (pseudocode)
    2. for step in range(max_steps):
    3. loss = model(batch)
    4. loss.backward()
    5. grad_norm = clip_grad_norm_(model.parameters(), max_norm=1.0)
    6. if not torch.isfinite(loss) or not torch.isfinite(grad_norm):
    7. log_metric("nan_inf", step) # log it instead of silently skipping
    8. restore_from_last_healthy_ckpt()
    9. continue
    10. optimizer.step()
    11. if step % log_interval == 0:
    12. log_metric({"loss": loss.item(), "grad_norm": grad_norm})

    The key point is to continuously observe “whether values are finite” as a first-class metric, rather than digging through logs after the job fails.

    3. From “It Trains” to “Ready to Train Out of the Box”: What Engineering Is Still Missing

    A successful adaptation is only the starting point. Reproducible training capability requires four engineering layers.

    • Operator layer: Cover all forward and backward operators the model needs and ensure numerical consistency with the reference implementation; provide equivalent composite implementations for unsupported operators rather than falling back to inefficient paths.
    • Parallelism layer: Support free combinations of data, tensor, pipeline, and expert parallelism, and automatically suggest partitioning based on cluster size.
    • Fault-tolerance layer: Periodic checkpoints, faulty-node isolation, resume-from-checkpoint, and slow-node detection. At the thousand-card scale and beyond, the question is not whether a job will fail, but how often it fails and how long recovery takes.
    • Toolchain layer: One-command launch of distributed jobs, automatic collection of communication and memory metrics, and integration with logging and monitoring/alerting, turning troubleshooting from “reading logs and guessing” into “locating issues by metrics.”

    Together, these four layers define “ready to train out of the box”: a user submits a standard model configuration, and the platform automatically handles resource orchestration, parallel partitioning, stability protection, and observability integration.

    4. A Reusable Adaptation Evaluation Checklist

    If you want to evaluate the training feasibility of a very large model on a domestic accelerator, proceed in the following order, with a clear pass criterion at each step:

    1. Single-card operator alignment: Run a small model or a single layer, compare loss and gradients, and keep the error within an acceptable threshold.
    2. Single-node multi-card scaling: Verify the correctness of AllReduce/ReduceScatter and bandwidth utilization, with a scaling efficiency curve close to linear.
    3. Two-node cross-node run: Verify topology-aware partitioning and compute-communication overlap, with inter-node communication not becoming the main bottleneck.
    4. Stability long run: Hundreds of consecutive updates with no overflow and no interruption, and a loss curve whose trend matches the reference implementation.
    5. Fault tolerance and recovery: Inject node failures and verify checkpoint recovery time and state consistency.
    6. Observability: Metrics, logs, and alerts all in place, able to pinpoint a specific card and a specific communication domain.

    5. Industry Significance and Rational Expectations

    The real value of such an adaptation result lies in three points: it demonstrates that domestic full-function GPUs have the engineering capability to support full-pipeline training of frontier complex models; it moves “domestic chips training domestic models” from a single-point demo toward a reusable methodology; and it accumulates practical data on communication, numerics, and fault tolerance for trillion-parameter training.

    At the same time, rational expectations are warranted: between a working adaptation and large-scale pretraining still lie long-term tests of compute scale, data engineering, training stability, and unit cost. The true mark of maturity is not one impressive 400-step curve, but “predictable success” that recurs across different teams, models, and clusters.