A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: 16 Cards Across Two Nodes Run 400 Steps Stably

    This article explains how a domestic full-function GPU vendor completed training adaptation for a flagship model with nearly three trillion parameters, running 16 training processes across two nodes for 400 consecutive optimizer updates with stable loss and gradient norms. It clarifies why training adaptation is not the same as pretraining the model on the chip, why adaptation is harder than inference integration, how a native FSDP2 training path connects model loading, sharding, gradient synchronization, and optimizer updates, and what the 400-step run actually validates. It also outlines what is still needed to move from "training works" to a repeatable, operable workflow, along with a practical checklist for developers.

    1. What Happened: A Training Adaptation, Not a Pretraining Reproduction

    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 training adaptation for a flagship large model with nearly three trillion parameters. The test environment consisted of two nodes with 16 accelerator cards in total. All 16 training processes completed 400 consecutive optimizer updates, with loss values and gradient norms remaining finite throughout and no numerical overflow or task interruption.

    One common misunderstanding needs to be cleared up first: a successful training adaptation does not mean the model was pretrained on this chip. Adaptation answers whether the hardware and software can correctly run this class of model’s computation graph, parallelism strategy, and numerical behavior and keep it iterating stably. Pretraining also involves a whole set of engineering and algorithmic decisions, including data mixtures, training duration, compute scale, parallel topology, and tuning experience. Technical reports in the industry have used multiple hardware routes to jointly validate fine-grained expert parallelism schemes, but the original pretraining compute source of a base model is usually not disclosed. Therefore, the value of an adaptation effort should be judged by whether the pipeline is connected, whether the numerics are stable, and whether the result is reproducible enough, rather than being treated as proof of where the model’s capabilities came from.

    2. Why Training Adaptation Is Much Harder Than Inference Integration

    Inference integration leaves more room for error: a missing operator can be replaced with an equivalent implementation, precision deviations can be absorbed through calibration and post-processing, and a failed request can be retried. Training is different. It is a long-cycle, tightly coupled, numerically sensitive closed loop, and any small deviation in one link accumulates across time steps.

    Training adaptation must clear at least four barriers at the same time:

    1. Operator coverage and semantic consistency: All operators required for the forward pass, backward pass, and optimizer update must be present, and the backward semantics and numerical behavior must match the reference implementation.
    2. Composable parallelism strategies: Data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism must be freely composable and remain equivalent under different partitioning schemes.
    3. Numerical stability: Loss scaling, normalization, and gradient clipping under mixed precision must be reliable, avoiding overflow and silent precision collapse.
    4. Long-run recoverability: Checkpoint saving, restoration, and random number state alignment must be exact; otherwise, “running one step” and “running a thousand steps” are two different things.

    3. The Native FSDP2 Training Path: From Loading to Gradient Synchronization

    This adaptation built a native FSDP2 multimodal training path, connecting the full pipeline from model loading and shard scheduling to gradient synchronization. From an engineering perspective, the path contains five key stages:

    • Model loading and partitioning: Parameters are partitioned across training processes according to a sharding strategy, so no single card holds the full parameter set.
    • Shard scheduling and forward computation: Parameter shards are gathered on demand for computation and released immediately afterward to control peak GPU memory.
    • Backward pass and gradient reduction: Gradients are reduced across process groups, and the reduction order must strictly match the shard layout.
    • Optimizer update: Each process updates only the shards it owns, ensuring the parameter replicas are eventually consistent.
    • Multimodal tensor handling: Inputs from different modalities, such as images and text, require unified batching, masking, and positional encoding to avoid implicit broadcasting errors caused by shape mismatches.

    The illustrative control logic is as follows (it expresses the flow only, not a specific API):

    1. # Pseudocode: one step of FSDP2-style sharded training
    2. for step, batch in enumerate(loader):
    3. # batch may contain both text and image tensors
    4. with shard_context(model) as sharded:
    5. loss = model(**batch) # forward: gather shards on demand
    6. loss.backward() # backward: gradient reduction
    7. clip_grad_norm_(model, 1.0) # numerical stability: gradient clipping
    8. optimizer.step() # update only the shards owned by this process
    9. optimizer.zero_grad(set_to_none=True)
    10. if step % 50 == 0:
    11. log(step, loss, grad_norm) # log loss and gradient norm

    4. What the 400-Step Stable Run Actually Validates

    Two nodes, 16 cards, 16 training processes, and 400 consecutive optimizer updates: the significance of these numbers is not that the step count is large, but that the run covers the intervals where problems are most likely to surface:

    • The first few dozen steps expose issues with initialization, learning rate warmup, and loss scaling configuration.
    • The middle section exposes GPU memory fragmentation, communication jitter, and shard scheduling defects.
    • The long section exposes numerical drift, silent precision loss, and state synchronization deviations.

    To judge whether a run is “truly stable,” it is advisable to observe four types of signals at the same time: whether the loss curve decreases smoothly without spikes; whether the gradient norm stays in a reasonable range without a sustained monotonic increase; whether parameter replicas across processes remain consistent; and whether GPU memory and throughput degrade continuously. Looking only at loss convergence while ignoring gradient norms and replica consistency makes it easy to mistake “it hasn’t crashed yet” for “stable.”

    5. From “Training Works” to “Ready to Train Out of the Box”

    “Training works” is a lab state; “ready to train out of the box” is a product state. Moving between them requires a complete engineering system:

    1. Automated operator adaptation and regression: When a new model structure appears, the system should automatically locate missing operators and suggest equivalent implementations, backed by numerical consistency regression.
    2. Multi-card coordination and topology awareness: Parallelism combinations should be selected automatically based on interconnect bandwidth so communication does not become the bottleneck.
    3. Observability: Logging and monitoring alerts should cover loss, gradient norm, communication time, GPU memory levels, and process liveness.
    4. Fault tolerance and checkpoint resume: Saved state should include the model, optimizer, random numbers, and data loading progress, and the curve should connect smoothly after restoration.
    5. Toolchain lowering: Parallelism configuration, precision policies, and stability switches should be packaged as ready-to-use templates by default to lower the barrier to entry.

    For cloud deployment, a container platform can handle environment delivery, object storage can hold datasets and checkpoints, a message queue can decouple data preprocessing, and monitoring and alerting can keep long-running tasks observable, turning a one-off adaptation into a repeatable, operable routine capability.

    6. A Practical Checklist for Developers

    • Validate the pipeline with a small model and a short run first, then scale up to the target size.
    • Fix random seeds and record the data loading order to ensure reproducibility.
    • Perform layer-by-layer numerical comparison on key layers to locate the source of deviations.
    • Include gradient norm and parameter replica consistency among the must-check metrics.
    • Produce regression test cases from each adaptation so they accumulate as reusable assets.

    In summary, a domestic full-function GPU completing training adaptation for a nearly trillion-parameter model marks a shift in hardware-software collaboration from “usable at a single point” to “a trustworthy pipeline.” For developers, what really matters is not the number from one successful run, but whether this complete capability—spanning operator adaptation, multi-card coordination, and an automated toolchain—can turn frontier large model training into a reproducible everyday engineering task.