A Domestic GPU Completes Adaptation for a Nearly 1-Trillion-Parameter Model: 16 Cards, 400 Stable Steps

    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 accelerators across two nodes for 400 consecutive optimizer updates without numerical overflow or interruption. It clarifies the difference between training adaptation and pretraining, breaks down the native FSDP2 training path, and discusses what the 400-step stability result signals about operator correctness, communication, and reproducibility. Developers will also find a practical checklist for evaluating any training adaptation.

    1. Background: A Training Adaptation, Not a Pretraining Reproduction

    A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference accelerator card and its in-house software stack, it quickly completed the training adaptation of a flagship model with nearly 3 trillion parameters. In an environment of two nodes with 16 accelerator cards in total, the workload completed 400 consecutive optimizer updates with no numerical overflow and no task interruption.

    One easily confused distinction must be made clear first: training adaptation is not the same as pretraining the model on that chip.

    • Training adaptation: The model architecture, operators, parallel strategy, and communication paths have been fully connected on the target hardware and software stack, giving the setup the engineering capability to “run, converge, and iterate stably.”
    • Pretraining: Generating base weights from scratch using massive raw corpora on a compute cluster, which involves a much longer chain of compute scale, duration, and data engineering.

    There is a similar reference in the industry: the technical report of an open-source model once validated inference operator paths for two different accelerator architectures side by side. That, however, was inference-side operator validation, and it did not publicly state the original compute source used for base-model pretraining. Therefore, the value of an adaptation effort should be judged by whether the pipeline is complete, whether the numerics are stable, and whether the engineering is reusable, rather than simply equating it with “a domestic chip trained a given model.”

    2. Technical Core: A Native FSDP2 Multimodal Training Path

    The key to this adaptation was building a native FSDP2 (Fully Sharded Data Parallel, second generation) training path that closed the loop from model loading and shard scheduling to gradient synchronization.

    1. Why FSDP2

    Traditional data parallelism (DDP) hits a memory wall with very large models: every card must hold the full parameters, gradients, and optimizer states. FSDP instead slices parameters, gradients, and optimizer states along the layer/module dimension and distributes them across ranks. Parameters are all-gathered on demand during the forward and backward passes and released immediately after computation, reducing per-card memory usage to a level decoupled from the global batch size. Compared with the previous generation, FSDP2 further simplifies sharded state management and makes combining mixed precision, tensor parallelism, and pipeline parallelism clearer.

    A simplified pseudocode sketch (expressing only the skeleton of the training loop, not a specific product API):

    1. for step, batch in enumerate(loader):
    2. with fsdp_module.no_sync() if step < accum_steps - 1 else nullcontext():
    3. loss = model(batch).loss
    4. loss.backward() # per-layer all-gather / reduce-scatter during backward
    5. if step % accum_steps == 0:
    6. clip_grad_norm_(model.parameters(), max_norm=1.0)
    7. optimizer.step() # update the local shard
    8. optimizer.zero_grad()
    9. verify_finite(loss, grad_norm) # numerical sentinel

    2. Four Stages of the Complete Pipeline

    • Model loading: Very large weights must be read in shards to avoid an OOM when a single process loads everything at once; this is usually paired with a sharded checkpoint format and metadata alignment.
    • Shard scheduling: Splitting along Transformer layer boundaries balances load and preserves communication locality, reducing unnecessary cross-node traffic.
    • Gradient synchronization: Gradients are aggregated with reduce-scatter during the backward pass and parameters are all-gathered during the forward pass; overlapping communication with computation is key to throughput.
    • Optimizer update: A distributed Adam-style optimizer updates only the local shard state, significantly reducing memory and bandwidth pressure.

    3. Stability Validation: What 400 Consecutive Steps Show

    In the experiment, 16 training processes ran jointly across two physical machines and all processes completed 400 consecutive optimizer updates. The loss and gradient norm stayed finite throughout, with no NaN/Inf and no abnormal exit. This result carries information in three areas:

    1. Numerical correctness of operators: The most common interruption in large-model training comes from individual operators overflowing under a high dynamic range. 400 consecutive steps without anomalies indicate that the core operators handle boundaries reliably under mixed precision.
    2. Communication and fault tolerance: In cross-node settings, problems with collective communication timeouts, retransmission, and topology awareness usually surface within dozens of steps. Stability over 400 steps means the communication and scheduling layers are working together healthily.
    3. Reproducibility: Stable iteration is a prerequisite for later hyperparameter search and data-mix experiments; otherwise no loss curve can be trusted.

    In engineering practice, it is advisable to add a numerical sentinel and automatic checkpoint resume:

    1. def verify_finite(loss, grad_norm):
    2. if not (math.isfinite(loss) and math.isfinite(grad_norm)):
    3. trigger_ckpt_and_alert(step=global_step) # save checkpoint + alert

    4. Engineering System: From Quick Inference Deployment to Full-Pipeline Stable Training

    A single successful run does not constitute a capability; a reusable engineering system is the real barrier. It typically includes:

    • Operator adaptation layer: Dual alignment of correctness and performance for hot operators such as attention, normalization, and positional encoding.
    • Multi-card coordination layer: Topology-aware parallel strategies, communication compression and overlap, and faulty-card isolation.
    • Automated toolchain: One-command launch of distributed jobs, automatic checkpoint sharding and recovery, and metrics collection and visualization.
    • Observability: Integration with common logging services and monitoring/alerting categories, with baseline alerts for loss, gradient norm, throughput, and memory usage.

    5. Industry Practice: Multiple Forms of Domestic Chips Training Domestic Models

    In larger-scale practice, domestic compute has produced several kinds of results: a base model of about 236 billion parameters trained from scratch; a 5D world model trained natively across the full stack; an embodied-brain model trained through the full pipeline; and trillion-parameter-scale training currently underway. Together, these cases show that adaptation capability is moving from “getting a single model to run” toward “multimodal, multitask, and transferable.”

    6. Takeaways for Developers: How to Evaluate a Training Adaptation

    • Pipeline completeness: Does it cover all four stages: loading, sharding, synchronization, and update?
    • Stability evidence: Number of consecutive steps, finiteness of loss/gradients, and checkpoint recovery success rate.
    • Transferability: Does switching model architectures or modalities require extensive rewriting?
    • Toolchain maturity: Are automation and observability capabilities in place?

    7. Outlook: From “Able to Train” to “Train Out of the Box”

    The next-stage goal for domestic full-function GPUs is to refine operator adaptation, multi-card coordination, and the automated toolchain into default capabilities, so that frontier large models can be trained out of the box on domestic hardware. For developers, this means lower migration costs, more predictable training stability, and a healthier domestic compute ecosystem.