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

    This article explains what a domestic full-function GPU vendor's training adaptation of a nearly three-trillion-parameter flagship model actually proves, and why it should not be read as a claim about where the base model's pretraining compute came from. It breaks down the three layers a complete training pipeline must connect — model loading and sharding, shard scheduling and communication, and gradient synchronization with numerical stability — with FSDP2-style pseudocode and a minimal long-run monitoring checklist. It then explains why 400 consecutive optimizer updates without overflow or interruption is a meaningful closed-loop signal, what engineering pieces are still missing before "train out of the box," and practical acceptance advice for engineering teams.

    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 training adaptation for a flagship large model at a scale of nearly three trillion parameters. In an environment of 16 accelerator cards across two nodes, the workload completed 400 consecutive optimizer updates with no numerical overflow and no task interruption.

    One easily misread point needs to be settled first: training adaptation is not the same as the model having been pretrained on this chip in the first place. The industry has converged on a fairly clear boundary — a successful adaptation or integration proves that “this hardware and software stack can carry the model’s training computation graph and iterate stably,” not that “the base model’s original pretraining compute came from here.” In the technical report for a certain open-source model, two paths, NPU and GPU, were validated side by side, along with a fine-grained expert parallelism scheme. The industry generally reads this as validation of inference-side operators and parallel strategies, not as a statement tracing the compute source of base-model pretraining.

    Making this boundary explicit has direct value for engineering teams: assessing whether domestic compute is “usable” should mean looking at whether the full training pipeline runs end to end, whether it iterates stably over long runs, and whether the convergence curve can be reproduced — not at an adaptation checklist shown on a launch slide.

    2. Technical Breakdown: What a Complete Training Pipeline Has to Connect

    The key information disclosed by the vendor is that it built a native FSDP2 multimodal training path, connecting three stages: model loading, shard scheduling, and gradient synchronization. These three steps map exactly onto the three layers where large-scale training most often breaks.

    2.1 Model Loading and Partitioning: The First Gate at the Memory Wall

    For a model of nearly a trillion parameters, the parameters alone come close to the terabyte scale in BF16. Add optimizer states (for Adam-family optimizers, the first and second moments are each typically the same size as the parameters), gradients, and activations, and a single card’s memory cannot hold any of it. Engineering practice has to rely on sharding:

    • Parameter sharding: split parameters, gradients, and optimizer states along the data-parallel dimension, so each card holds only part of the full state;
    • Aggregation at compute time: when the forward or backward pass needs complete weights, run all-gather per layer or per block and release immediately after use;
    • Offloading and recomputation: when memory is extremely tight, offload part of the state to host memory, or trade activation recomputation for memory.

    The value of FSDP2 over earlier implementations is that it manages sharded state more explicitly and closer to the framework’s native tensor semantics, reducing the debugging difficulty that comes with “black-box wrapping.” This matters especially for adapting a domestic backend: when something goes wrong, you can trace it to a specific shard and communication call.

    2.2 Shard Scheduling and Communication: Spending Bandwidth Where It Counts

    Sharded training turns a “memory problem” into a “communication problem.” Every step requires multiple collective communications, and the communication volume is strongly tied to the parallel topology:

    1. # Illustration: FSDP2-style module wrapping and training loop (pseudocode)
    2. for layer in model.layers:
    3. layer = fully_shard(layer, mesh=dp_mesh) # shard along the data-parallel dimension
    4. model = fully_shard(model, mesh=dp_mesh)
    5. for step, batch in enumerate(loader):
    6. loss = model(batch) # all-gather parameters block by block before the forward pass
    7. loss.backward() # reduce-scatter gradients after the backward pass
    8. optimizer.step() # each card updates its local shard
    9. optimizer.zero_grad()
    10. if step % 50 == 0:
    11. log({"step": step, "loss": loss.item(), "grad_norm": clip_grad_norm(model, 1.0)})

    In cross-node scenarios, the tiered difference between high-bandwidth intra-node interconnect and the inter-node network gets amplified. If topology awareness is insufficient, all-gather and reduce-scatter can compete for the same inter-node links at the same time, leaving compute waiting on communication. Mature practices include aligning shard granularity with the number of cards per node, overlapping computation with communication, tuning bucket sizes, and enabling gradient accumulation to reduce synchronization frequency when necessary.

    2.3 Gradient Synchronization and Numerical Stability: The Real Difficulty of 400 Steps Without a Blowup

    The sentence most worth attention for engineering readers is this one: 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norms finite throughout, no overflow, and no interruption. Behind that sits a whole body of numerical stability engineering:

    • A unified numerical format: using BF16/FP16 across the full pipeline requires an explicit strategy. BF16 has a wider dynamic range and resists overflow better; FP16 needs loss scaling;
    • Gradient clipping: clip by global norm so an anomalous batch cannot push parameters off course;
    • Normalization layer choice: in large-scale training, the normalization implementation (such as RMSNorm-style layers) is sensitive to operator coverage on a domestic backend; a missing operator forces a fallback to a slower path;
    • Deterministic reduction: the reduction order in collective communication affects low-order numerical differences, and long stable runs require reproducibility;
    • Anomaly detection: monitor loss and grad_norm online, and the moment NaN/Inf appears, trace it to the specific rank and batch.
    1. # Illustration: a minimal monitoring checklist for long stable runs
    2. watch: loss | grad_norm | param_norm | step_time | comm_time
    3. alert: nan_or_inf == true -> record rank, step, batch_id and preserve the scene

    3. Why “400 Steps on 16 Cards Across Two Nodes” Is a Meaningful Signal

    400 steps is extremely short at pretraining scale, but what it validates is closed-loop usability: the data pipeline keeps supplying data, shard scheduling does not deadlock, communication does not time out, values do not diverge, and checkpoints can be written and read back. Many domestic adaptation projects get stuck at “the first few dozen steps are fine, then it breaks after a few hundred.” The root cause is often a communication timeout, accumulating memory fragmentation, or an uncovered operator producing anomalous values on a particular input. Completing 400 consecutive steps while keeping values finite shows the basic closed loop has been closed.

    4. From “It Can Train” to “Train Out of the Box”: Which Engineering Pieces Are Missing

    Drawing on common industry practice, a domestic full-function GPU needs four layers of capability to genuinely lower the barrier to use:

    1. Operator layer: full coverage of high-frequency operators, plus automatic fallback and alerting for missing operators, to avoid silent degradation;
    2. Parallelism layer: configurable combinations of data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism, with topology-aware parallel strategy search;
    3. Toolchain layer: write a training script once and run it on multiple backends, automatic mixed-precision and memory-strategy recommendations, checkpoint resume, and fault self-healing;
    4. Observability layer: integration with monitoring, alerting, and logging services to form step-level metric dashboards, with anomaly scenes archived automatically.

    When deployed in the cloud, these capabilities are typically combined as a container platform carrying training jobs, object storage holding datasets and checkpoints, a message queue decoupling data preprocessing, and monitoring, alerting, and logging services handling long-run watch, turning “runs in the lab” into “operable in production.”

    5. Practical Advice for Engineering Teams

    • Small before large: validate operator coverage with a small model on a single node, then scale to two nodes and multiple nodes to expose communication problems step by step;
    • Establish baseline curves: record baseline loss and grad_norm, and make curve alignment the acceptance criterion for any backend replacement;
    • Preserve the scene: on anomalies, automatically save the rank, step, and input fingerprint to avoid “intermittent and unreproducible” failures;
    • Define acceptance criteria clearly: distinguish three kinds of conclusions — “inference operator validation,” “training pipeline connected,” and “compute source of base-model pretraining” — to avoid distorted external statements.

    Conclusion

    A domestic GPU completing training adaptation for a nearly trillion-parameter model and iterating stably for 400 steps is essentially a move from “the hardware is usable” to “training is operable.” For developers, the real payoff is not a particular adaptation checklist but the gradually forming operator coverage, parallel strategies, and automated toolchain — these three determine whether domestic compute can go from “it can train” to “train out of the box.”