A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model, Running 400 Steps Stably 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 that training adaptation is not pretraining, breaks down the native FSDP2 sharded training path, discusses what the 400-step stability test does and does not prove, and outlines the engineering toolchain and practical validation checklist needed to move from "it runs" to "ready to train out of the box."

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

    A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference accelerator card and its in-house software stack, it quickly completed the training adaptation of a flagship large model with nearly 3 trillion parameters. Under a configuration of two nodes with 16 cards in total, the setup ran stably for 400 consecutive optimizer update steps.

    One easily misread point must be clarified first: training adaptation is not the same as pretraining the model on this chip.

    • Training adaptation: The goal is to get the training pipeline “running, stable, and correct” on the target hardware and software stack, verifying operator coverage, parallelism strategy, communication, and numerical behavior against expectations.
    • Pretraining: Building base-model capability from scratch on massive corpora, where compute sources, data mixtures, and training duration are a different order of magnitude.

    There is a similar reference in the industry: the technical report of an open-source model once validated inference operator approaches for two different accelerator architectures side by side, but that does not equate to the compute source of its base pretraining. Therefore, the value of an adaptation effort should be assessed by “pipeline completeness” and “stability evidence,” rather than directly inferred as a compute-replacement conclusion.

    2. Technical Core: A Native FSDP2 Multimodal Training Path

    The key term for this adaptation is “native FSDP2,” whose engineering meaning breaks into three parts:

    1. Model loading: Load a model with an extremely large parameter count in shards, avoiding a single card holding the full parameters and optimizer states.
    2. Shard scheduling: Gather parameter shards on demand via all-gather during the forward and backward passes, releasing them immediately after computation to control peak GPU memory.
    3. Gradient synchronization: After the backward pass, reduce gradients via reduce-scatter so each rank keeps only the shard it owns, then updates its optimizer state locally.

    Compared with the traditional “data parallelism plus full parameter replicas,” FSDP2-style approaches mainly rebalance GPU memory and communication. Illustrative pseudocode:

    1. # Illustrative: an FSDP2-style sharded training loop (not a specific product API)
    2. for step, batch in enumerate(loader):
    3. with shard_context(model): # gather parameter shards on demand
    4. loss = model(batch) # forward pass
    5. loss.backward() # backward pass, triggers reduce-scatter
    6. opt.step(); opt.zero_grad() # local shard update
    7. if step % log_interval == 0:
    8. log(step, loss, grad_norm) # record numerical health

    For multimodal models, the operator shapes of text, image, audio, and other branches differ greatly, and matching shard boundaries with communication primitives is more complex. This is also the dividing line between “native support” and “getting around it with patches.”

    3. Stability Validation: What 400 Consecutive Steps Show

    The experiment used joint cross-node training on two nodes with 16 cards. All 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption.

    The information in this result concentrates on three points:

    • Cross-node communication works: The inter-node network and collective communication showed no cumulative errors under sustained load.
    • Numerical behavior is controllable: The absence of Inf/NaN indicates that the mixed-precision strategy, loss scaling, and normalization layer implementations are basically correct.
    • Long-range consistency: 400 steps are enough to expose problems that “short runs cannot reveal,” such as GPU memory leaks, handle exhaustion, and communication timeouts.

    It should be stated objectively that 400 steps constitute a pipeline-level smoke and stability test and cannot be extrapolated into a convergence or training-efficiency conclusion.

    4. Engineering System: From “It Trains” to “Ready to Train Out of the Box”

    The gap between a single successful run and sustainable support is the toolchain. A mature engineering system typically includes:

    1. Operator coverage and automatic fallback: Missing operators automatically fall back to equivalent composite implementations and output a warning list.
    2. Automatic parallelism search: Cost-model evaluation across tensor parallelism, pipeline parallelism, expert parallelism, and sharded data parallelism.
    3. Observability: A log service centrally collects loss, gradient norms, GPU memory levels, and communication latency, with monitoring alerts and threshold settings.
    4. Reproducible environments: A container platform pins driver and runtime versions, with configurations managed as declarative files.
    5. Elasticity and fault tolerance: Recover from checkpoints when a node fails, avoiding a rollback of the entire training run.

    In similar scenarios, Baidu AI Cloud typically provides combinations of general-purpose capabilities, such as a container platform hosting training images, object storage for checkpoints and datasets, and a log service with monitoring alerts for observability. This is common industry practice, not a conclusion specific to any single adaptation.

    5. Practical Recommendations Checklist

    • First run numerical alignment on a small-scale configuration: the loss over the first several steps should be highly consistent for the same weights under two different parallelism degrees.
    • Establish a gradient norm baseline; a deviation of one order of magnitude from the baseline should be treated as an anomaly signal.
    • The checkpoint strategy must cover optimizer states; otherwise, recovery causes hidden precision loss.
    • Include “400 steps without interruption” in the pipeline gate as one version-admission condition.
    • Distinguish among “adaptation validation,” “convergence validation,” and “efficiency validation” to avoid mixing conclusions.

    6. Conclusion

    A domestic full-function GPU completing the training adaptation of a nearly trillion-parameter model essentially aligns the entire “model-operator-parallelism-communication-numerical” pipeline on real hardware. Moving from “it trains” to “ready to train out of the box” depends not on a single demonstration but on the continuous refinement of the operator library, automatic parallelism, observability, and fault-tolerance tools. For developers, viewing adaptation results rationally and building reproducible validation methods is the starting point for putting domestic compute to real use.