A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: 16 Cards Across Two Nodes Run 400 Steps Stably

    This article explains a recent training adaptation in which a domestic full-function GPU vendor ran a nearly 3-trillion-parameter flagship model on 16 accelerator cards across two nodes, completing 400 consecutive optimizer updates with stable loss and gradient norms. It clarifies the difference between training adaptation and pretraining, breaks down the native FSDP2 training path, cross-node communication topology, and numerical stability measures, and outlines what teams should verify before training on domestic accelerators.

    1. Background: A Training Adaptation, Not a New Pretraining Run

    A domestic full-function 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 a flagship large model with nearly 3 trillion parameters. The test environment consisted of 16 accelerator cards across two nodes. All training processes completed 400 consecutive optimizer updates, with the loss and gradient norms remaining finite throughout, and no numerical overflow or abnormal task interruption occurred.

    One common misunderstanding must be cleared up first: training adaptation is not the same as pretraining the model on this chip.

    • Training adaptation: The model structure, operators, parallelism strategy, communication primitives, and numerical precision path are fully connected on the target hardware, so the model can be loaded, run forward and backward passes, update parameters, and converge stably.
    • Pretraining: Starting from random initialization, building base-model capabilities on the target hardware with massive corpora. This involves compute scale, data engineering, and training duration, and is work on a completely different scale.

    There are similar cases in the industry: the technical report of a foundation model listed two different accelerator architectures side by side as validation routes, where the validation focused on the correctness of inference operators for fine-grained expert parallelism, while the original compute source for base-model pretraining was not publicly stated. Therefore, the value of an adaptation effort should be judged by whether the pipeline is fully connected and whether stability is reproducible, rather than directly inferring that domestic cards can already replace the compute needed for trillion-parameter pretraining.

    2. Technical Breakdown: What the Native FSDP2 Training Path Connects

    The adaptation built a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path covering three key areas.

    2.1 Model Loading and Shard Scheduling

    The core idea of FSDP2 is to shard parameters, gradients, and optimizer states within the data-parallel group, all-gather parameters on demand during forward and backward passes, and release them immediately after computation to reduce peak per-card memory usage. The engineering essentials include:

    • Sharding granularity: Wrap shard groups at the Transformer Block level or finer to balance communication count and memory usage.
    • Computation-communication overlap: Overlap parameter all-gather and backward reduce-scatter with the compute stream to hide communication latency.
    • Memory budget management: Reserve space for activations, temporary buffers, and communication buckets to avoid fragmentation-induced OOM.

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

    1. for block in model.blocks:
    2. fsdp_wrap(block, shard_mode="full", overlap_comm=True)
    3. for step in range(total_steps):
    4. loss = model(batch) # Forward: all-gather parameters on demand
    5. loss.backward() # Backward: reduce-scatter gradients
    6. optimizer.step() # Sharded update, then all-gather latest parameters
    7. optimizer.zero_grad()

    2.2 Cross-Node Joint Training and Communication Topology

    Sixteen cards across two nodes is a typical cross-node scenario, where the bottleneck is usually interconnect rather than compute. The following need attention:

    • Parallelism combination: Hybrid partitioning of data parallelism + tensor parallelism + pipeline parallelism + expert parallelism must align with the topology to avoid frequent small-message communication across nodes.
    • Communication primitive coverage: Collective operations such as all-reduce, all-gather, reduce-scatter, and broadcast need stable implementations on the target software stack.
    • Topology-aware scheduling: Keep communication-intensive parallel dimensions within the high-bandwidth domain inside a node, leaving only low-frequency, large-block communication to cross nodes.

    2.3 Numerical Stability: What 400 Consecutive Steps Show

    The report emphasizes that “loss and gradient norms remained finite throughout, with no overflow and no interruption.” In engineering terms, this corresponds to four safeguards:

    1. Mixed-precision strategy: Low precision for forward and backward passes, high precision for the master copy of parameters and optimizer states, with loss scaling to prevent gradient underflow.
    2. Gradient clipping: Clip by global norm to suppress gradient explosions caused by abnormal samples or long-tail data.
    3. Operator numerical consistency: The accumulation order and precision of sensitive operators such as normalization, attention, and loss functions must align with the reference implementation.
    4. Fault tolerance and checkpoints: 400 consecutive steps without interruption also shows that the data loading, checkpointing, logging, and monitoring pipeline is stable.

    3. Why “400 Consecutive Steps” Is a Meaningful Engineering Metric

    A single successful forward pass only proves that it “can run”; stable updates over many consecutive steps prove that it “can train.” The value lies in:

    • Covering optimizer state evolution: States such as momentum and second moments accumulate over consecutive updates, and problems that do not surface early will appear after dozens of steps.
    • Exposing memory leaks and fragmentation: If shard loading and release leave residual references, OOM will be triggered after multiple steps.
    • Validating communication stability: Collective communication is prone to timeouts, deadlocks, or buffer-reuse errors only under long-running conditions.
    • Forming a reproducible baseline: The 400-step loss curve and gradient norms can serve as a reference baseline for subsequent tuning.

    Teams are advised to make stability validation a pipeline: small-scale smoke test → single-node convergence comparison → cross-node long-stability test → checkpoint resume and fault-injection drills, keeping curves and logs at every step.

    4. The Path from “Can Train” to “Ready to Train Out of the Box”

    Based on publicly reported practices of running domestic models on domestic chips (such as training small and medium science foundation models from scratch, full-stack native training of world models, end-to-end training of embodied brain models, and joint advancement of trillion-parameter models), four main lines can be summarized:

    1. Operator layer: Establish dual baselines for operator correctness and performance, covering operators shared by training and inference to reduce repeated adaptation.
    2. Parallelism layer: Accumulate parallelism strategy templates and automatically recommend partitioning schemes based on model structure to reduce manual tuning costs.
    3. Toolchain layer: Provide automated precision alignment, performance profiling, logging, and monitoring and alerting capabilities, with the ability to integrate with general container platforms, object storage, and logging services for environment delivery and data archiving.
    4. Ecosystem layer: Use open-source models as a common language to form a regression test suite with three-way collaboration among model, framework, and hardware.

    For adopters planning to train on domestic accelerator cards, it is worth confirming first: whether the target model structure is fully supported, whether the parallelism dimensions match the node topology, whether the numerical precision path can align with the reference implementation, and whether long-stability and checkpoint resume have been validated. Asking these questions clearly matters more to project success than simply comparing peak compute.

    5. Conclusion

    The significance of this adaptation is not that “a certain model was pretrained on a certain card,” but that the training-pipeline completeness of domestic full-function GPUs has advanced another step: from inference deployment to full-pipeline stable training, and from a one-off run to a reproducible engineering system. As operators, parallelism, and toolchains continue to mature, “ready to train out of the box” for frontier large models on domestic hardware is becoming an achievable goal.