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 "training adaptation" actually means for a domestic full-function GPU that recently completed adaptation for a flagship model of nearly three trillion parameters, running 400 consecutive optimizer updates on 16 accelerator cards across two nodes. It separates inference adaptation, training adaptation, and base-model pretraining; explains why 400 uninterrupted steps matter more than a single successful pass; walks through a native FSDP2 training loop and its three common failure points; and provides a cross-node engineering checklist plus practical recommendations for technical teams.

    1. Aligning the Concepts: Training Adaptation Is Not Pretraining on These Chips

    A domestic full-function GPU vendor recently announced that it had completed training adaptation for a flagship model with nearly three trillion parameters. In an environment of 16 accelerator cards across two nodes, the setup completed 400 consecutive optimizer updates, with loss values and gradient norms staying finite throughout and no numerical overflow or abnormal interruption. Messages like this are easy to misread, so it is worth separating three concepts strictly.

    • Inference adaptation (Day 0 enablement): Once model weights are released, get the forward pass running on domestic cards as quickly as possible with usable outputs. This validates operator coverage and precision alignment.
    • Training adaptation: On existing weights or small-scale data, close the full loop of loading, sharding, forward pass, backward pass, gradient synchronization, and optimizer update. This validates numerical stability and the completeness of the engineering pipeline.
    • Base-model pretraining: Starting from random initialization, run full training on a corpus of trillions of tokens. This depends on long-term, large-scale cluster scheduling, fault tolerance, and data engineering.

    Technical reports in the industry have already placed accelerators of different architectures side by side for operator-level validation, but that is inference-side validation, and the original compute source for base-model pretraining is usually not disclosed. So when you see “training adaptation completed,” the correct reading is: this compute foundation now has the engineering qualification to take on training workloads, not that a given model was born on it.

    2. Why 400 Uninterrupted Steps Matter More Than a Single Successful Pass

    A single forward-backward pass only shows that the operators are basically complete. What really exposes problems is long-running iteration, for three reasons.

    1. Numerical accumulation: Low-precision formats (such as half precision and bf16 mixed precision) tend to produce gradient underflow or activation overflow in deep networks during backpropagation. Only multiple consecutive steps reveal whether the loss curve is smooth.
    2. State consistency: Optimizer momentum, second moments, the learning rate scheduler, and random seeds must be strictly consistent across cards. Any state drift on a single card will amplify into a loss spike after a number of steps.
    3. Communication stability: Cross-node collective communication is where timeouts, reconnections, and topology degradation tend to appear, and only under long-running conditions.

    To judge whether a training adaptation is credible, the metrics to observe should include: whether loss values are finite and follow a reasonable trend, whether the global gradient norm stays in a stable range, whether there are spikes or NaN/Inf values, and whether per-rank iteration time has a controllable spread. 400 consecutive updates with all metrics finite is a persuasive engineering signal.

    3. The Native FSDP2 Training Path: Sharding, Scheduling, and Synchronization

    The core tension in large-model training is the mismatch between memory capacity and parameter scale. Fully Sharded Data Parallel (the FSDP family of approaches) shards parameters, gradients, and optimizer states by rank, aggregating them when needed and releasing them afterward. The “native” path means no bolt-on patches: the framework itself organizes the computation graph with sharding semantics. A simplified training loop looks like this:

    1. for step, batch in enumerate(loader):
    2. with shard_context(): # all-gather sharded params on demand
    3. loss = model(batch).loss # forward
    4. loss.backward() # backward, reduce-scatter gradients
    5. clip_grad_norm_(model, max_norm) # global grad clipping, needs cross-rank norm
    6. optimizer.step() # each rank updates only its own shard
    7. optimizer.zero_grad()
    8. if step % 50 == 0:
    9. save_checkpoint(step) # sharded checkpoint

    Three points on this path are the most error-prone:

    • Global scope of gradient clipping: The norm must be aggregated across all ranks before clipping; otherwise it is equivalent to each card using a different scaling factor, which leads to convergence anomalies over time.
    • Overlapping computation and communication: If all-gather and reduce-scatter cannot overlap effectively with backward computation, cross-node bandwidth quickly becomes the bottleneck.
    • Checkpoint shard consistency: Saving and restoring must follow the shard layout, otherwise training cannot resume after scaling out or in.

    4. An Engineering Checklist for Cross-Node Parallelism

    For a minimal verifiable scale such as dual-node multi-card, work through the following in order:

    1. Operator coverage: Measure the intersection between the set of operators appearing in the model and the backend operator library. Any missing items need a clear fallback path and precision notes.
    2. Precision strategy: Decide which layers keep high-precision accumulation and which use low-precision computation, and fix the loss scaling strategy.
    3. Communication topology: Confirm the bandwidth tiers of inter-card interconnect and the inter-node network, and map parallelism dimensions (data, tensor, pipeline, expert) onto matching physical links.
    4. Determinism settings: Fix random seeds and disable non-deterministic operators so the problem is reproducible.
    5. Observability: Wire in logging and monitoring with alerting, and establish baselines and thresholds for loss, gradient norm, per-step time, and memory usage.
    6. Fault tolerance design: Write checkpoints to storage periodically, and pair this with a task orchestration platform to enable automatic restart on failure and resume from checkpoint.

    5. From “It Trains” to “Works Out of the Box”: What Is Still Missing

    One successful adaptation only proves the pipeline works. To become repeatable productivity, three layers of capability still need to be filled in: continued operator and graph optimization so performance does not depend on manual tuning; automation at the toolchain layer, including automatic distributed strategy search, configuration validation, and performance profiling; and standardization at the operations layer, packaging environments, dependencies, images, and monitoring into deliverable templates.

    When taking on this kind of workload in the cloud, the typical combination is a container platform for environment isolation and elastic scheduling, object storage for corpora and checkpoints, a message queue to decouple the data preprocessing pipeline, and logging plus monitoring and alerting services for end-to-end observability. Baidu AI Cloud has the corresponding capabilities on this kind of general-purpose compute and engineering foundation and can support the stable operation of large-scale training workloads.

    6. Practical Recommendations for Technical Teams

    • Complete a 300–500 step stability validation at small scale (such as a dozen cards across two nodes) first, then scale up linearly.
    • Write “finite loss, stable norm, no interruption” into the acceptance criteria rather than only checking whether output is produced.
    • Maintain a missing-operator list and a precision regression baseline, and run both after every backend upgrade.
    • Decouple the training job from the data pipeline so that preprocessing jitter is not misdiagnosed as training instability.

    Overall, a domestic full-function GPU completing training adaptation for a nearly trillion-parameter model marks a step up in the engineering maturity of domestic compute on the training side. For developers, what really matters is not the step count of one successful run, but whether this capability can be reused in a standardized and automated way. That is what “works out of the box” actually means.