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 multimodal model on 16 accelerators across two nodes for 400 consecutive optimizer updates. It clarifies the difference between training adaptation and pretraining, breaks down the native FSDP2 training path and its memory benefits, outlines the numerical stability checks that matter at scale, and offers practical steps for developers reproducing similar adaptation work on domestic accelerators.

    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 large model with a parameter scale of nearly 3 trillion. The test used 16 accelerator cards across two nodes for cross-node joint training. All 16 training processes completed 400 consecutive optimizer updates, with the loss and gradient norm remaining finite throughout, and no numerical overflow or abnormal interruption occurred.

    One common misunderstanding must be cleared up first: a successful training adaptation does not mean the model has been pretrained on this hardware.

    The three common meanings of “adaptation” in the industry are entirely different:

    Type Meaning Verification Strength
    Day 0 inference adaptation Inference runs on the model’s release day Lowest; single card or small parallelism is enough
    Training pipeline adaptation Loading, sharding, forward/backward, and gradient synchronization all work Medium; requires multi-card, multi-node
    Base model pretraining Training from scratch on trillion-scale data Highest; requires tens of thousands of cards and months

    In the technical report of a DeepSeek model, both a domestic NPU and an NVIDIA GPU were verified side by side. The industry consensus is that this was a verification at the inference operator level, and the original compute source for its base model pretraining was never officially disclosed. This shows that there is an essential gap between “side-by-side verification” and “native training.” The value of this adaptation is precisely that it moves the verification strength from “inference operators” to “full-pipeline training.”

    2. Technical Core: A Native FSDP2 Multimodal Training Path

    The key point disclosed by the vendor is a native FSDP2 training path that connects the full chain from model loading and shard scheduling to gradient synchronization. Why does this matter?

    1. The shift from data parallelism to full sharding

    Traditional data parallelism (DDP) requires every card to hold a full model replica. Memory usage stays constant as the card count grows, so it cannot support trillion-parameter models. The core idea of FSDP2 is triple sharding of parameters, gradients, and optimizer states:

    1. # Illustrative pseudocode: skeleton of an FSDP2 training loop
    2. for step, batch in enumerate(loader):
    3. # Forward: all-gather sharded parameters on demand, release after use
    4. loss = model(batch).loss
    5. # Backward: reduce-scatter to synchronize gradients; each card keeps only its own shard
    6. loss.backward()
    7. # The optimizer updates only the local shard, avoiding full-state residency
    8. optimizer.step()
    9. optimizer.zero_grad()

    Its memory complexity drops from O(model size) to roughly O(model size / N), where N is the number of parallel cards. This is the engineering prerequisite that allows 16 cards to support training of a nearly trillion-parameter model.

    2. The added complexity of multimodality

    Compared with pure text, multimodal training adds three kinds of non-uniform load: high-resolution activations from the vision encoder, variable-length sequences for image-text alignment, and gradient scale differences across modalities. Engineering practice usually requires:

    • Selective recomputation: keep activations for the vision tower to save compute, and recompute the language tower to save memory;
    • Gradient clipping and loss scaling: suppress gradient norm spikes in multimodal training;
    • Bucketing and sequence packing: reduce compute bubbles caused by variable-length inputs.

    3. Stability Verification: Why 400 Steps Is the Key Threshold

    The focus of 400 consecutive optimizer updates is not “getting it to run” but numerical stability. The three most common failure modes in large-scale training are:

    1. Numerical overflow: activations or gradients exceed the representable range under bf16/fp16, and the loss becomes NaN;
    2. Gradient norm explosion: the gradient scale of a modality gets out of control, and one step throws the parameters off;
    3. Silent interruption: a node times out on communication or memory fragmentation accumulates, and the process hangs without any error.

    Therefore, judging whether a training adaptation is trustworthy should at least observe the following metrics:

    • whether the loss curve decreases smoothly without jumps;
    • whether the global gradient norm stays in a stable range without order-of-magnitude shifts;
    • whether throughput across ranks is balanced, with no straggler node;
    • whether memory usage stays flat, with no slow, leak-like growth.

    A practical monitoring example:

    1. # Minimal monitoring set for training stability
    2. metrics = {
    3. "loss": float(loss.detach()),
    4. "grad_norm": float(clip_grad_norm_(model.parameters(), 1.0)),
    5. "mem_alloc_gb": torch.cuda.max_memory_allocated() / 1e9,
    6. "step_time_ms": elapsed_ms,
    7. }
    8. logger.log(metrics, step=step)
    9. if not math.isfinite(metrics["loss"]):
    10. raise RuntimeError("non-finite loss, abort")

    4. The Engineering System Behind Training Domestic Models on Domestic Chips

    The vendor says it has delivered several results: a complete from-scratch training of a 236-billion-parameter scientific foundation model, full-stack native training support for the world’s first 5D world model, and full-pipeline training of an embodied brain model completed together with research institutions, while it is advancing trillion-parameter training.

    Abstractly, this capability can be summarized in four layers:

    • Operator layer: correctness and performance tuning of high-frequency operators such as attention, normalization, and parallel communication;
    • Parallelism layer: strategy search combining tensor parallelism, pipeline parallelism, expert parallelism, and FSDP;
    • Fault-tolerance layer: checkpoint resume, periodic checkpoints, and automatic isolation of faulty nodes;
    • Tooling layer: automated benchmarking, accuracy-alignment regression, and performance-profiling dashboards.

    5. Practical Advice for Developers

    To reproduce a similar training adaptation on domestic accelerator cards, proceed in this order:

    1. Align accuracy first: compare loss curves against a reference implementation on a small model to confirm numerical correctness of operators;
    2. Then stress parallelism: scale from a single node to two nodes, gradually introducing cross-node communication to locate bandwidth bottlenecks;
    3. Then pull stability: run for hundreds of consecutive steps and watch the gradient norm and memory curves;
    4. Only then discuss scale: expand card count and model size after stability targets are met.

    If you use cloud resources, you can combine a container platform to schedule training jobs, object storage to hold checkpoints, a logging service to collect metrics, and monitoring alerts to catch abnormal nodes, forming a closed loop.

    6. Conclusion: From “Able to Train” to “Ready to Train Out of the Box”

    A stable 400-step run is an important signal of the usability of domestic full-function GPUs in training scenarios, but there is still a distance from “ready to train out of the box”: operator coverage, automation of parallelism strategies, long-run fault tolerance, and ecosystem tooling maturity are all indispensable. For developers, viewing adaptation results rationally and establishing quantifiable acceptance criteria is the right way to put domestic compute to real use.