Domestic GPU Training Adaptation in Practice: 400 Full Steps on 16 Cards Across Two Nodes

    A domestic full-function GPU vendor adapted its flagship training-and-inference AI accelerator and its in-house unified software stack to a flagship LLM with nearly 3 trillion parameters, completing 400 consecutive optimizer updates across 2 servers with 16 cards in total, with loss and gradient norms staying finite throughout. This article unpacks the methodology behind that result — "one path, two criteria, three phases" — and clarifies three points that are easy to conflate: the difference between inference adaptation, training adaptation, and base-model pretraining; why FSDP2 (fully sharded data parallel) is the key enabler for this kind of adaptation; what a bounded-step test like this actually verifies; and how teams can evaluate domestic compute using a reusable acceptance checklist. It also maps a maturity model from "can run" to "out-of-the-box training."

    Introduction: Why a 400-Step Test Is Worth Dissecting

    Recently, a domestic full-function GPU vendor disclosed that, built on its flagship training-and-inference AI accelerator card and its in-house unified software stack, it quickly completed training adaptation for a flagship LLM with nearly 3 trillion parameters. The test ran on 2 servers with 16 accelerator cards in total, where 16 training processes cooperated to complete 400 consecutive optimizer updates. Throughout the run, loss values and gradient norms stayed finite, with no numerical overflow and no task interruption.

    This news is easy to read in two extremes: either “domestic GPUs can already train trillion-parameter models” or “it only ran 400 steps, so it means little.” Neither reading is accurate. A more accurate understanding is that it validates the usability of the training pipeline, not full pretraining. What is genuinely worth attention is the general methodology behind it, which can be summarized as “one path, two criteria, three phases”:

    • One path: fully sharded data parallel built on parameter sharding;
    • Two criteria: functional acceptance, and numerical stability across consecutive steps;
    • Three phases: from “can train” to “trains stably,” and then to “out-of-the-box training.”

    This article centers on that methodology and includes a reusable acceptance checklist.

    1. Clarifying the Concepts: Training Adaptation, Inference Adaptation, and Pretraining Compute

    1.1 Three capabilities that are often conflated

    The industry often lumps “adaptation” into a single idea. It can be separated into at least three layers:

    • Inference adaptation: the model correctly completes forward computation on the target hardware and meets business requirements for throughput, latency, and memory footprint.
    • Training adaptation: the model completes a full “forward — backward — parameter update” iteration on the target hardware, and stays numerically stable in multi-card or even cross-node environments.
    • Base-model pretraining: training a base model from scratch on large-scale corpora. This is the process that produces model weights, and it is a separate matter from “where something was validated.”

    1.2 “Can train on some hardware” is not the same as “pretrained by that hardware”

    According to public reports, one open-source LLM team, in the technical report for a later model, presented validation results that placed two domestic accelerator architectures alongside the GPU route, mainly reflecting fine-grained expert-parallelism validation. The industry broadly understood this as validation of inference-side operators and parallel strategies, while where the model’s base-model pretraining compute came from was not publicly disclosed.

    This illustrates the point well: operator availability ≠ full-pipeline availability, and a successful validation ≠ compute ownership. To assess how far a model-hardware adaptation has progressed, a more reasonable lens is which layer it has reached:

    Capability level Core question Main output Typical validation scope
    Operator / single-card adaptation Is a single operator’s result correct, and does performance meet target Operator accuracy and performance report Single card, single operator
    Single-machine multi-card validation Do data parallelism and gradient sync work on one machine Single-machine training curve Multiple cards within one server
    Cross-node distributed validation Are cross-machine communication, parameter sharding, and parallel strategy correct Multi-node training logs and stability metrics A few nodes, limited steps
    Full pretraining Can a usable base model be trained within acceptable time and cost Model weights Large-scale cluster, weeks to months

    1.3 Why training adaptation is harder than inference adaptation

    • Longer computation graph: training must additionally implement backward operators and optimizer-update operators. Backward operators depend on the activations saved during the forward pass, making them far more complex to implement and debug than inference.
    • More state: beyond parameters and gradients, there is also optimizer momentum, mixed-precision master weights, and more.
    • Higher numerical sensitivity: multi-card gradient reduction amplifies rounding error, which can accumulate over long runs and surface as loss anomalies or gradient explosions.
    • Higher fault-tolerance demands: running thousands of cards for weeks, an occasional error in any single card, link, or operator can waste an entire training run.

    2. Why FSDP2 Is the Key Path for This Training Adaptation

    2.1 What parameter count means for memory

    Start with memory. Take mixed-precision training as an example: for each parameter, besides a 2-byte half-precision copy, there is usually a 4-byte master-weight copy, plus 4-byte first-order and 4-byte second-order momentum. Together this is roughly 16 bytes per parameter. If all of it were placed on a single card, this state alone would require about 48 TB of memory. Training also adds activations and communication buffers on top, which is far more than simply stacking the data-parallel memory of 16 cards together could hold.

    The three common memory-saving approaches each come with a cost:

    • Tensor parallelism: splits a single layer’s weights across cards, communication is frequent, and it is better suited to the high-speed interconnect within one node;
    • Pipeline parallelism: partitions layers across different devices, which introduces pipeline bubbles;
    • Parameter sharding: each card keeps only a portion of the parameters, gradients, and optimizer state, aggregating on demand. This is the core idea of fully sharded data parallel (FSDP).

    2.2 The engineering gains from FSDP2

    FSDP2 represents a “sharding-first” design paradigm. Compared with traditional data parallelism and earlier parameter-sharding implementations, it brings three changes:

    1. Parameters stay resident as shards: each card holds only part of the global parameters, and optimizer updates are performed directly on the local shard. There is no longer a separate unsharded parameter copy to maintain, so the memory accounting is clearer.
    2. Fewer communication primitives: the forward and backward passes each only need to all-gather parameters on demand, while gradient reduction uniformly goes through “reduce-scatter + all-gather.” The implementation path is shorter and easier to optimize at the operator level on heterogeneous hardware.
    3. Easy to combine with other parallelism: sharded parameters are organized in a unified data structure, so the boundaries are clearer when stacking tensor parallelism, pipeline parallelism, expert parallelism, and others.

    The cost is that both the forward and backward passes each need one parameter all-gather. Whether communication and computation can be sufficiently overlapped directly determines end-to-end efficiency. This is also where cross-node training must focus its tuning.

    2.3 A complete training pipeline

    According to the vendor’s public disclosure, this adaptation built a native FSDP2 multimodal training path that connected three key stages. The following expands on each with general principles.

    • Model loading: convert a single model definition into a sharded state, partitioned across training processes according to the parallel strategy.
    • Sharded scheduling: the forward pass all-gathers parameters on demand and releases them after use; the backward pass re-gathers them, computes gradients, and then reduce-scatters the gradients to the shards that own them.
    • Gradient sync: cross-machine gradients are reduced over the high-speed network, and each card performs the update based on its own shard.

    Mapped to a single training step, the pseudocode is as follows (illustrating the execution logic only):

    1. # Pseudocode: typical execution flow of one training step under the FSDP2 path
    2. for step in range(1, total_steps + 1):
    3. # 1. Forward: all_gather sharded parameters layer by layer, release after compute
    4. loss = forward_sharded(model, batch)
    5. # 2. Backward: all_gather parameters again, then reduce_scatter the gradients
    6. loss.backward()
    7. # 3. Optimizer: each process updates only the shard it owns
    8. optimizer.step()
    9. optimizer.zero_grad()
    10. # 4. Check: any NaN/Inf -> log and abort
    11. assert_finite(loss, grad_norm)

    3. What the 400-Step Validation Actually Verified

    3.1 A “small cluster, long pipeline” test

    16 cards is only a small cluster, but this pipeline is not short:

    • from model definition to sharded loading;
    • from forward all-gather, backward reduction, to sharded updates;
    • from cross-node communication to mixed-precision numerical management.

    In other words, this validates, on a limited number of nodes, a training pipeline that can scale to larger setups. Fully training a nearly 3-trillion-parameter model from scratch requires hundreds or even thousands of cards running for weeks or more, and 400 steps is just a slice of that.

    3.2 The engineering logic behind the choice of step count

    400 steps is a trade-off between “surfacing numerical problems” and “testing cost”:

    • Too short: for example, a few dozen steps, which can easily mask problems through warm-up and communication jitter;
    • Too long: for example, several thousand steps, where a single regression test consumes a large amount of card-hours;
    • Several hundred steps: enough to bring the loss, gradient norm, and throughput curves into a comparable stable range, and a common practice in the industry for adaptation regression testing.

    3.3 Two acceptance criteria

    The vendor’s disclosed acceptance conclusion is that “all 16 training processes completed 400 consecutive optimizer updates, loss and gradient norms stayed finite throughout, with no overflow and no interruption.” This can be split into two:

    • Functional acceptance: all processes stay engaged, no steps are missing, which is equivalent to no process dropping out of the gradient-reduction collective.
    • Numerical-stability acceptance: loss and gradient norms stay finite throughout, with no NaN/Inf and no early exit triggered by anomalies.

    3.4 Acceptance is more than “no errors reported”

    A more complete acceptance should cover the following dimensions:

    • Numerical health: loss and gradient norms are finite, and the gradient norm stays stable near the clipping threshold;
    • Convergence trend: loss declines overall, without prolonged “plateauing”;
    • Progress continuity: the number of completed steps matches expectations, with no process timeouts or dropouts;
    • Stable throughput: samples per unit time show no cliff-like drop, which helps identify lagging slow nodes;
    • Hardware health: no memory ECC errors, link slowdowns, or other hardware events.

    A minimal monitoring logic to reference:

    1. window = [] # keep recent steps' metrics to detect trend anomalies
    2. for step in range(1, total_steps + 1):
    3. metrics = train_one_step()
    4. # 1. Numerical health: loss and grad norm must be finite
    5. assert isfinite(metrics.loss) and isfinite(metrics.grad_norm)
    6. # 2. Progress and throughput: steps continuous, no cliff-like throughput drop
    7. assert metrics.step == step
    8. window.append(metrics.throughput)
    9. if len(window) >= 20:
    10. assert median(window) / mean(window) > 0.8 # adjust the threshold to your baseline
    11. # 3. Trend: loss should trend downward within the sliding window
    12. # 4. Hardware: no memory ECC errors, no link degradation events

    4. From One Model to a Class of Models: Reusing Training Adaptation Experience

    The vendor also disclosed that it has completed a full training run from scratch for a 236-billion-parameter scientific foundation model, supported the full-stack native training of the world’s first five-dimensional world model, and jointly completed end-to-end training of an embodied-brain model with research institutions. These workloads differ greatly in form and place different demands on the training pipeline.

    Workload type Typical characteristics Training adaptation focus
    Scientific foundation model Multimodal scientific corpora, long sequences, high numerical precision Long-context memory management, backward operator accuracy
    World model Video/spatiotemporal data, coupled spatiotemporal dimensions, long sequences Data pipeline throughput, long-sequence attention, activation recomputation
    Embodied-brain model Vision, language, and action multi-source inputs, end-to-end joint training Multimodal encoding operators, multi-source data alignment
    Trillion-parameter LLM Large parameter scale, complex expert/layer partitioning Coordinating multiple parallel strategies, fault tolerance, checkpoint resume

    It should be noted that these cases are training-related results disclosed by the vendor. “Full-stack native” usually means that every stage — from model definition, parallel strategy, and data pipeline to checkpoint — was re-adapted on the target software stack, rather than directly porting existing implementations.

    Three shared lessons can be distilled:

    • Operators must cover the full pipeline: operators such as the vision encoders and long-sequence attention used in multimodal models appear far more frequently in training than in inference, and any missing stage will break the pipeline.
    • The data pipeline must not become a bottleneck: multi-source data such as video, point clouds, and action sequences is often preprocessed on the CPU first, so I/O and preprocessing capacity must match compute throughput.
    • Checkpoints must be usable across the full stack: sharded parameters and optimizer state must be fully restorable, with room left for later migration across scales.

    5. From “Can Train” to “Out-of-the-Box Training”

    “Can train” is only the starting point. In large-model training workloads, failures are almost the norm: single-card memory ECC errors, node network jitter, and transient storage congestion can all occur. To make training usable out of the box, capabilities must at least be built up in the following three areas:

    1. Operator adaptation: establish an automated accuracy-regression mechanism for backward and optimizer operators, so that every version upgrade does not require hitting the same pitfalls again.
    2. Multi-card coordination: set performance baselines for collectives such as parameter all-gather and gradient reduce-scatter, and provide one-click parallel-strategy recommendation and tuning.
    3. Automated toolchain: cover environment preparation, training launch, health checks, fault localization, checkpoint recovery, and experiment management, so users can focus their energy on the model and the algorithm.

    A platform can be assessed with the following maturity model:

    Level Capability description Typical user operation
    L1 Runs A single model runs basic iteration on a single machine Requires heavy manual code changes and parameter tuning
    L2 Stable Multi-machine continuous training runs for a long time without abnormal exit Needs dedicated monitoring and manual recovery
    L3 Efficient Throughput approaches the hardware’s theoretical limit, parallel strategy auto-selected Good efficiency with little tuning
    L4 Fault-tolerant Automatically detects faulty nodes and resumes training automatically Minute-level recovery after a failure
    L5 Out-of-the-box Mainstream model architectures are ready to use, toolchain fully automated Submit a job and start training

    This 400-step validation is essentially about moving the capability from L1 toward L2 and laying the groundwork for L3 and beyond. For teams preparing to adopt domestic compute, it is advisable to run a small-scale pilot against the following checklist:

    • Functional acceptance: cover the target model’s key structures, such as attention, normalization, and expert routing;
    • Stability acceptance: at least several hundred steps of continuous training, monitoring loss, gradient norm, throughput, and hardware events;
    • Compatibility acceptance: integration of the training framework, data formats, and checkpoint read/write with existing workflows;
    • Scalability acceptance: scaling from a single machine to multiple machines, observing throughput scaling efficiency and long-run stability;
    • Engineering acceptance: fault-injection drills to verify that automatic recovery and checkpoint resume are reliable.

    For teams that need elastic compute, this kind of validation can also be carried out on cloud GPU compute and containerized scheduling platforms, typically paired with logging services and monitoring/alerting to quickly stand up an observable and reproducible training-validation environment.

    Conclusion

    From inference deployment to full-pipeline training, domestic full-function GPUs are crossing a key threshold. The value of this disclosure — 16 cards across two nodes, 400 consecutive training steps — lies not in an isolated step count, but in the fact that it demonstrates a reproducible, measurable validation method: use parameter sharding to connect the pipeline, use a bounded number of steps to surface numerical problems, and use observable metrics to support acceptance.

    The next question is whether these capabilities can be replicated stably and efficiently at thousand-card scale and beyond, and whether they can hold up without interruption or drift over long runs of thousands or tens of thousands of steps. The continued refinement of operator adaptation, multi-card coordination, and automated toolchains will determine how fast domestic compute moves from “can train” to “out-of-the-box training.”