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

    This article explains a recent training adaptation in which a domestic GPU vendor ran a nearly 3-trillion-parameter open-source flagship model on 16 accelerators across two nodes, completing 400 consecutive optimizer updates with finite loss and gradient norms. It clarifies the key distinction between training adaptation and original pre-training, explains why adaptation is harder than inference deployment, outlines the native FSDP2 training path from sharding to gradient synchronization, and interprets what 400 stable steps do and do not prove. Readers will also find a practical engineering checklist for moving from "training works" to "ready to train out of the box."

    1. What Happened: A Training Adaptation, Not a Re-Pre-Training

    A domestic GPU vendor recently announced that, using its flagship training-and-inference accelerator card and its in-house software stack, it completed the training adaptation of an open-source flagship large model with a parameter count close to 3 trillion. The test environment consisted of 16 accelerator cards across two nodes. All 16 training processes completed 400 consecutive optimizer updates, with the training loss and gradient norm remaining finite throughout. There was no numerical overflow, no process crash, and no interruption.

    One common misunderstanding must be cleared up first: a successful training adaptation does not mean the model completed its original pre-training on this chip. Adaptation answers whether the model can be correctly loaded, correctly sharded, and correctly updated on the target hardware. Pre-training answers where the base model’s capabilities come from. These are different engineering stages, and conflating them leads to a misjudgment of how mature domestic compute really is.

    A relevant industry example: the technical report of a leading model listed inference operator paths validated on two different accelerator architectures side by side. The focus of that validation was operator correctness under a fine-grained expert parallelism scheme, while the original compute source for the base model’s pre-training was not disclosed. This shows that “side-by-side validation” usually points to inference-side or operator-side validation and cannot be directly extended into a training-side conclusion.

    2. Why Training Adaptation Is Much Harder Than Inference Deployment

    Inference is a forward pass with a relatively large fault-tolerance window. Training must keep four chains consistent at the same time: forward, backward, optimizer state, and gradient communication. A numerical or communication problem in any one of them shows up as loss divergence or a hung process. The main difficulties fall into four categories:

    • Operator coverage and numerical behavior: a missing backward operator breaks the computation graph; differences in accumulation order under mixed precision and in normalization implementations get amplified over thousands of steps into non-convergence.
    • Parallelism strategy and sharding consistency: once data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism are combined, the sharding rules for parameters and optimizer states must align strictly.
    • Cross-node communication: gradient synchronization and parameter aggregation are sensitive to bandwidth and topology, and poor overlap between communication and computation noticeably lowers effective throughput.
    • Long-run stability: large-model training uses “thousands of steps without anomalies” as the bar, which requires monitoring, automatic recovery, and fault localization to be in place.

    3. The Native FSDP2 Training Path: From Loading to Gradient Synchronization

    This adaptation built a native FSDP2 multimodal training path, closing the loop from model loading through sharding and scheduling to gradient synchronization. The core idea of FSDP2 is to shard parameters, gradients, and optimizer states uniformly along the data-parallel dimension. Compared with earlier schemes, this removes the complexity of a second round of parameter sharding and brings per-card memory usage closer to the theoretical lower bound.

    A schematic training skeleton is shown below (pseudocode, expressing link structure only):

    1. # 1) Build the model and apply sharding wrapper
    2. model = build_multimodal_model(cfg)
    3. model = fully_shard(model, mesh=dp_mesh) # parameters/gradients/optimizer states sharded uniformly
    4. # 2) The optimizer holds only this card's shard of state
    5. opt = torch.optim.AdamW(model.parameters(), lr=1e-4)
    6. for step, batch in enumerate(loader):
    7. out = model(batch) # forward
    8. loss = criterion(out, batch.target)
    9. loss.backward() # backward + sharded gradient reduction
    10. gnorm = clip_grad_norm_(model.parameters(), 1.0)
    11. opt.step(); opt.zero_grad(set_to_none=True)
    12. assert torch.isfinite(loss) and torch.isfinite(gnorm)

    Three things also need to be completed in engineering: first, sharding and scheduling must support differentiated partitioning of heterogeneous modality submodules; second, gradient synchronization must overlap with backward computation to reduce communication bubbles; third, numerical guardrails must check the loss and gradient norm step by step and preserve an on-site snapshot when an anomaly occurs.

    4. What 400 Consecutive Updates Actually Show

    Four hundred consecutive optimizer updates are an informative engineering signal, but they must be read correctly:

    1. They validate link integrity, meaning loading, sharding, forward, backward, synchronization, and update have no breaks.
    2. They validate numerical stability: loss and gradient norm stay finite throughout, indicating the mixed-precision strategy and normalization implementation are basically reliable.
    3. They are not a convergence conclusion: 400 steps are not enough to judge model quality; convergence requires longer runs and validation on larger clusters.

    To judge whether a training adaptation is credible, look at four indicators: whether it completes without interruption, whether values stay finite throughout, whether throughput scales approximately linearly with card count, and whether training can automatically recover and resume after a failure.

    5. An Engineering Checklist: From “It Trains” to “Ready to Train Out of the Box”

    Drawing on common industry practice, a domestic full-function GPU needs to polish four layers of capability to support frontier complex large models:

    • Operator layer: build an operator coverage matrix and precision-alignment tests, comparing operator by operator against a unified reference implementation.
    • Parallelism layer: support multiple parallelism combinations and automatic parallelism search, with trade-off guidance on memory and throughput.
    • Toolchain layer: provide a one-click training entry point, configuration templates, checkpoint resume and logging services, and monitoring/alerting integration.
    • Ecosystem layer: enable fast regression validation after model structure changes, forming a closed loop of “adapt, validate, accumulate.”

    For cloud deployment, general-purpose capabilities can be combined: a container platform hosts training images and elastic scheduling, object storage holds checkpoints and datasets, a message queue decouples data preprocessing, and logging and monitoring/alerting handle long-run observation. If relevant general capabilities from Baidu AI Cloud are brought in, the same layered decoupling of “compute, storage, observability” applies, avoiding pinning training stability on a single-point component.

    6. Conclusion

    Completing 400 steps of training adaptation for a nearly trillion-parameter model marks a threshold crossed by domestic GPUs in “full-link stable training.” For developers, what is truly worth attention is a reproducible validation method: clearly separate adaptation from pre-training, use a unified reference for operator alignment, and measure maturity by long-run stability indicators rather than a single-point peak. Only when the three layers of operator, parallelism, and toolchain capabilities settle into templated processes will frontier large models on domestic hardware have a realistic basis for moving from “it trains” to “ready to train out of the box.”