A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter LLM: 16 Cards Across 2 Nodes Run 400 Steps Stably

    This article explains what a recent training adaptation of a nearly 3-trillion-parameter multimodal model on a domestic full-feature GPU actually proves, and why it should not be confused with pretraining the model from scratch. It breaks down the native FSDP2 training path that was validated—per-parameter sharding, model loading, gradient synchronization, compute-communication overlap, and numerical stability across 400 consecutive optimizer updates—then outlines a reusable validation methodology (single-card operator baselines, single-node multi-card scaling, a minimal cross-node loop, long stability runs, and observability) and the capabilities still missing before "ready to train out of the box."

    1. What Happened: A Training Adaptation, Not Pretraining From Scratch

    A domestic full-feature 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. The experimental setup was 16 accelerator cards across two nodes. All 16 training processes completed 400 consecutive optimizer updates, with the loss value and gradient norm staying finite throughout—no numerical overflow and no abnormal job interruption.

    One common misunderstanding needs to be cleared up first: a successful training adaptation does not mean the model was pretrained from scratch on this chip. Adaptation means the model structure, operators, parallelism strategy, communication, and numerical behavior are fully exercised on the target hardware and can iterate stably. Pretraining means producing base weights from zero over massive corpora on a given compute foundation. The two are fundamentally different: one is a runnability check, the other is a knowledge-production process.

    The same pattern is not unusual in the industry. Some model technical reports validate several acceleration backends side by side and report fine-grained expert parallelism results, but this is typically validation of inference-side operators and parallel schemes—not an official disclosure of the original compute source used for base-model pretraining. So the value of an adaptation should be judged by whether it closes the full loop and provides reproducible evidence of stability, rather than treating “it runs” as equivalent to “it was trained.”

    2. Technical Breakdown: What the Native FSDP2 Path Actually Proves

    The core of this adaptation is a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path covering three areas: model loading, shard scheduling, and gradient synchronization.

    2.1 Model Loading and Sharding Strategy

    A model with nearly a trillion parameters cannot fit entirely in a single card’s memory, so parameter sharding is mandatory. The key FSDP2 improvement is per-parameter sharding, which replaces the coarser module-level sharding of earlier versions. This makes memory usage more predictable and makes mixed precision and compute-communication overlap easier to orchestrate. The configuration logic below is illustrative and conveys general semantics only, not a specific product API:

    1. # Pseudocode: general semantics of sharding and the training loop
    2. for block in model.blocks: # wrap each layer as a shard unit
    3. block = shard(block, mesh=device_mesh, mixed_precision=mp_policy)
    4. for step, batch in enumerate(loader):
    5. with no_sync_context(is_accumulating=(step % k != 0)):
    6. loss = model(batch).loss # all-gather parameters on demand in forward
    7. loss.backward() # reduce-scatter gradients after backward
    8. if step % k == 0:
    9. clip_grad_norm_(model, max_norm=1.0)
    10. optimizer.step(); optimizer.zero_grad()

    2.2 Balancing Communication and Memory

    The main cost of cross-node training comes from parameter gathering and gradient reduction. Three techniques are commonly used to cut it: overlap computation with communication by hiding all-gather/reduce-scatter inside the backward pass; use gradient accumulation to lower synchronization frequency; and choose a sensible device mesh so intra-node traffic rides high-bandwidth interconnects while inter-node traffic carries only what is necessary. Multimodal training also adds a vision encoder and projection layers whose parameter sizes differ greatly, so they need separate sharding and precision policies to keep small modules from becoming communication bottlenecks.

    2.3 Why Numerical Stability Is a Hard Requirement

    Four hundred consecutive updates with a finite loss and gradient norm throughout demonstrate three things: operator numerics behave as expected (no uninitialized memory, no incorrect accumulation order); the mixed-precision loss scaling and gradient clipping strategy works; and cross-process reduction shows no misalignment or duplicate accumulation. For large models, the first few hundred steps are exactly the window where numerical problems surface most easily, which makes this much stronger evidence than a single successful step.

    3. A Reusable Validation Methodology

    To reproduce a similar validation in your own environment, proceed in this order:

    1. Single-card operator baseline: compare forward and backward outputs layer by layer against a reference implementation using relative error, ruling out operator-level issues first.
    2. Single-node multi-card scaling: fix the global batch and check whether loss curves overlap at 1/2/4/8 cards, confirming reduction correctness.
    3. Minimal cross-node loop: run a small-scale job across two nodes, focusing on whether compute-communication overlap takes effect and whether there are long-tail waits.
    4. Long stability run: perform several hundred consecutive updates while monitoring loss, gradient norm, memory watermark, and per-step latency jitter.
    5. Observability: wire in unified logging, metrics monitoring, and alerting so an abnormal interruption becomes a diagnosable event rather than a black screen.

    4. From “It Can Train” to “Ready to Train Out of the Box”

    There are already several domestic-chip-on-domestic-model practices in the industry: completing from-scratch training of a medium-scale scientific foundation model, supporting full-stack native training of a world model, and running the full training pipeline of an embodied-intelligence brain model with research institutions, with trillion-parameter model training now underway. These cases show the path is usable, but reaching “ready to train out of the box” still requires three layers of capability: operator coverage with automatic tuning, automatic search of parallel strategies with fault-tolerant resume, and an automated toolchain and documentation aimed at developers.

    For adopters, the rational evaluation framework is to look at loop completeness, evidence of stability, fault recovery capability, and the cost of ecosystem migration. Baidu AI Cloud likewise emphasizes engineering systems—heterogeneous compute scheduling, containerized training platforms, monitoring and alerting—to meet the observability and operability needs of large-model training. The direction is the same: the value of an adaptation lies not in a single demo but in being repeatable, operable, and scalable.