A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: 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 accelerators across two nodes for 400 consecutive optimizer updates. It clarifies the difference between training adaptation and pretraining from scratch, breaks down the native FSDP2 path covering model loading, shard scheduling, and gradient synchronization, and explains why 400 continuous steps matter as a stability signal. Readers will also find the core metrics to monitor, common numerical-stability practices, a four-layer engineering capability model, and a reusable five-step adaptation path.

    1. What Actually Happened: A Training Adaptation, Not a New Pretraining 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 completed the training adaptation of a flagship large model with a parameter scale of nearly 3 trillion. The test environment consisted of two nodes with 16 accelerator cards in total. All 16 training processes completed 400 consecutive optimizer updates, with the training loss and gradient norm remaining finite throughout. There was no numerical overflow, no process crash, and no abnormal interruption.

    This kind of news is easy to misread, so it is worth drawing the conceptual boundary clearly first.

    1.1 What “Training Adaptation” Actually Means

    Training adaptation means making an already-defined model architecture load correctly, shard correctly, run forward and backward passes correctly, and update parameters correctly on a new hardware and software stack, while running for a long time without crashing. What it validates is the completeness and correctness of the hardware-software stack.

    It does not mean that base pretraining was completed from scratch on this hardware. Pretraining involves data cleaning, data mixing ratios, learning-rate scheduling, iterating over trillions of tokens, and stability engineering across clusters ranging from hundreds to thousands of cards. It is an engineering effort an order of magnitude more complex.

    1.2 Why the Industry Often Confuses the Two

    Over the past few years, the industry has frequently seen claims of “Day 0 adaptation of the latest open-source model,” meaning that inference-side or lightweight training-side integration was completed on the day the model weights were released. The value of such work lies in ecosystem responsiveness, but its technical depth is not comparable to full-chain pretraining.

    A relevant industry phenomenon is worth noting: in a technical report from a DeepSeek team, two different architectures of accelerator cards were listed side by side as validation routes to verify a fine-grained expert parallelism scheme. The industry generally regards that as validation at the inference operator level, not as a statement about the compute source for base pretraining. This example shows that appearing side by side does not mean equal roles, and running through does not mean pretraining.

    2. Technical Breakdown: What the Native FSDP2 Path Delivers

    The key point disclosed by the vendor is that it built a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path, connecting the complete chain from model loading and shard scheduling to gradient synchronization. The technical challenges in each of these three stages are worth expanding on.

    2.1 Model Loading: A Huge Model Cannot Fit Entirely in Memory

    A nearly trillion-parameter model stored in BF16 requires close to 6TB just for the parameters. Add optimizer states (Adam-class optimizers typically need extra memory equal to 2 to 3 times the parameter count), gradients, and activations, and a single card’s memory cannot possibly hold it all. The loading stage therefore has to solve three problems:

    • Shard partitioning: parameters, gradients, and optimizer states are partitioned by rank, so each card holds only part of the global state.
    • Metadata first: load the computation graph and parameter metadata first, then fetch weight shards on demand, avoiding a peak-memory blowup.
    • Heterogeneous multimodal modules: the vision encoder, projection layers, and language backbone differ greatly in structure, so the sharding strategy cannot be one-size-fits-all.

    A schematic loading flow is shown below (pseudocode, expressing ordering semantics only):

    1. # 1. Build model metadata without loading real weights
    2. model_meta = build_model_meta(config, dtype="bf16")
    3. # 2. Partition by rank and bind shards
    4. shard_plan = plan_shard(model_meta, world_size=16, strategy="fsdp2")
    5. local_model = materialize_shard(model_meta, shard_plan, rank=local_rank)
    6. # 3. The optimizer manages only this rank's shard state
    7. optimizer = build_optimizer(local_model, betas=(0.9, 0.95), eps=1e-8)

    2.2 Shard Scheduling: The Timing Game Between Communication and Computation

    The core idea of FSDP2 is to split AllGather and ReduceScatter into finer-grained buckets so that communication overlaps with computation. What really determines throughput in engineering terms comes down to three things:

    • Bucket granularity: buckets that are too small cause a surge in communication calls and low bandwidth utilization; buckets that are too large leave insufficient overlap windows, so communication is exposed as bubbles.
    • Compute-communication overlap: the AllGather in the forward pass needs to prefetch the next layer’s parameters, while the ReduceScatter in the backward pass needs to interleave with gradient computation.
    • Cross-node topology awareness: traffic stays on high-speed interconnects within a node and goes over the network across nodes, so the bucketing strategy must match the topology; otherwise cross-node traffic becomes the bottleneck.

    2.3 Gradient Synchronization: Correctness Before Speed

    What gradient synchronization must guarantee is mathematical equivalence: the parameter update result under sharded parallelism must match single-card full training within numerical tolerance. Common pitfalls include incorrect normalization placement during gradient accumulation, misaligned gradient scaling factors under mixed precision, and weight decay being applied twice.

    3. Stability Validation: What 400 Continuous Steps Tell Us

    The most informative part of the test report is not that “it ran,” but that “400 consecutive optimizer updates completed with loss and gradient norm finite throughout.” In engineering terms, this is a meaningful set of health indicators.

    3.1 Why 400 Steps Instead of 1

    A single successful step only proves the operators are correct. Only multiple consecutive steps expose state-related problems: whether optimizer momentum keeps accumulating correctly, whether the learning-rate schedule advances by step, whether memory slowly leaks as steps increase, and whether communication deadlocks after the watermark changes. 400 steps is enough to cover these problems that surface slowly.

    3.2 Core Metrics to Monitor

    Metric Healthy Pattern Warning Sign
    loss Steady decrease or minor fluctuation NaN/Inf, sudden jumps
    Gradient norm Within a stable range Continuous monotonic increase, spikes
    Per-card memory Roughly constant between steps Linear growth with step count
    Communication time share Stable and overlappable Sudden spikes, periodic jitter
    Process liveness All ranks online Individual ranks silently exiting

    3.3 Common Practices for Numerical Stability

    1. # Gradient clipping plus finiteness checks are the baseline for long stable training
    2. torch.nn.utils.clip_grad_norm_(model.parameters(), max_norm=1.0)
    3. for step, batch in enumerate(loader):
    4. loss = model(batch).loss
    5. loss.backward()
    6. if not torch.isfinite(loss):
    7. skip_step_and_log(step) # skip and log, rather than crashing outright
    8. continue
    9. optimizer.step()
    10. optimizer.zero_grad(set_to_none=True)

    Combined with loss scaling under BF16/FP16 mixed precision and choosing numerically more stable implementations for key operators, this can significantly reduce the probability of overflow.

    4. Engineering System: Four Layers of Capability from “It Can Train” to “Ready to Train Out of the Box”

    The vendor emphasizes that it already has a mature engineering system. Abstractly, this system can be broken into four layers, each corresponding to a clear deliverable.

    1. Operator layer: covers all forward and backward operators the model requires and ensures consistency with the reference implementation within tolerance. The deliverable is an operator list and a consistency test report.
    2. Parallelism layer: the combination and partitioning strategies for data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism. The deliverable is parallel configuration templates for different card counts.
    3. Scheduling layer: job orchestration, failure rescheduling, checkpoint resume, and log and metric collection. This can be built on general cloud product categories such as container platforms, log services, and monitoring and alerting.
    4. Tooling layer: automated conversion, precision alignment, performance profiling, and bottleneck localization. The deliverable turns manual tuning into repeatable scripts.

    5. Practical Reference: A Reusable Adaptation Path

    • Step 1, static validation: do forward alignment first, compare outputs on a very small scale of data, and pin down operator-level error.
    • Step 2, single-card closed loop: get the backward pass and optimizer update running, and confirm that parameters are actually changing in a reasonable direction.
    • Step 3, small-scale multi-card: scale from 2 cards to multiple cards on a single node, validating communication correctness and throughput linearity.
    • Step 4, cross-node scaling: move into a multi-node scenario, focusing on cross-node bandwidth and overlap efficiency.
    • Step 5, long stable runs: use hundreds of steps as the minimum validation unit, gradually extending to thousands of steps while watching for memory and metric drift.

    6. Conclusion

    The value of a stable training adaptation over 400 continuous steps on 16 cards across two nodes does not lie in claiming that trillion-parameter pretraining has been completed. It lies in proving that a domestic full-function GPU is now usable, controllable, and observable across the complete chain of loading, sharding, synchronization, and updating. For developers, judging whether a compute platform is mature comes down to exactly this kind of reproducible long-run stability, not a snapshot of a single successful run.