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 recent training adaptation on a domestic GPU actually proves, and what it does not. A domestic GPU vendor reported running the full training graph of an open-source flagship model with nearly three trillion parameters on 16 accelerator cards across two nodes, completing 400 consecutive optimizer updates with finite loss and gradient norms. The piece separates training adaptation from base-model pre-training, then walks through the engineering chain involved: model loading and weight sharding, FSDP2-based data parallelism, and gradient synchronization across node boundaries. It also covers what a 400-step run validates, a minimal monitoring set for long-running jobs, the tooling gaps that still block out-of-the-box training, and a practical checklist for scaling up.

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

    A domestic 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 an open-source flagship model with nearly three trillion parameters. In an environment of 16 accelerator cards across two nodes, the job completed 400 consecutive optimizer updates, with loss values and gradient norms staying finite throughout and no numerical overflow or job interruption.

    One easily confused distinction has to be settled first: training adaptation is not the same as completing base-model pre-training on that chip. Adaptation means making the model’s full training computation graph run correctly and stably on the target hardware and software stack, covering operator support, memory layout, parallelism strategy, communication primitives, and numerical behavior. Base-model pre-training is the original training process from scratch, consuming enormous compute, and the source of that compute must be disclosed by the model developers. Technical reports in the industry have used parallel validation across multiple hardware platforms, but such parallel validation generally points to the feasibility of inference-side operators and parallelism schemes; it cannot be used to infer where pre-training compute came from. Only by keeping these two things separate can the boundary of the claim “domestic cards can train large models” be assessed correctly.

    2. Technical Breakdown: What a Full Training Pipeline Has to Connect

    1. Model Loading and Weight Sharding

    A model at this scale cannot be loaded in full into a single card’s memory. The loading stage needs weight parsing, precision conversion (for example, keeping a master-weight copy under BF16/FP16 mixed precision), and an initial split along the parallelism dimensions. A common approach is metadata loading plus lazy initialization, which avoids triggering a memory peak during initialization.

    2. Shard Scheduling: A Data Parallel Path Built on FSDP2

    Native Fully Sharded Data Parallel (FSDP2) is a common industry approach for training very large models today. Its key idea is that parameters, gradients, and optimizer states are all sharded within the data parallel group; parameter shards are all-gathered on demand during forward and backward computation and released immediately afterward, which pushes single-card memory usage down to roughly inverse proportion to the degree of parallelism. An illustrative configuration follows (semantic only, not a specific product interface):

    1. for layer in model.layers:
    2. fully_shard(layer) # wrap per layer to form sharding units
    3. fully_shard(model) # wrap the top level once more to consolidate communication boundaries
    4. opt = torch.optim.AdamW(model.parameters(), lr=1e-4)
    5. for step, batch in enumerate(loader):
    6. loss = model(batch).loss
    7. loss.backward() # backward triggers reduce-scatter to aggregate gradients
    8. opt.step() # update the local shard
    9. opt.zero_grad(set_to_none=True)

    Sharding granularity is the core trade-off: wrapping too coarsely raises the memory peak, while wrapping too finely makes the number of communication calls and scheduling overhead spike. In practice, the Transformer layer is usually the unit, with attention and expert modules handled separately.

    3. Gradient Synchronization and Cross-Node Communication

    Sixteen cards across two nodes means the data parallel group crosses a node boundary, and gradient aggregation switches from high-bandwidth intra-node interconnect to the inter-node network, making communication the main bottleneck. Common engineering mitigations include overlapping computation with communication (bucketed triggers during backward), gradient bucketing and fusion, introducing tensor or pipeline parallelism where necessary to reduce per-card load, and setting sensible timeout and retry thresholds for inter-node links so a slow node does not drag down the whole job.

    3. Stability Validation: What 400 Consecutive Steps Show

    Four hundred consecutive optimizer updates with finite loss and gradient norms throughout validate three things: correct numerical behavior of operators, no deadlock or out-of-order execution in communication primitives, and no memory leaks or handle exhaustion over long runs. This is far more valuable than “a single step runs,” because most failures in large-model training surface somewhere between the tens and the hundreds of steps.

    A recommended minimal monitoring set:

    • Log loss, global gradient norm, and parameter update norm every step, with a circuit breaker on non-finite values (NaN/Inf);
    • Monitor per-card peak memory and fragmentation rate, watching for a monotonic rise (a leak signal);
    • Record the step-time distribution across ranks, using the P99-to-median ratio to identify slow nodes;
    • Write checkpoints periodically and run a recovery drill to verify that sharded state and optimizer state can be fully restored.
    1. if not torch.isfinite(grad_norm) or not torch.isfinite(loss):
    2. save_checkpoint(step, reason="non-finite") # save the scene before exiting
    3. raise RuntimeError(f"abort at step {step}")

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

    What really blocks large models from scaling on domestic full-function GPUs is often not a missing operator here or there, but three engineering capabilities: operator coverage together with an automatic fallback path for custom operators; automatic search and tuning of parallelism strategies to cut down manual trial and error; and an automated toolchain covering distributed job orchestration, failure self-healing, and metrics collection wired to alerting. A reusable way to put this into practice: containerize training jobs and let a container platform schedule them; keep checkpoints and datasets in object storage; connect training metrics and logs to logging and monitoring/alerting services; and use a message queue to decouple data preprocessing from the main training flow.

    5. Practical Checklist

    1. Start with a small-scale canary validation: run a single node with a few cards for more than 200 steps before scaling up;
    2. Fix random seeds and data order so results stay comparable across hardware;
    3. Establish a numerical baseline, comparing loss curves of different parallelism configurations on the same small sample;
    4. Put communication topology and degrees of parallelism into configuration-as-code for reproducibility;
    5. For trillion-parameter scenarios, evaluate the memory and communication ceilings first, then decide on the parallelism combination.

    Overall, completing the training adaptation means domestic accelerator cards now have the usability to support full-pipeline training of frontier, complex models. Reaching “ready to train out of the box,” however, still requires continued refinement of the operator ecosystem, automatic tuning, and operations tooling.