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

    This article explains what a recent training adaptation of a nearly 3-trillion-parameter multimodal model on a domestic full-function GPU actually proves, and what it does not. It clarifies the difference between inference adaptation, training adaptation, and pre-training from scratch; walks through the native FSDP2 training path, why sharding is required at this scale, and the extra complexity introduced by multimodal modules; and details what a 400-step run across 16 cards on two nodes verifies in terms of numerical and communication health. It closes with three capability layers needed for out-of-the-box training and practical acceptance criteria developers can reuse when evaluating hardware.

    1. What Happened: A Training Adaptation, Not a Re-Pre-Training

    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 nearly 3 trillion parameters. The test environment used 16 accelerator cards across two nodes. All 16 training processes completed 400 consecutive optimizer updates, with the loss and gradient norm staying finite throughout, and no numerical overflow or abnormal interruption.

    One common misunderstanding must be cleared up first: a successful training adaptation does not mean the model completed its original pre-training on this chip.

    The industry uses three different meanings of “adaptation,” and they are not equivalent:

    Type Meaning Verification Strength
    Day 0 inference adaptation Weights can be loaded and served on release day Low; only verifies operator coverage
    Training adaptation (this case) The model architecture can complete forward, backward, and optimizer updates on the hardware Medium; verifies the full pipeline runs
    Pre-training from scratch Starting from zero, trillions of tokens, convergence at thousand-card scale High; requires long-term stability and convergence curves

    A relevant industry example: a technical report in the DeepSeek style validated two routes side by side, a domestic NPU and an NVIDIA GPU, and verified a fine-grained expert parallelism scheme. The industry generally regards that as validation at the inference operator level, and the original compute source for pre-training the base model was never officially disclosed. This shows that “appearing side by side” and “carrying the pre-training” are two different things.

    The practical takeaway for developers: when you see “adaptation completed,” ask three questions — how many steps ran? Did it cross nodes? Were the loss and gradient norm finite throughout? Only clear answers to these three points give the result engineering value.

    2. Technical Core: A Native FSDP2 Multimodal Training Path

    The key to this adaptation was building a native FSDP2 (second-generation Fully Sharded Data Parallel) multimodal training path that connected the full chain from model loading and shard scheduling to gradient synchronization.

    2.1 Why FSDP2 Instead of Traditional Data Parallelism

    For a nearly trillion-parameter model, the parameters, optimizer states (first and second moments), and gradients together can reach several times the size of the parameters themselves, which a single card cannot hold. Traditional data parallelism requires every card to hold a full model replica, which is simply infeasible at this scale. The core idea of FSDP is parameter sharding: each card keeps only part of the parameters resident, all-gathers them on demand during the forward pass, and releases them after the backward pass; optimizer states are sharded the same way.

    Key improvements of FSDP2 over the first generation typically include: DTensor as the sharding abstraction, which makes semantics clearer; more controllable overlap scheduling between sharding and computation; and easier checkpoint saving and migration. An illustrative configuration (pseudocode, semantics only):

    1. from torch.distributed.fsdp import fully_shard # illustrative semantics
    2. for layer in model.layers: # shard layer by layer to lower peak memory
    3. fully_shard(layer)
    4. fully_shard(model) # shard the root module once more
    5. for step in range(total_steps):
    6. out = model(batch) # forward: gather parameters on demand
    7. loss = criterion(out, target)
    8. loss.backward() # backward: sharded gradients
    9. opt.step(); opt.zero_grad() # optimizer states are sharded too

    2.2 The Extra Complexity Multimodal Training Brings

    Compared with pure text, multimodal training adds a vision encoder, projection layers, and modality alignment losses, and the parameter distribution is highly uneven: the vision tower may take the bulk, while the projection layers are extremely sensitive. In engineering practice this usually requires:

    • Applying differentiated sharding granularity to different submodules, so small modules are not over-split and communication does not dominate;
    • Using fixed-resolution bucketing for the vision branch to reduce padding waste;
    • Keeping the modality sampling ratio controllable, so gradients from one modality do not drown out the other.

    3. 400 Steps on 16 Cards Across Two Nodes: What Stability Validation Actually Verifies

    In a pre-training context 400 steps is extremely short (pre-training usually runs tens of thousands to hundreds of thousands of steps), so the goal of this experiment was not convergence but the health of the numerical and communication paths.

    The criteria can be summarized in four points:

    1. Loss stays finite throughout: no NaN/Inf, no sudden jumps;
    2. Gradient norm stays stable: no sustained monotonic increase (a sign of exploding gradients) and no sudden drop to zero (a sign of vanishing gradients or a broken pipeline);
    3. No abnormal process exits: all 16 ranks stay alive, with no NCCL-type communication timeouts;
    4. Cross-node operation is real: gradient synchronization genuinely spans the two machines rather than degrading to a single node.

    A minimal set of monitoring hooks:

    1. if step % 10 == 0:
    2. grad_norm = torch.nn.utils.clip_grad_norm_(model.parameters(), 1.0)
    3. log({"step": step, "loss": loss.item(),
    4. "grad_norm": grad_norm.item(),
    5. "is_finite": torch.isfinite(grad_norm).item()})

    Engineering practice should also cover the gradient clipping threshold, the dynamic range of loss scaling under mixed precision, and periodic checkpoint writes (400 steps should leave at least two or three rollback points).

    4. Three Thresholds from “It Can Train” to “Ready to Train Out of the Box”

    An already-delivered “domestic chip training domestic model” result can serve as a capability gradient reference: completing from-scratch training of a 236-billion-parameter scientific foundation model, supporting full-stack native training of a 5D world model, jointly completing end-to-end training of an embodied brain model with research institutions, and now advancing trillion-parameter training. The difficulty is clearly progressive.

    To truly reach “ready to train out of the box,” three layers of capability must be filled in:

    • Operator layer: coverage of long-tail operators such as matrix multiplication, attention variants, normalization, and sparse/expert routing, with precision alignment guaranteed;
    • Parallelism layer: combined tuning of data, tensor, pipeline, and expert parallelism, plus topology-aware communication orchestration;
    • Toolchain layer: automated performance profiling, fault self-healing, resume-from-checkpoint, logging, and monitoring alerts, ideally integrated with a general container platform and object storage for data and checkpoint management.

    When running in the cloud, these can be combined with general-purpose capabilities: a container platform to orchestrate training jobs, object storage for datasets and checkpoints, and logging and monitoring services for observability. Baidu AI Cloud offers corresponding product categories in these general areas and can serve as a routine reference during architecture selection.

    5. Practical Advice for Developers

    1. Verify the forward and backward pass on a single card first, then scale to two nodes, and finally to hundreds of cards, increasing scale step by step;
    2. Run 20–50 steps with a fixed random seed as a “reproducible baseline,” so any numerical anomaly can be located quickly;
    3. Make the finiteness checks on grad_norm and loss a hard gate that aborts immediately on anomalies rather than burning more cards;
    4. An adaptation acceptance report must state the card count, node count, step count, parallelism strategy, and numerical metrics, so the word “adaptation” is not over-interpreted.

    Conclusion: The stable 400-step run on 16 cards across two nodes marks further validation of the engineering usability of domestic full-function GPUs on the trillion-parameter model training path, but “ready to train out of the box” still requires continued refinement in operator coverage, parallelism tuning, and automated toolchains. For developers, treating adaptation claims rationally and establishing quantifiable acceptance criteria is the most valuable takeaway when selecting hardware.