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

    This article explains a recent training adaptation in which a domestic full-function GPU vendor ran a nearly 3-trillion-parameter flagship model for 400 consecutive optimizer updates on 16 GPUs across two nodes, with no numerical overflow or interruption. It clarifies that training adaptation is not base-model pre-training, breaks down the native FSDP2 training path and the six stages of a complete training pipeline, analyzes what the 400-step stability test proves, outlines the engineering stack required to move from "able to train" to "ready to train out of the box," and offers practical advice for developers.

    1. Background: A Training Adaptation, Not a Pre-Training Reproduction

    A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference compute 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 configuration of 16 GPUs across two nodes, the model completed 400 consecutive optimizer updates without any numerical overflow or abnormal interruption.

    One easily misread concept must be clarified first: training adaptation is not the same as completing base-model pre-training on the chip.

    • Training adaptation: The goal is to make the model’s complete training pipeline (loading, sharding, forward pass, backward pass, gradient synchronization, and optimizer updates) run correctly and stably on the target hardware and software stack. It validates the usability of the vertical path spanning “framework, operators, communication, and numerics.”
    • Base-model pre-training: This is the process of building model capabilities from scratch using trillion-token-scale corpora on the original compute cluster. It involves massive engineering efforts such as data mixture design, training duration, cluster scale, and fault-tolerant scheduling. The original compute source is usually not addressed in adaptation-style validation.

    Similar discussions in the industry support this distinction: some technical reports place different accelerator architectures side by side for inference operator validation, but this is a feasibility check of operators and parallel schemes, not an attribution of native training compute for the base model. Therefore, the correct interpretation of “completing training adaptation” is: the target hardware has demonstrated the engineering capability to run the full training pipeline of a frontier complex model, rather than reproducing the capabilities of an existing model.

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

    The key to this adaptation was building a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path. To understand its value, first look at the bottlenecks of traditional data parallelism.

    2.1 The Evolution from DDP to FSDP2

    Traditional data parallelism (DDP) keeps a full model replica on every GPU and only splits the data. When the parameter count reaches hundreds of billions or trillions, a single GPU’s memory cannot hold the complete parameters, gradients, and optimizer states, so sharding must be introduced.

    FSDP shards parameters, gradients, and optimizer states along the “layer/module” dimension and distributes them across ranks. During the forward and backward passes, it gathers parameters on demand with all-gather, releases them immediately after computation, and aggregates gradients with reduce-scatter. The main improvements of FSDP2 over earlier versions are:

    • It uses DTensor (distributed tensor) as a first-class citizen, making sharding semantics explicit and avoiding the state-management complexity of the earlier FlatParameter approach.
    • It provides clearer scheduling for overlapping sharding and computation, making communication and memory peaks easier to predict.
    • It offers more standardized composition semantics when combined with various parallelism dimensions (tensor parallelism, pipeline parallelism, expert parallelism).

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

    1. # Pseudocode: main loop of FSDP2-style sharded training
    2. model = fully_shard(model, mesh=device_mesh) # shard parameters according to the mesh
    3. opt = AdamW(model.parameters(), lr=1e-4)
    4. for step, batch in enumerate(loader):
    5. loss = model(batch) # forward: all-gather parameters on demand
    6. loss.backward() # backward: reduce-scatter to aggregate gradients
    7. torch.nn.utils.clip_grad_norm_(model.parameters(), 1.0)
    8. opt.step(); opt.zero_grad() # each rank updates its own shard locally
    9. log(step, loss, grad_norm) # record numerical health metrics

    2.2 What the “Complete Training Pipeline” Includes

    The original text emphasizes that the complete pipeline of “model loading, sharding scheduling, and gradient synchronization” was connected. Expanded, it includes at least six stages:

    1. Model loading and initialization: Loading weights for a very large model must support sharded reads and metadata parsing to avoid exhausting memory at a single point.
    2. Shard mapping and device mesh construction: Determining the rank layout for data parallelism, tensor parallelism, and pipeline parallelism.
    3. Forward computation and operator coverage: Operators such as attention, normalization, and multimodal fusion must have correct and high-performance implementations on the target hardware.
    4. Backward pass and gradient aggregation: Overlapping reduce-scatter / all-reduce communication with computation.
    5. Optimizer state sharding and updates: The momentum and variance states of Adam-like optimizers must also be sharded.
    6. Numerical and fault-tolerance monitoring: Loss, gradient norm, overflow detection, and recovery from abnormal interruptions.

    3. Stability Validation: What 400 Steps on 16 GPUs Across Two Nodes Shows

    The experiment used 16 GPUs across two nodes for cross-node joint training. All 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norm remaining finite throughout, with no overflow and no interruption. The information value of this result is concentrated in three points:

    • Cross-node communication is usable: Single-node multi-GPU setups only involve intra-node interconnects. Only a two-node setup truly tests the stability of the inter-node network (such as RDMA-class interconnects) and collective communication libraries in cross-node scenarios.
    • Numerical consistency is reliable: 400 consecutive steps with finite values indicate that loss scaling, gradient clipping, and normalization implementations under mixed precision have no cumulative numerical defects.
    • A foundation for long-duration stability is in place: Although 400 steps are far fewer than the hundreds of thousands of steps in pre-training, they are the “minimum credible unit” of long-duration stable training and the threshold from 0 to 1.

    In engineering practice, it is advisable to advance stability validation in layers:

    Level Scale Goal Key Metrics
    L1 single GPU 1 GPU Operator correctness Unit test pass rate, numerical error
    L2 single node 8 GPUs Intra-node collective communication Throughput, memory peak
    L3 two nodes 16 GPUs Cross-node communication and numerical stability Consecutive steps, finite loss/grad_norm
    L4 multi-node 32+ GPUs Scaling efficiency and fault tolerance Scaling ratio, fault recovery time

    4. Engineering System: From “Able to Train” to “Ready to Train Out of the Box”

    The original text mentions that the company has built a mature engineering system and deployed it in multiple projects that train domestic models on domestic chips: completing from-scratch training of a 236-billion-parameter scientific foundation model, supporting full-stack native training of a 5D world model, jointly completing the full-process training of an embodied brain model with research institutions, and currently advancing the training of a trillion-parameter-scale model. The abstracted engineering capability stack includes:

    1. Operator adaptation layer: Build an operator coverage checklist with priorities, use composite implementations as a fallback for missing operators, and provide numerical alignment tests.
    2. Parallel strategy layer: Automatically or semi-automatically search for parallel combinations tailored to the model structure, balancing memory and communication.
    3. Communication optimization layer: Gradient bucketing, computation-communication overlap, and topology-aware rank placement.
    4. Observability layer: Unified collection of metrics such as loss, gradient norm, throughput, memory, and temperature, integrated with monitoring, alerting, and logging services.
    5. Fault-tolerance layer: Periodic checkpoints, faulty-node isolation, automatic restart, and resume-from-checkpoint training.
    6. Toolchain layer: One-click environment setup, configuration templates, and benchmark suites, with the goal of “ready to train out of the box.”

    When deployed in the cloud, these capabilities are typically used together with general cloud product categories such as container platforms, object storage (for storing checkpoints and datasets), message queues (for task orchestration), logging services, and monitoring and alerting, forming a reusable training foundation.

    5. Practical Advice for Developers

    • Align numerics first, then discuss performance: Use a small-scale model to align loss curves, confirm there is no systematic bias, and then scale up.
    • Treat 400 steps as a regression test: Re-run the short-duration stability case after every software stack upgrade to prevent regressions.
    • Monitoring before tuning: Without grad_norm and memory curves, any performance optimization is blind tuning.
    • Match the parallel strategy to the model structure: The optimal sharding approach differs significantly between dense models and mixture-of-experts models.
    • Design the checkpoint strategy upfront: The checkpoint write time of trillion-parameter models is often underestimated and must be planned together with object storage bandwidth.

    6. Conclusion

    A stable training adaptation of 400 steps on 16 GPUs across two nodes marks the completion of a key link in the full training pipeline of frontier large models on domestic full-function GPUs. It is not a reproduction of base-model pre-training, but it is a necessary step from “able to train” toward “ready to train out of the box.” As operator coverage, multi-GPU coordination, and automated toolchains continue to improve, the engineering certainty of domestic compute for trillion-parameter-scale training will steadily increase.