A Domestic GPU Completes Training Adaptation for a Near-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 with nearly 3 trillion parameters, running 400 consecutive optimizer updates on 16 training-and-inference cards across two nodes with loss and gradient norms staying finite throughout. It separates three easily confused concepts (Day 0 inference adaptation, training adaptation, and base pre-training), explains why a native FSDP2 multimodal training path is the key technical point, and breaks down what the 400-step stability run verifies across numerical health, pipeline completeness, cross-node communication efficiency, and reproducibility. It also provides a practical engineering checklist for moving from "it runs" to "ready to train out of the box," plus concrete recommendations for developers on scaling up, standardizing acceptance criteria, and evaluating total cost of ownership.

    1. First, Align the Concepts: Training Adaptation Is Not “Pre-training on This Card”

    A domestic full-function GPU vendor recently announced that it had completed training adaptation for a flagship large model with nearly 3 trillion parameters. On 16 training-and-inference compute cards across two nodes, the setup completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption. The first reaction from many developers was “domestic cards can now train trillion-parameter models.” That reading is not accurate, so it is worth separating three concepts.

    • Inference adaptation (Day 0 enablement): After model weights are released, get the new model running on the hardware and serving inference as quickly as possible. The focus is operator coverage and fitting the model in memory.
    • Training adaptation: Given an existing model architecture and existing weights, get the full forward, backward, and optimizer update path running and running stably on new hardware. The focus is numerical correctness and multi-card coordination.
    • Base pre-training: Starting from random initialization, use massive corpora to form the parameters of a trillion-scale or larger model. The focus is compute scale, cluster stability, and training duration.

    There are similar precedents in the industry: the technical reports of some foundation models validate multiple accelerator card options side by side and provide fine-grained expert parallelism schemes, yet the industry generally understands this as validation of inference-side operators and parallel strategies, while the compute source for the original base pre-training has not been officially disclosed. So when you see “training adaptation completed,” the correct interpretation is: the pipeline now has the engineering foundation to continue large-scale training on this hardware, not that the model’s parameters were grown on this card.

    2. Why “Native FSDP2” Is the Keyword of This Adaptation

    The original announcement mentions building a “native FSDP2 multimodal training path” that connects the full chain from model loading and shard scheduling to gradient synchronization. The technical substance here lies in the word “native.”

    The core idea of FSDP (Fully Sharded Data Parallel) is to slice model parameters, gradients, and optimizer states along the data parallel dimension so that each card keeps only a portion resident, all-gathers parameters on demand during forward and backward, and releases them immediately after use. Compared with traditional data parallelism, where each card holds a complete copy of the model, memory usage drops from O(P) to roughly O(P/N). Compared with earlier versions, FSDP2 typically emphasizes a clearer tensor sharding abstraction, more controllable overlap of communication and computation, and easier composition with non-uniform structures such as multimodal ones.

    Multimodal training is troublesome because the vision encoder, the text backbone, and the projection layers differ enormously in parameter count and compute density. A uniform sharding strategy can easily make one class of layers a memory and communication bottleneck. The value of a native path is that sharding, scheduling, and communication are no longer stitched together with external patches but are completed under the same framework semantics.

    Illustrative configuration (semantic only, not a specific framework API):

    1. # Pseudocode: semantic illustration of fully sharded data parallelism
    2. for layer in model.layers:
    3. layer = shard(layer, dim=0) # shard parameters/gradients/optimizer states
    4. for batch in loader:
    5. with no_sync_for_accumulation():
    6. out = model(batch) # all-gather parameters on demand
    7. loss = criterion(out, batch.y)
    8. loss.backward() # reduce-scatter gradients
    9. optimizer.step() # update only this card's shard
    10. optimizer.zero_grad()

    3. 400 Steps on 16 Cards Across Two Nodes: What Stability Validation Actually Validates

    The thing most likely to go wrong in cross-node training is not “it won’t run” but “it won’t run stably.” The significance of 400 consecutive optimizer updates can be read along four dimensions.

    1. Numerical health: Loss and gradient norms staying finite throughout means no NaN/Inf appeared, and that loss scaling, gradient clipping, and normalization layer statistics under mixed precision all stayed in a controllable range.
    2. Pipeline completeness: No abnormal interruption across model loading, shard scheduling, gradient synchronization, and optimizer updates means the control plane and data plane have fault tolerance and retry capability under cross-machine RDMA or network jitter.
    3. Cross-node communication efficiency: Two nodes mean parameter all-gather and gradient reduce-scatter must cross the network, and only by overlapping with backward computation can bandwidth limits avoid showing up as wall-clock time inflation.
    4. Reproducibility: 400 steps is a “short run,” but it is enough to expose systematic bias in initialization, data order, random seeds, and mixed precision strategy.

    It is worth building a minimal monitoring panel so that “it runs” becomes “it is observable”:

    1. step | loss | grad_norm | param_norm | lr | t_fwd | t_bwd | t_comm | peak_mem
    2. 100 | 2.31e0 | 1.12e0 | 3.4e1 | 1.0e-4 | 41ms | 88ms | 63ms | 58.2GB
    3. 200 | 2.08e0 | 0.97e0 | 3.4e1 | 1.0e-4 | 41ms | 89ms | 64ms | 58.4GB
    4. 400 | 1.86e0 | 0.91e0 | 3.5e1 | 1.0e-4 | 42ms | 90ms | 65ms | 58.4GB

    If grad_norm suddenly jumps, the share of t_comm keeps rising, or peak_mem climbs monotonically, locate the problem before scaling up rather than masking it by adding cards.

    4. An Engineering Checklist for Going from “It Trains” to “Ready to Train Out of the Box”

    The original announcement mentions that several “domestic chips training domestic models” results have been completed and that trillion-parameter-scale training is being advanced. Turning a single-point adaptation into a reproducible capability usually requires filling in the following engineering modules:

    • Operators and graph optimization: Fill in hot operators, fuse them (normalization, activation, attention), and reorder the compute graph to reduce kernel launches and memory round trips.
    • Automatic parallel strategy selection: Search combinations of data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism, producing candidate plans based on memory, bandwidth, and topology.
    • Fault tolerance and checkpoint resume: Periodic asynchronous checkpoints, sharded saving, faulty node isolation, and automatic rescheduling, to avoid “one crash takes everything down” at the thousand-card level.
    • Observability: Centralized log collection, monitoring and alerting dashboards, and communication and memory profiling, compressing anomaly localization from hours to minutes.
    • Toolchain and images: Pin environment, driver, and communication library versions, and distribute datasets and weights through a container platform and object storage, so that “changing machines does not change behavior.”

    For cloud deployment, these can be combined with general-purpose capabilities: use a container platform to orchestrate training jobs, object storage to hold datasets and checkpoints, a message queue to decouple data preprocessing, and monitoring, alerting, and logging services for full-pipeline observability. On general compute and engineering capabilities of this kind, Baidu AI Cloud can serve as one optional environment for enterprises building a training foundation.

    5. Practical Recommendations for Developers

    1. Validate at small scale before scaling up: With the two-node, 16-card, 400-step pattern, first confirm numerical and communication health within 32 cards, then scale to a thousand cards.
    2. Standardize adaptation acceptance: Define four hard criteria: finite loss, no grad_norm jumps, throughput fluctuation below a threshold, and recoverable checkpoints.
    3. Distinguish the validation type: In external communication, make clear whether it is inference operator validation, training adaptation, or base pre-training, to avoid cognitive bias.
    4. Watch total cost of ownership: Compute is only one item; stability, failure rate, and toolchain maturity determine the real training cycle.

    A domestic full-function GPU completing training adaptation for a near-trillion-parameter model is essentially turning “unusable” into “usable, stable, and reproducible.” For developers, the real payoff is not a screenshot of one 400-step run, but the complete engineering system behind it, spanning operators, parallelism, communication, fault tolerance, and observability. That system determines whether domestic compute can move from “it trains” to “ready to train out of the box.”