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

    This article explains what a domestic full-function GPU vendor's recent adaptation of a nearly 3-trillion-parameter flagship model actually demonstrates, and why it should not be confused with pretraining. It covers the native FSDP2 sharding path, a 400-step stability test on 16 accelerators across two nodes, a three-layer stability validation strategy, the observability metrics worth collecting, a checklist for choosing parallelism dimensions, and practical advice for moving from "it runs" to "ready to train out of the box."

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

    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 a training adaptation for a flagship model with nearly 3 trillion parameters. The test environment used 16 accelerators 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 needs to be cleared up first: training adaptation is not the same as pretraining the model on that chip. Adaptation means the model structure, operators, parallelism strategy, and communication paths can run backpropagation and parameter updates correctly and stably on new hardware. Pretraining means starting from random initialization and consuming enormous compute and data to build base-model capability. The former is a “runnability check”; the latter is “capability production.” A common industry practice is to validate multiple accelerator backends side by side in a model technical report to confirm the feasibility of inference operators or the training pipeline, but that does not mean the vendor has published the original compute source used to train the base model.

    So the value of this kind of work should be judged not by “how large the parameter count is” but by three engineering metrics: whether the pipeline is complete, whether the numerics are stable, and whether failures are diagnosable.

    2. Why the Native FSDP2 Path Is the Key Difference

    The core tension in large-model training is between memory capacity and communication overhead. Fully Sharded Data Parallel (FSDP) approaches shard parameters, gradients, and optimizer states so that a model too large for a single card can be spread across many. “Native” means this sharded training path is supported directly by the framework and the hardware/software stack, rather than relying on a large number of external patches or ad-hoc modifications.

    A native path typically connects four stages:

    1. Model loading: weights are split according to the sharding rules, avoiding a single process loading all parameters at once and blowing past the memory peak;
    2. Shard scheduling: shards are prefetched and released in computation order during the forward and backward passes to compress peak usage;
    3. Gradient synchronization: after backpropagation, gradients are reduced in buckets and reduce-scattered to their owning ranks;
    4. Parameter update and re-broadcast: the optimizer updates only the local shard, after which all-gather rebuilds the full parameters as needed.

    The pseudocode below is illustrative, showing the skeleton of the main sharded-training loop (not a specific framework’s API):

    1. for step, batch in enumerate(dataloader):
    2. # 1) Rebuild the full parameters of this layer on demand (forward)
    3. with shard_context(model):
    4. loss = model(batch)
    5. # 2) Backward: gradients are reduced in buckets and scattered to owning ranks
    6. loss.backward()
    7. # 3) Only the local shard participates in the update, avoiding redundant full parameters
    8. optimizer.step()
    9. optimizer.zero_grad(set_to_none=True)
    10. # 4) Health check: finiteness + norm magnitude
    11. assert torch.isfinite(loss), f"non-finite loss at step {step}"
    12. assert torch.isfinite(grad_norm), f"non-finite grad at step {step}"

    Multimodal models additionally introduce a vision encoder and projection layers. Their irregular tensor shapes, freeze strategies, and learning-rate groups are more complex, and they place significantly higher demands on shard splitting and operator coverage than text-only models.

    3. What the 400-Step Test on 16 Cards Across 2 Nodes Actually Proves

    400 consecutive optimizer updates is a cost-controlled window that still carries enough information to move “from smoke test to stability.” It can demonstrate:

    • Pipeline completeness: no breaks across loading, sharding, forward, backward, synchronization, and update;
    • Numerical health: loss and gradient norm stay finite, with no overflow, underflow, or silent NaN propagation;
    • Communication correctness: cross-node gradient reduction results are consistent, with no weight drift caused by topology differences;
    • Repeatability: with a fixed random seed and data order, curves from multiple runs align.

    What it cannot prove must be stated just as clearly: 400 steps cannot reflect the stability of long training runs at the ten-thousand-card scale, cannot cover long-tail issues such as data-distribution switches, checkpoint resume, or slow-node drift, and does not represent convergence quality or the compute scale of pretraining.

    From an engineering standpoint, it is advisable to break stability validation into three layers and scale up gradually:

    Layer Scale Goal Key observations
    L1 single-node smoke test multiple cards on one node operator and shard correctness finite loss, memory peak
    L2 cross-node stability 16 cards across two nodes communication and numerical stability gradient norm, step-time jitter
    L3 long-run stress test multiple nodes, multiple rounds fault tolerance and resume interruption recovery, slow-node ratio

    4. Stability Engineering: Turning “No Error” into “Observable”

    In cross-node training, the most expensive thing is not compute but the cost of diagnosis. It is advisable to collect at least the following metrics and wire them into a general logging service with monitoring and alerting:

    • Numerical: loss, global gradient norm, parameter update norm, activation variance;
    • Performance: per-step time, communication wait ratio, prefetch hit rate, memory peak and fragmentation rate;
    • Reliability: process exit codes, collective communication timeout counts, checkpoint-resume success rate.

    A minimal working example of gradient clipping and skip logic:

    1. grad_norm = clip_grad_norm_(model.parameters(), max_norm=1.0)
    2. if not torch.isfinite(grad_norm) or grad_norm > 1e4:
    3. # Log and skip this update to avoid contaminating already-trained weights
    4. optimizer.zero_grad(set_to_none=True)
    5. continue
    6. optimizer.step()

    In addition, checkpoints should save the model shards, optimizer state, random number state, and data-loader progress at the same time. Otherwise, resuming training produces a hidden mismatch where “the weights line up but the data does not.”

    5. A Checklist for Choosing a Parallelism Strategy

    For a model approaching a trillion parameters, a single parallelism dimension is not enough; they need to be combined:

    1. Sharded data parallelism: carries parameter and optimizer-state sharding and is the foundation of memory feasibility;
    2. Tensor parallelism: splits the matrix multiplications within a layer, reducing per-card compute and activation pressure, but communicates frequently, so it should be placed in the high-bandwidth domain inside a node;
    3. Pipeline parallelism: splits layers across stages and requires handling bubbles and micro-batch scheduling;
    4. Expert parallelism: for sparse structures, splits by expert and focuses on load imbalance and routing jitter;
    5. Sequence/context parallelism: for long-context scenarios, splits the sequence dimension to relieve the activation-memory bottleneck.

    Selection principle: put the most communication-intensive dimension in the highest-bandwidth domain first, then use the lower-bandwidth cross-node links for dimensions that communicate sparsely.

    6. From “It Trains” to “Ready to Train Out of the Box”

    The value of running domestic chips on domestic models goes beyond a single successful run; it lies in accumulating reusable capabilities: operator coverage and precision alignment, communication optimization for multi-card coordination, and an automated toolchain (configuration generation, dependency checks, failure diagnosis, checkpoint resume). The industry has already seen a range of practices, from the complete training of a 200-billion-scale scientific foundation model to end-to-end training of world models and embodied-brain models, and is now pushing toward trillion-parameter scale.

    The practical advice for developers is to first validate operators and precision on a single node, then scale to two nodes to validate communication and numerics, and finally run long-duration stress tests and fault-tolerance drills, keeping reproducible configurations and complete checkpoints at every step. Once this workflow is fixed in the toolchain, large-model training on domestic full-function GPUs will truly move from “it trains” to “ready to train out of the box.”