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

    This article explains what a recent training adaptation of a nearly 3-trillion-parameter large language model on a domestic full-function GPU actually demonstrates—and what it does not. It clarifies the difference between training adaptation and pretraining a foundation model from scratch, walks through the native FSDP2 training path, examines the engineering meaning of 400 consecutive optimizer updates with finite loss and gradient norms across two nodes, and outlines the operator, parallelism, tooling, and operations capabilities required to move from "it can train" to "ready to train out of the box." Developers will find practical guidance on observability, mixed precision, reproducibility, and acceptance criteria.

    1. Background: A Training Adaptation, Not Pretraining From Scratch

    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 language model with nearly 3 trillion parameters. The experimental setup used 16 accelerator cards across two nodes. All 16 training processes completed 400 consecutive optimizer updates, with loss values and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption.

    One common misunderstanding must be cleared up first: training adaptation is not the same as completing foundation model pretraining on the chip.

    • Training adaptation: the model architecture, operators, parallelism strategy, and communication primitives are fully wired up on the target hardware, and forward passes, backward passes, and parameter updates run stably.
    • Foundation pretraining: starting from zero, converging parameters over trillions of tokens, thousands of cards, and a period of weeks to months.

    A similar pattern already exists in the industry: the technical report of an open-source model validated both an NPU and a GPU path side by side and provided a fine-grained expert parallelism scheme, yet the industry generally regards that as validation of inference operators and parallelism strategies, and the original compute source for foundation pretraining was never officially disclosed. Therefore, the value of an adaptation should be judged by whether the pipeline is connected, whether the numerics are stable, and whether the engineering is reusable—not simply equated with “a domestic card trained a flagship model.”

    2. Technical Core: The Native FSDP2 Multimodal Training Path

    The key term for this adaptation is “native FSDP2.” Compared with traditional data parallelism plus manual gradient sharding, FSDP2 (the second-generation implementation of Fully Sharded Data Parallel) shards parameters, gradients, and optimizer states by rank before training begins, then all-gathers them on demand during training, significantly reducing peak memory usage per card.

    A complete pipeline should include:

    1. Model loading: parse the model architecture according to the configuration and build a sharded parameter view;
    2. Shard scheduling: determine the parameter shards held by each rank and the computation order;
    3. Forward computation: all-gather parameters layer by layer, execute operators, and release shards;
    4. Backward propagation: recompute shards, compute gradients, and aggregate via reduce-scatter;
    5. Gradient synchronization and update: the optimizer updates only the local shard, then the next round begins.

    Illustrative pseudocode (semantics only, not a specific API):

    1. for step in range(total_steps):
    2. params = shard_manager.gather_for_forward(step)
    3. loss = model.forward(batch, params)
    4. grads = autograd.backward(loss)
    5. grads = comm.reduce_scatter(grads) # Aggregate gradients sharded by rank
    6. optimizer.step(grads) # Local shard update
    7. log(loss, grad_norm(grads), step)

    Multimodal scenarios must additionally handle the heterogeneous structures of the vision encoder and the language model: different modules vary widely in operator density, memory footprint, and communication volume, requiring hybrid parallelism (tensor parallelism + pipeline parallelism + sharded data parallelism) to work together with recomputation strategies.

    3. Cross-Node Stability: What 400 Consecutive Updates Mean

    Sixteen cards across two nodes is a typical cross-node training setup. Compared with single-node multi-card training, cross-node training adds two layers of risk: network bandwidth and latency, and numerical consistency.

    • Communication layer: if the timing of all-gather/reduce-scatter does not overlap sufficiently with computation, bubbles appear; this requires tuning communication group partitioning, gradient bucketing, and overlap strategies.
    • Numerical layer: under mixed precision, loss scaling, gradient clipping, and optimizer state precision all affect whether loss and gradient norms remain finite.

    The engineering meaning of “400 consecutive optimizer updates, with loss and gradient norms finite throughout, no overflow and no interruption” is that operator numerical behavior is stable, communication primitives do not deadlock, and checkpoint intervals are reasonable. For developers, a reusable monitoring checklist includes:

    • Log loss, grad_norm, and parameter update norm at every step;
    • Set up nan/inf detection with automatic alerts;
    • Fix random seeds to ensure reproducibility;
    • Periodically write checkpoints to disk and verify consistency when resuming from a checkpoint.

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

    A single successful run does not equal a deliverable. A mature system requires four layers of capability:

    1. Operator layer: coverage of high-frequency operators such as attention, normalization, activation, and loss functions, with precision alignment;
    2. Parallelism layer: flexible combination and automatic tuning of data, tensor, pipeline, and expert parallelism;
    3. Tooling layer: automated configuration generation, job orchestration, logging services, and monitoring and alerting;
    4. Operations layer: fault isolation, elastic fault tolerance, and checkpoint management.

    Recommended adoption path: first validate the pipeline with small and medium parameter models, then scale up gradually to tens of billions, hundreds of billions, and trillions; at each step, establish a precision baseline and a performance baseline to avoid “scale goes up, precision drifts.”

    5. Practical Advice for Developers

    • Distinguish “adaptation validation” from “pretraining delivery,” and keep external statements rigorous;
    • Prioritize observability, bringing loss, gradient norms, and communication time into a unified dashboard;
    • When using mixed precision, always pair it with loss scaling and gradient clipping;
    • Use a container platform and object storage to manage images and checkpoints, and use a message queue to decouple job scheduling;
    • Use “reproducible experiments” as the acceptance criterion, rather than a screenshot of a single success.

    6. Conclusion

    A domestic full-function GPU completing the training adaptation of a nearly trillion-parameter model marks the shift of “domestic chips training domestic models” from point validation toward systematic capability. For engineering teams, the real dividend is not one stable 400-step run, but the reusable sharded training path, cross-node tuning experience, and automated toolchain behind it—this is the foundation for moving from “it can train” to “ready to train out of the box.”