A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter LLM: 400 Stable Steps on 16 Cards 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 on 16 cards across two nodes for 400 consecutive optimizer updates without numerical overflow or interruption. It clarifies that training adaptation is not pretraining, walks through the native FSDP2 training path, interprets what the 400-step stability test does and does not prove, and outlines the engineering work and developer checklist needed to move from "it runs" to "ready to train out of the box."

    1. Background: A Training Adaptation, Not a Pretraining 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 completed the training adaptation of a flagship model with nearly 3 trillion parameters. Under a configuration of two nodes with 16 cards in total, the setup completed 400 consecutive optimizer updates with no numerical overflow and no abnormal interruption.

    One easily confused distinction must be made clear first: training adaptation is not pretraining the model on that chip. Adaptation means the model structure, operators, parallel strategy, and training pipeline can run correctly and stably on the hardware and software stack. Pretraining means the entire process of converging the base weights from scratch on massive corpora. The former is a question of “runnability”; the latter is a question of “compute source and data engineering.” A common practice in the industry is to validate multiple accelerator-card routes side by side in a model technical report, for the feasibility of inference operators or fine-grained expert parallelism. This does not amount to an official statement about where the original compute for base pretraining came from.

    For developers, the practical significance is that adaptation is the first gate to the usability of domestic compute. Only after it runs can you talk about migration cost, training efficiency, and long-term stability.

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

    The key phrase for this adaptation is the “native FSDP2 multimodal training path.” FSDP (Fully Sharded Data Parallel) shards model parameters, gradients, and optimizer states along the data-parallel dimension, so each card holds only part of the full state and shards are aggregated on demand during the forward and backward passes. This reduces per-card memory pressure from “the full model” to “a shard plus temporary aggregation.”

    “Native” emphasizes that no bolt-on patches are required; sharding, scheduling, and communication hold naturally at the framework level. The complete path typically has three stages:

    1. Model loading and sharding: split the oversized model into manageable shard units by layer, and establish a one-to-one mapping between shards and devices.
    2. Scheduling and forward/backward computation: aggregate the required shards in dependency order during the forward pass, re-aggregate them during the backward pass to compute gradients, and release them immediately to control peak memory.
    3. Gradient synchronization and optimizer update: after sharded gradients are reduced through collective communication, each card updates the state slice it owns, keeping parameters consistent.

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

    1. # Pseudocode: an FSDP2-style sharded training loop
    2. model = shard_model(raw_model, mesh=device_mesh) # establish the shard mapping
    3. opt = build_optimizer(model) # optimizer state is sharded too
    4. for step, batch in enumerate(dataloader):
    5. loss = model(batch) # forward: aggregate shards on demand
    6. loss.backward() # backward: re-aggregate + sharded gradients
    7. opt.step() # each card updates its local state slice
    8. opt.zero_grad()
    9. log(step, loss, grad_norm, peak_mem) # key: observable throughout

    3. Stability Validation: What 400 Consecutive Updates Show

    In the experiment, 16 training processes across two nodes trained jointly and completed 400 consecutive optimizer updates. The loss values and gradient norms stayed finite throughout, with no numerical overflow and no abnormal interruption. The information in this result concentrates on three points:

    • Communication correctness: cross-node collective communication produced no silent errors or hangs over long runs.
    • Numerical stability: mixed-precision training showed no loss blow-up, gradient explosion, or propagation of illegal values.
    • Pipeline completeness: the closed loop from loading, sharding, and scheduling to synchronization had no breaks, which is a prerequisite for further scaling.

    For the record, 400 steps is on the scale of a smoke and stability test. It shows the pipeline is usable; it is not a final conclusion about convergence quality or large-scale scaling efficiency. Assessing real training capability also requires observing loss curves over more steps, throughput and scaling efficiency, and fault-recovery time.

    A minimal monitoring dashboard:

    Metric What to watch Warning sign
    loss finite, smoothly decreasing inf/NaN or a step change
    grad_norm change before and after clipping keeps spiking or drops to zero
    peak memory shard plus aggregation combined approaching the limit and triggering fragmentation
    per-step time compute vs. communication share communication share too high
    process liveness consistency across 16 processes a dropped or hung card

    4. Engineering: From “It Trains” to “Ready to Train Out of the Box”

    Getting a single run working is only the start. Training at scale needs a mature engineering system, typically including:

    1. Operator adaptation and precision alignment: compare outputs against a reference implementation layer by layer, locate error sources, and set layered acceptance criteria.
    2. Parallel strategy combinations: choose among data, tensor, pipeline, and expert parallelism under memory and bandwidth constraints, rather than piling on parallelism blindly.
    3. Automated toolchain: integrate environment setup, job orchestration, logging, and monitoring/alerting to reduce manual intervention.
    4. Fault tolerance and checkpoint resume: save sharded checkpoints periodically and reschedule automatically after a node failure to shorten the recovery window.
    5. Observability: bring loss, gradient norm, throughput, and memory into one dashboard, and block automatically on anomalies instead of continuing silently.

    A practical path follows the idea of “domestic chips training domestic models”: first complete from-scratch training on small and medium models to validate convergence and the toolchain, then support full-stack native training for new model structures such as multimodal and embodied intelligence, and finally work with ecosystem partners on collaborative training of trillion-parameter models.

    5. Action Checklist for Developers

    • Do layered numerical alignment first, then performance tuning.
    • Use a short-step stability test as the entry gate for every environment change.
    • Select parallel strategies under the dual constraints of peak memory and communication share.
    • Build checkpointing and automatic recovery, and treat failures as the norm.
    • Focus on operator coverage and toolchain maturity, not a single peak-compute metric.

    Overall, a domestic full-function GPU completing the training adaptation of a nearly trillion-parameter model marks a further step in the usability of domestic compute for full-pipeline training of complex large models. As operator adaptation, multi-card coordination, and automated toolchains keep improving, frontier large models on domestic hardware are moving steadily from “it trains” to “ready to train out of the box.”