A Domestic GPU Completes Training Adaptation for a Nearly 3-Trillion-Parameter Model

    This article explains what a domestic GPU vendor's training adaptation of a nearly 3-trillion-parameter flagship model actually means, and why it is not the same as base pre-training. It walks through the native FSDP2 training path, including model loading and sharding, shard scheduling, gradient synchronization, numerical consistency, and the added complexity of multimodal branches. It also covers a 400-step stability test on 16 GPUs across two nodes, a practical checklist for similar adaptation work, and the engineering significance of moving from inference deployment to full-chain stable training.

    1. Background: A Training Adaptation, Not Pre-Training from Scratch

    A domestic GPU vendor recently announced that, using its flagship AI training-and-inference accelerator card and its self-developed software stack, it quickly completed the training adaptation of a flagship large model with nearly 3 trillion parameters. Under a two-node, 16-GPU configuration, the team also completed a stability test of 400 consecutive optimizer updates.

    The announcement quickly shifted the discussion from “can it run?” to “what does this actually mean?” One frequently confused point needs to be cleared up first: training adaptation is not the same as base pre-training.

    • Training adaptation: Given existing model weights and training scripts, make the model’s computation graph, operators, parallelism strategy, and communication primitives run correctly and efficiently on new hardware and a new software stack, then verify numerical correctness and long-run stability.
    • Base pre-training: Starting from random initialization, consuming massive amounts of data and compute to actually train the model. The compute sources, data mixtures, and training recipes are usually core assets and are rarely disclosed in full.

    There are similar precedents in the industry: the technical reports of some large models present validation results on multiple accelerator cards, but that only demonstrates the portability of inference-side operators and parallelism schemes; it does not reveal the compute sources used for base training. The accurate description of this event is therefore: the domestic compute stack has the engineering capability to support full-chain training of frontier ultra-large-parameter models, not that “the model was pre-trained on domestic cards”.

    2. Technical Core: What the Native FSDP2 Training Path Delivers

    According to the technical report, the adaptation built a native FSDP2 (Fully Sharded Data Parallel, version 2) multimodal training path, connecting the full chain from model loading and shard scheduling to gradient synchronization. This chain has four key stages.

    2.1 Model Loading and Sharding

    A model with nearly 3 trillion parameters cannot fit entirely in a single GPU’s memory. The loading stage must:

    • Shard parameters across ranks according to FSDP2 sharding semantics, so each rank holds only one shard of the parameters;
    • All-gather the current layer’s parameters on demand before computation, and release them immediately afterward to control peak memory;
    • Shard optimizer states (first- and second-order moments) as well, avoiding redundant per-GPU copies.

    Illustrative pseudocode:

    1. for layer in model.layers:
    2. # Gather parameter shards on demand during forward/backward
    3. with fsdp2.shard(layer):
    4. out = layer(x)
    5. # Release immediately after computation to reduce peak memory
    6. layer.release()

    2.2 Shard Scheduling and the Memory-Communication Trade-off

    The key improvement of FSDP2 over the previous generation is clearer shard-and-gather semantics and more controllable communication scheduling. Engineering work must balance three factors:

    • Gather granularity: Too fine-grained causes a sharp increase in communication calls; too coarse raises peak memory;
    • Compute-communication overlap: Overlap all-gather with backward computation to hide communication latency;
    • Recomputation strategy: Selectively recompute activations, trading compute for memory.

    2.3 Gradient Synchronization and Numerical Consistency

    After the backward pass, ranks use reduce-scatter to sum gradients and re-shard them, then each rank updates parameters with its local shard. This stage most easily exposes numerical problems:

    • Under mixed precision, maintain FP32 master weights to avoid long-run accumulation error;
    • The norm computation for gradient clipping must be globally consistent; otherwise different clipping coefficients across GPUs break consistency;
    • Monitor loss and gradient norms throughout, and be able to quickly localize NaN/Inf to a specific layer.

    2.4 Added Complexity of Multimodal Branches

    Compared with text-only training, multimodal training adds vision/audio encoders and cross-modal alignment modules, making the parameter distribution more uneven. Sharding strategies need to be customized for heterogeneous structures; otherwise individual ranks can run out of memory.

    3. Stability Validation: What 400 Consecutive Steps Show

    In the experiment, 16 training processes completed 400 consecutive optimizer updates in a two-node environment, with loss and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption. The value of this result lies in:

    1. Cross-node communication correctness: Two nodes mean data must cross the physical network for all-gather/reduce-scatter. Running continuously shows that collective communication and topology discovery have no fatal defects;
    2. A trustworthy numerical stack: Operator implementations, mixed-precision strategy, normalization layers, and attention implementations together determine numerical stability. 400 steps without anomalies is a necessary but not sufficient condition;
    3. Long-run observability: Finite loss and gradient norms throughout show that the monitoring pipeline itself is working, which is a prerequisite for longer training runs.

    It should be stated objectively that 400 steps is smoke-level stability validation, still orders of magnitude away from a complete pre-training run at the hundreds-of-billions-of-tokens scale, but it is indeed the key threshold for moving “from running to training”.

    4. A Practical Checklist for Developers

    To complete similar adaptation on a domestic compute stack, proceed in this order:

    • Inference first, then training: Use inference to verify operator coverage before entering the training path;
    • Small-scale alignment: Use single-GPU/single-node small models and a reference implementation for layer-by-layer numerical alignment (cosine similarity, maximum absolute error);
    • Progressive parallelism: Data parallelism → tensor parallelism → pipeline parallelism → FSDP2 sharding, increasing pressure step by step;
    • Stability monitoring: Set up monitoring and alerts for loss/gradient norm/memory/communication time, and automatically persist the scene on anomalies;
    • Fault self-healing: Enable checkpoint resume and process-level fault tolerance to avoid full rollback of long jobs due to a single point of failure.

    5. Conclusion

    The deeper significance of this adaptation is not that a particular model “runs”, but that the domestic compute stack has formed an engineering closed loop of “rapid inference deployment → full-chain stable training”. For developers, rationally understanding the boundary between adaptation and pre-training, and mastering the methodology of FSDP2 sharded training and stability validation, is the real benefit of this progress.