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

    This article explains a recent training adaptation in which a domestic full-function GPU vendor ran a nearly three-trillion-parameter flagship model on 16 accelerators across two nodes for 400 consecutive optimizer updates without numerical overflow or interruption. It clarifies that adaptation is not pre-training from scratch, walks through the native FSDP2 training path, the stability signals those 400 steps provide, and practical points on parallel strategy and cluster configuration, then outlines what is still needed to move from "it runs" to "ready to train out of the box."

    1. Background: A Training Adaptation, Not a Fresh Pre-Training Run

    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 a parameter count approaching three trillion. The vendor also ran 400 consecutive optimizer updates in an environment of 16 accelerator cards across two nodes, with no numerical overflow or abnormal interruption throughout.

    One easily confused distinction needs to be settled first: a successful training adaptation does not mean the model completed its original pre-training on these chips. Adaptation means the model structure, operators, parallel strategy, and distributed communication path can run correctly and stably on the target hardware and are capable of further training. Original pre-training means converging the base weights from scratch with enormous compute and data, which is an engineering effort of a different order of magnitude. The “Day 0 adaptation of the latest open-source model” that is common in the industry mostly refers to operator enablement and deployment validation on the inference side, which is not the same thing as base-model pre-training.

    The practical implication for developers is this: adaptation capability determines whether you can take over an existing model on domestic compute to continue fine-tuning, continue pre-training, or modify the architecture. This is the first threshold for a self-controlled training loop.

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

    The key to this adaptation was building a native FSDP2 (fully sharded data parallel) multimodal training path that connects the three stages of model loading, shard scheduling, and gradient synchronization end to end. Stage by stage:

    1. Model loading and sharding: A nearly trillion-parameter model cannot reside entirely in a single card’s memory. It must be sharded along three dimensions—parameters, gradients, and optimizer states—with parameter shards all-gathered on demand before the forward and backward passes.
    2. Shard scheduling and forward/backward computation: Shard granularity directly affects communication frequency and peak memory. The scheduling strategy must overlap with the computation graph so that parameter gathering and computation mask each other; otherwise communication becomes the main bottleneck.
    3. Gradient synchronization and optimizer updates: After the backward pass, gradients are reduce-scattered, and each rank then updates the portion of optimizer state it owns, avoiding the memory waste of every card holding the full state.

    A schematic configuration skeleton is shown below (it expresses general semantics only, not a specific product interface):

    1. # Pseudocode: a native FSDP2-style fully sharded training skeleton
    2. from torch.distributed.fsdp import fully_shard
    3. for layer in model.layers: # wrap layer by layer to control shard granularity
    4. fully_shard(layer)
    5. fully_shard(model) # wrap the top level once more to converge the communication domain
    6. opt = torch.optim.AdamW(model.parameters(), lr=1e-4)
    7. for step, batch in enumerate(loader):
    8. loss = model(batch).loss
    9. loss.backward() # triggers reduce-scatter during backward
    10. torch.nn.utils.clip_grad_norm_(model.parameters(), 1.0)
    11. opt.step(); opt.zero_grad(set_to_none=True)

    Compared with patching an older parallel library, the value of the native path is that sharding semantics, communication primitives, and computation scheduling are managed by the same framework, reducing the hidden correctness problems that cross-layer adaptation introduces.

    3. Stability Validation: What 400 Consecutive Updates Show

    In the experiment, 16 training processes completed 400 consecutive optimizer updates, with the loss and gradient norms remaining finite throughout. The information in this result concentrates on three points:

    • Numerical correctness of operators: Joint cross-node training amplifies numerical error. If an operator deviates in accumulation order or mixed-precision conversion, it usually shows up within the first few dozen steps as loss jitter or a spike in the gradient norm.
    • Determinism of communication and explicit behavior: 400 steps are enough to cover multiple all-gather / reduce-scatter operations and repeated memory allocation and release, which can expose memory fragmentation, communication timeouts, and collective communication that is out of sync.
    • Long-run stability rather than an instantaneous result: A short successful run only proves the job “can start”; hundreds of consecutive steps without interruption are what give engineering credibility.

    In engineering practice, monitoring should be made a standing capability rather than relying on people watching logs:

    1. Log per step: loss / grad_norm / parameter update norm / peak memory per rank / collective communication time
    2. Alert conditions: non-finite loss or grad_norm, no decrease for N consecutive steps, a single rank's memory approaching its limit

    4. Practical Points on Parallel Strategy and Cluster Configuration

    • Parallel combinations: Trillion-scale models usually combine data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism. FSDP suits scenarios with moderate parameter counts where memory efficiency is the priority; when parameters are extremely large, tensor or pipeline splitting is still needed to reduce the per-card load.
    • Cross-node bandwidth is a hard constraint: Two nodes with 16 cards is a typical cross-node scenario, and intra-node interconnect bandwidth is far higher than inter-node bandwidth. High-frequency communication (such as tensor parallelism) should therefore be kept inside a node, with low-frequency communication placed across nodes.
    • Gradient accumulation and global batch size: When the card count is limited, gradient accumulation can enlarge the effective batch. Note that the normalization basis must be adjusted along with the accumulation steps, or the effective learning rate will drift.
    • Mixed-precision strategy: BF16 is usually more stable than FP16 and has a larger dynamic range; keep FP32 accumulation at sensitive spots such as LayerNorm, Softmax, and the loss computation.

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

    For domestic compute to be genuinely accepted by developers, the gap lies not in a single successful run but in a complete engineering system:

    1. Operator coverage and automatic fallback: Uncovered operators need a clear fallback path and alerts, rather than silently falling back to CPU or producing wrong results.
    2. Automated toolchain: Environment setup, dependency alignment, distributed launch, checkpoint resume, and automatic fault isolation should form a standard process.
    3. Observability: Only after common cloud capabilities such as log services, monitoring and alerting, and tracing are integrated can long-cycle training jobs be diagnosed and reviewed.
    4. Ecosystem compatibility: A consistent experience across training frameworks, fine-tuning frameworks, and inference frameworks determines migration cost.

    Based on the progress made public so far, this route has been applied in several small and medium models trained from scratch, in full-stack native training of multimodal and world models, and in end-to-end training of embodied intelligence models, and it is now moving toward trillion-parameter scale. The advice for developers is to first complete adaptation validation and a stability baseline in a small-scale environment such as two nodes with 16 cards, then scale up gradually, making numerical monitoring and checkpoint resume default capabilities rather than after-the-fact fixes.