A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter LLM: 16 Cards Across 2 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, outlines the methodology behind the 400-step stability test, and offers practical guidance for developers evaluating domestic compute.

    1. Background: A Training Adaptation, Not Base Model Pretraining

    A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference accelerator card and its self-developed software stack, it completed the training adaptation of a flagship large model with nearly 3 trillion parameters. The experiment 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: training adaptation does not mean the model completed base pretraining on this hardware.

    • Training adaptation: verifying that the model structure, operators, parallel strategy, and communication links can correctly and stably run the forward and backward passes on the target hardware and support optimizer iterations.
    • Base pretraining: learning parameters from scratch at a scale of trillions of tokens, involving data engineering, compute scale, training duration, and cost—work on an entirely different order of magnitude.

    A common industry practice is “inference operator validation first”: first ensure that the inference path has complete operators and meets accuracy targets, then gradually fill in backward operators and parallel communication capabilities. Therefore, when reading a technical report that lists multiple hardware routes validated in parallel, it should be understood as capability validation and ecosystem adaptation, rather than assuming the source of the original pretraining compute. The takeaway for developers is to separate three levels when evaluating domestic compute: “can run one step,” “can run a thousand steps stably,” and “can support full pretraining.”

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

    The adaptation builds a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path, connecting the full chain from model loading and shard scheduling to gradient synchronization. Its value can be broken down into four points:

    1. Finer-grained memory sharding: parameters, gradients, and optimizer states are partitioned by shard group, significantly reducing per-card memory pressure and making a nearly trillion-parameter model trainable across multiple cards.
    2. Communication and computation overlap: shard scheduling combined with forward/backward computation reduces communication bubbles and improves multi-card utilization.
    3. Multimodal structure compatibility: multimodal models typically contain a vision encoder, projection layers, and a language backbone, with large differences in parameter scale and operator types; the native path must correctly register and schedule them under a unified parallel framework.
    4. A closed, observable loop: model loading, sharding, forward pass, backward pass, gradient synchronization, and optimizer updates form a closed loop, making it easier to pinpoint whether an issue lies in operators, communication, or numerics.

    Illustrative pseudocode (only expressing the general structure of an FSDP2-style training loop, not a specific product interface):

    1. # Pseudocode: general structure of an FSDP2-style training loop
    2. for step, batch in enumerate(dataloader):
    3. with no_sync() if step % grad_accum == 0 else nullcontext():
    4. loss = model(batch) # forward pass, including multimodal branches
    5. loss.backward() # backward pass, triggering sharded gradient reduction
    6. if step % grad_accum == 0:
    7. clip_grad_norm_(model, max_norm) # gradient clipping to suppress abnormal norms
    8. optimizer.step() # sharded optimizer update
    9. optimizer.zero_grad()
    10. log(step, loss, grad_norm) # log loss and gradient norm

    3. Validation Methodology: What 400 Consecutive Updates Show

    Two nodes, 16 cards, 16 training processes, and 400 consecutive optimizer updates—the intent of this test design is to validate long-range stability rather than single-step correctness:

    • Numerical finiteness: the loss and gradient norm remained finite throughout, indicating no NaN/Inf appeared and that loss scaling and overflow handling under mixed precision worked correctly.
    • Cross-node communication reliability: two nodes mean cross-node bandwidth and topology become the bottleneck; 400 uninterrupted steps show that collective communication (such as all-reduce and broadcast) is stable.
    • Optimizer consistency: a sharded optimizer must keep parameters synchronized across replicas; no drift over consecutive updates is key to correctness.
    • A reproducible observation surface: logging per-step loss and gradient norm makes it possible to distinguish three typical problems: divergence, spikes, and plateaus.

    A minimal monitoring checklist recommended in practice:

    Metric Anomaly Signal Common Root Cause
    loss NaN/Inf or continuous increase learning rate too high, mixed-precision overflow
    gradient norm spikes or continuous growth abnormal data, missing clipping
    per-card memory fluctuating near the limit insufficient sharding strategy or activation recomputation
    communication time share continuously rising topology mismatch, shard granularity too coarse

    4. From “Trainable” to “Ready to Train Out of the Box”: Three Layers of Engineering Capability

    The vendor disclosed several landed results of “domestic chips training domestic models,” including full from-scratch training of a 236-billion-parameter scientific foundation model, full-stack native training of a 5D world model, and end-to-end training of an embodied brain model, and it is advancing trillion-parameter-scale training. Abstracting its engineering system yields three layers:

    1. Operator layer: correctness and accuracy alignment covering forward, backward, and multimodal operators, with operator-level regression tests.
    2. Parallel and coordination layer: combinations of data parallelism, tensor parallelism, pipeline parallelism, and FSDP sharding, together with topology-aware communication optimization.
    3. Automated toolchain layer: one-click launch of distributed jobs, automatic shard configuration, log and metric collection, fault self-healing, and checkpoint resume.

    For users, “ready to train out of the box” means that, given a model definition and data, the toolchain can automatically handle parallel partitioning, memory estimation, batch size and learning rate suggestions, monitoring dashboards, and anomaly alerts, compressing the adaptation cycle from weeks to days.

    5. Practical Recommendations for Developers

    • Layered acceptance: first align the single-card forward pass, then align a multi-card single step, and finally verify thousand-step stability, avoiding one-shot full validation that makes diagnosis difficult.
    • Precision strategy: prefer industry-standard mixed precision and loss scaling, keeping higher precision for sensitive layers.
    • Observability first: turn loss, gradient norm, memory, and communication time into a standard dashboard, connected to common logging services and monitoring/alerting capabilities.
    • Checkpoint resume: save sharded checkpoints at fixed intervals and verify loss continuity after recovery—a necessary safeguard for long training runs.
    • Ecosystem perspective: training adaptation is a signal of ecosystem maturity; selection should weigh operator coverage, parallel capability, toolchain completeness, and community support rather than a single benchmark.

    6. Conclusion

    This training adaptation of a nearly trillion-parameter model and the stable 400-step run on 16 cards across two nodes mark a key step for domestic full-function GPUs in “full-chain stable training.” For developers, the real benefit is not a single successful run, but the complete capability spanning operator adaptation, multi-card coordination, and automated toolchains—capability that is pushing frontier large model training from “trainable” toward “ready to train out of the box.”