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

    This article explains what a recent training adaptation on a domestic full-function GPU actually proves—and what it does not. It clarifies the difference between training adaptation and reproducing an original pretraining run, breaks down the native FSDP2 training path across model loading, sharding, cross-node communication, and gradient synchronization, and explains why 400 consecutive optimizer updates with finite loss and gradient norms is a stronger signal than simply "getting it to run." It also provides a practical troubleshooting checklist for common failure modes and recommendations for turning a one-off adaptation into a repeatable, observable training workflow.

    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 a training adaptation for a flagship large model with nearly 3 trillion parameters. The test used 16 accelerator cards across two nodes for cross-node joint training. All 16 training processes completed 400 consecutive optimizer updates, with loss values and gradient norms remaining finite throughout—no numerical overflow and no abnormal interruption.

    One easily misread concept must be clarified first: training adaptation is not the same as completing the original pretraining on that chip.

    The industry commonly uses three different meanings of “adaptation,” and they are entirely distinct:

    Type Meaning Acceptance Focus
    Day 0 inference adaptation Model weights can be loaded and used for inference on release day Operator coverage, precision alignment
    Training pipeline adaptation Can load, shard, backpropagate, and update parameters Full-pipeline numerical stability
    Original pretraining Producing base weights from scratch with massive compute Cluster scale, duration, cost

    The original text cites a typical phenomenon: a DeepSeek-style team validated both NPU and GPU paths side by side in a technical report and verified a fine-grained expert parallelism scheme, but the industry generally regards that as inference operator validation; the original compute source for base-model pretraining was never officially disclosed. Therefore, the value of a training adaptation should be judged by which pipelines it connects, not simply equated with “a domestic card trained a trillion-parameter model.”

    2. Technical Core: What the Native FSDP2 Multimodal Training Path Connects

    The key to this adaptation was building a native FSDP2 (Fully Sharded Data Parallel, second version) training path, connecting the complete chain from model loading and shard scheduling to gradient synchronization. Broken down step by step:

    2.1 Model Loading and Sharding

    A nearly trillion-parameter model cannot fit in a single card’s memory, so parameters, gradients, and optimizer states must all be sharded. The key improvement of FSDP2 over the previous generation is sharding management at tensor/module granularity, reducing dependence on static-graph wrappers and making model structure definitions closer to native code.

    Illustrative code (pseudocode, structure only):

    1. for layer in model.layers:
    2. layer = fully_shard(layer) # shard-wrap layer by layer
    3. model = fully_shard(model)
    4. for batch in loader:
    5. loss = model(batch).loss
    6. loss.backward() # all-gather parameters on demand during backward
    7. optimizer.step() # update after gradient reduce-scatter
    8. optimizer.zero_grad()

    2.2 Cross-Node Communication and Parallelism Combination

    Two nodes with 16 cards is the minimum verifiable cross-node topology. Its value lies in exposing problems that single-node tests cannot: lower inter-node bandwidth than intra-node interconnect, collective communication timeouts, process group initialization order, rank mapping errors, and so on. In engineering practice, FSDP is usually combined with tensor parallelism and expert parallelism, with communication and computation overlapped to hide latency.

    2.3 Numerical Stability: The Real Meaning of 400 Steps

    “400 consecutive optimizer updates with loss and gradient norms finite throughout” is a harder metric than “it runs.” It shows that:

    • The loss scaling strategy under mixed precision is effective, with no zero gradients caused by underflow;
    • The gradient clipping threshold is set reasonably, with no norm explosion;
    • Optimizer states (first-/second-order momentum) remain consistent after sharding;
    • There is no silent numerical degradation (loss appears to decrease while NaNs are masked).

    Recommended monitoring instrumentation:

    1. if step % 10 == 0:
    2. log({
    3. "step": step,
    4. "loss": float(loss.detach()),
    5. "grad_norm": clip_grad_norm_(model.parameters(), 1.0),
    6. "param_finite": all(torch.isfinite(p).all() for p in model.parameters()),
    7. "step_time_ms": step_time,
    8. })

    3. Common Failure Modes and a Troubleshooting Checklist

    Failures in cross-node training adaptation tend to concentrate in the following areas; check them in order:

    1. Missing operators or inconsistent semantics: certain normalization and attention variants are replaced with equivalent implementations on new hardware; perform layer-by-layer output comparison (maximum absolute error under identical weights and inputs).
    2. Communication timeouts: a default timeout that is too short will interrupt long-tail all-gather operations; use logging services and monitoring alerts to locate slow ranks.
    3. Sharding and recomputation conflicts: an incorrect order of activation recomputation and shard wrapping causes abnormal memory peaks or a broken backward graph.
    4. Data pipeline bottlenecks: multimodal data decoding overhead is often mistaken for insufficient compute; first run a pure-compute stress test with a fixed data batch.
    5. Checkpoint resume consistency: saving/loading sharded optimizer states must verify the step and random number state, otherwise the resumed loss will jump.

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

    The original text mentions that the vendor already has “domestic chips training domestic models” results: completing from-scratch training of a 236-billion-parameter scientific foundation model, supporting full-stack native training of a 5D world model, jointly completing full-pipeline training of an embodied brain model with research institutions, and advancing trillion-parameter training. Abstracting these results yields four layers of capability:

    • Operator layer: automated regression for coverage and precision alignment;
    • Parallelism layer: automatic search for multi-dimensional parallelism and topology-aware scheduling;
    • Tooling layer: one-click launch, automatic instrumentation, and a visualized training dashboard;
    • Operations layer: fault self-healing, slow-node isolation, and automatic checkpoint persistence.

    For cloud deployment, these are typically combined: a container platform hosts training images, object storage holds datasets and checkpoints, a message queue decouples data preprocessing, and logging services with monitoring alerts handle observability—turning a one-off “successful adaptation” into a repeatable process.

    5. Practical Recommendations for Technical Teams

    1. Hard-code acceptance criteria: specify step count, loss finiteness, gradient norm range, throughput, and memory usage—not just “it runs.”
    2. Run small-scale reproducible experiments first: two nodes with 16 cards is a cost-effective scale for exposing problems.
    3. Establish a precision baseline: use mature hardware as a reference and compare layer by layer rather than only looking at final loss.
    4. Retain complete observability data: attribute time spent on communication, computation, and data loading separately.
    5. Script the adaptation workflow: put environment, dependencies, and parallelism configuration under version control to truly approach “ready to train out of the box.”

    In summary, a high-quality training adaptation marks not an endpoint but an entry ticket for domestic full-function GPUs into the main workflow of large-model training; its value must be backed by reproducible steps, stable numerics, and a mature toolchain.