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 domestic full-function GPU vendor's training adaptation of a nearly 3-trillion-parameter flagship model actually means, and why it is not the same as pretraining from scratch. It walks through the native FSDP2 training path, the four key stages of sharded training, the minimum metrics needed to validate stability over 400 consecutive optimizer updates, and the operator, parallelism, fault-tolerance, and tooling layers required to move from "can train" to "ready to train out of the box." A practical checklist for small-scale baselines, cross-node scaling, and numerical guardrails is included.

    1. Background: A Training Adaptation, Not Pretraining From Scratch

    A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference compute card and its self-developed software stack, it completed the training adaptation of a flagship model with nearly 3 trillion parameters. Under a configuration of two nodes with 16 cards in total, the setup ran stably for 400 consecutive optimizer update steps. The most discussed question in the community was not “did it run?” but “what does this actually mean?”

    The conceptual boundary has to be drawn first. Training adaptation means getting an existing model architecture to complete the full chain of forward pass, backward pass, optimizer update, and gradient synchronization on domestic hardware and a domestic software stack. Pretraining means starting from random initialization and consuming enormous raw compute to build the model up. A successful adaptation does not mean the model was pretrained on that chip; these are two entirely different engineering problems.

    A relevant industry example: the technical report of an open-source model presented fine-grained expert parallelism validated on accelerator cards of different architectures side by side, but the common view is that this was validation of inference operators and parallelism strategies, and the original pretraining compute source for the base model was not publicly stated. This example shows that judging “who trained the model” requires looking at disclosed base-model training compute, while judging “whether the hardware can train” requires looking at full-chain adaptation and stability data. The two should not be conflated.

    2. Technical Breakdown: What the Native FSDP2 Training Path Delivers

    The core of this adaptation is a native FSDP2 (Fully Sharded Data Parallel) multimodal training path that connects model loading, shard scheduling, and gradient synchronization into a closed loop. To understand its value, start with the pain points of traditional data parallelism.

    2.1 Why Sharding Is Needed

    Under pure data parallelism, every card holds a complete copy of the model parameters, gradients, and optimizer states. In mixed-precision training, once parameters, gradients, optimizer momentum, and other states are combined, the per-card memory footprint is often several times the parameter count. When a model approaches the trillion-parameter scale, a single card cannot hold a full copy, so the states must be split.

    FSDP2 shards parameters, gradients, and optimizer states across training processes by dimension. During the forward pass, parameter shards are gathered on demand (all-gather); during the backward pass, gradients are aggregated and reduced (reduce-scatter). Compared with the previous generation of implementations, it emphasizes decoupling from model structure and clearer tensor semantics, and it is easier to combine with compiler optimizations and operator fusion.

    2.2 Four Key Stages in the Chain

    • Model loading: load weights in a sharded manner to avoid a single process’s peak memory being overwhelmed by the full weights;
    • Shard scheduling: decide when to gather and when to release, which directly affects peak memory and communication overlap;
    • Gradient synchronization: reduction and broadcast during the backward pass must overlap with computation, otherwise communication becomes the bottleneck;
    • Optimizer update: state updates after sharding must preserve numerical consistency and determinism.

    The configuration logic can be understood schematically as follows (semantics only, not a concrete API):

    1. # Pseudocode: semantics of the sharded data parallel training loop
    2. for step, batch in enumerate(dataloader):
    3. with no_sync_if_needed(step, grad_accum_steps):
    4. loss = model(batch).loss # forward pass gathers parameter shards on demand
    5. loss.backward() # backward pass aggregates and reduces gradients
    6. if step % grad_accum_steps == 0:
    7. clip_grad_norm_(model, max_norm) # global gradient clipping requires cross-shard statistics
    8. optimizer.step() # each process updates its local state shard
    9. optimizer.zero_grad()

    3. Stability Validation: What 400 Consecutive Steps Show

    In the experiment, 16 training processes completed 400 consecutive optimizer updates in a cross-node environment. The loss and gradient norm stayed finite throughout, with no numerical overflow and no abnormal interruption. These metrics look plain, but they are the baseline for training usability.

    3.1 Why “Consecutive” Rather Than “Single Step”

    A single successful step only proves the operators are correct. Consecutive runs expose three classes of problems: first, gradual OOM caused by memory fragmentation and cache accumulation; second, communication timeouts and collective-communication deadlocks; third, slow numerical drift that eventually shows up as a NaN loss. The significance of 400 steps is that it covers common rhythms such as learning-rate warmup, gradient accumulation, periodic logging, and checkpointing, which is enough to expose most engineering defects.

    3.2 The Minimum Metric Set to Monitor

    • Loss and gradient norm: to detect overflow and gradient explosion;
    • Parameter update magnitude: to check whether the learning rate and optimizer state are behaving normally;
    • Per-rank peak memory and fragmentation rate: to check whether shard scheduling is balanced;
    • Share of time spent in collective communication: to check whether computation and communication overlap effectively;
    • Single-step latency jitter: to detect slow nodes or thermal noise.

    In engineering practice, a training health check is usually added that aborts immediately and preserves the state as soon as a non-finite value is detected, avoiding continuing with a bad state:

    1. import math
    2. def assert_finite(loss, grad_norm, step):
    3. if not math.isfinite(loss) or not math.isfinite(grad_norm):
    4. raise RuntimeError(f"non-finite value at step {step}")

    4. From “Can Train” to “Ready to Train Out of the Box”: What the Engineering System Needs

    A single successful adaptation is still some distance from reusable capability. A mature system usually involves four layers of work.

    The first is the operator layer. It needs to cover high-frequency operators such as attention, normalization, loss functions, and mixed-precision conversion, and to ensure they connect correctly with the automatic differentiation graph; for multimodal models, variable-length sequences and irregular tensors must also be handled.

    The second is the parallelism layer. Data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism need to be composable, and communication group partitioning and topology-aware scheduling determine scaling efficiency. Nearly trillion-parameter models often rely on fine-grained expert parallelism to reduce per-card load.

    The third is the fault-tolerance layer. Node failures are routine in large-scale training, so periodic checkpointing, asynchronous saving, fast fault localization, and automatic restart are needed to raise the proportion of effective training time.

    The fourth is the tooling layer. This includes configurable training scripts, performance profiling, logging and monitoring alerts, and experiment tracking. When running in the cloud, this can be combined with a container platform for environment consistency, object storage for checkpoint persistence, and a monitoring and alerting service for anomaly detection, reducing the uncertainty introduced by environment differences.

    5. Practical Checklist

    • Start with a small-scale baseline: run short sequences on a single node with multiple cards and confirm the numerics and convergence curve are reasonable;
    • Then scale across nodes: go from 2 nodes to multiple nodes step by step, and observe whether the communication share and throughput curve scale linearly;
    • Fix random seeds and data order: make problems reproducible and easier to isolate by bisection;
    • Establish numerical guardrails: gradient clipping, loss scaling, and stop on non-finite values;
    • Decide the checkpoint strategy up front: define save frequency and the number of retained copies, balancing recovery speed and storage cost;
    • Manage parallelism strategies with unified configuration: avoid environment drift caused by scattered scripts.

    6. Conclusion

    A domestic full-function GPU completing the training adaptation of a nearly trillion-parameter model, with 400 consecutive stable update steps on 16 cards across two nodes as evidence, marks another step forward for domestic compute toward “trainable across the full chain.” For developers, what really matters is not a single successful run, but the engineering foundation built from operators, parallelism, fault tolerance, and tooling, which determines whether a frontier model can move from “can train” to “ready to train out of the box.”