Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter LLM: 400 Stable Steps on 16 GPUs Across Two Nodes

    This article breaks down a recent training adaptation milestone in which a domestic full-function GPU vendor ran a nearly three-trillion-parameter flagship model on 16 GPUs across two nodes for 400 consecutive optimizer updates without numerical overflow. It clarifies the difference between training adaptation and pre-training, explains why adaptation is harder than inference adaptation, and examines a native FSDP2 multimodal training path covering model loading, sharding, gradient synchronization, and numerical stability. The article closes with a reusable engineering checklist for adapting large-model training to domestic accelerators.

    From “It Can Train” to “Train Out of the Box”: A Engineering Breakdown of Domestic GPU LLM Training Adaptation

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

    A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference compute card and its in-house software stack, it quickly completed the training adaptation of a flagship large model with a parameter scale of nearly three trillion. Under a configuration of two nodes with 16 cards in total, the setup completed 400 consecutive optimizer updates without any numerical overflow or abnormal interruption.

    One common misunderstanding must be cleared up first: training adaptation is not the same as pre-training.

    • Pre-training: Starting from randomly initialized weights, parameters are repeatedly updated over massive corpora. The original compute source serves as a “birth certificate” for the model’s capabilities.
    • Training adaptation: Building on an existing model architecture, weights, and training scripts, this verifies whether the target hardware and software stack can correctly and stably run the full training pipeline (loading, sharding, forward pass, backward pass, gradient synchronization, and optimizer updates).

    There have been cases in the industry where the compute source for a base model’s pre-training was never officially disclosed, while multiple operator verification paths were carried out on the inference side. So when you see “adaptation completed,” the correct interpretation is: the model can be trained or further trained on this hardware, rather than having been pre-trained from scratch on it.

    2. Why Training Adaptation Is Much Harder Than Inference Adaptation

    Inference only cares about numerical correctness and throughput for a single forward pass. Training, by contrast, is a long-running, tightly coupled systems engineering effort that is extremely sensitive to numerical stability.

    2.1 A Longer Pipeline, a Larger Failure Surface

    The training pipeline includes at least: data loading → model loading → sharding and scheduling → forward computation → loss computation → backpropagation → gradient reduction → optimizer update → checkpoint saving. A missing operator, a precision deviation, or a communication error at any stage can halt training or produce abnormal loss.

    2.2 Numerical Stability Is a Hard Requirement

    Inference tolerates a certain amount of numerical error. Training requires the loss and gradient norm to stay finite, with no NaN or Inf, over hundreds of steps. Implementation details such as loss scaling under mixed precision, gradient clipping, and normalization layers (e.g., LayerNorm/RMSNorm) directly affect stability.

    2.3 Communication and Parallelism Strategies Are Coupled

    Data parallelism (DP), tensor parallelism (TP), pipeline parallelism (PP), expert parallelism (EP), and parameter sharding schemes (such as FSDP/ZeRO-style approaches) must be co-designed with the hardware topology and interconnect bandwidth. In cross-node scenarios, the communication volume of gradient synchronization becomes a bottleneck.

    3. Technical Breakdown: What the Native FSDP2 Multimodal Training Pipeline Connects

    The vendor disclosed that it built a native FSDP2 multimodal training path, connecting the full pipeline from model loading and sharding to gradient synchronization. Let’s break down its engineering meaning layer by layer.

    3.1 Model Loading and Sharding

    The core idea of FSDP2 is parameter sharding: each card holds only part of the parameters, performs an All-Gather on demand during the forward and backward passes, and re-shards after the update. Compared with traditional data parallelism, memory usage drops substantially, making a nearly trillion-parameter model feasible across multiple cards.

    Illustrative pseudocode (semantics only, not a specific API):

    1. # Pseudocode: semantics of the sharded training loop
    2. for step, batch in enumerate(loader):
    3. with no_sync_if_needed(step): # skip gradient sync for the first few steps to reduce overhead
    4. loss = model(batch).loss
    5. loss.backward()
    6. grad_norm = clip_grad_norm_(model, max_norm=1.0)
    7. optimizer.step()
    8. optimizer.zero_grad()
    9. if not isfinite(loss) or not isfinite(grad_norm):
    10. raise NumericalError(step) # abort immediately on numerical anomalies for easier diagnosis

    3.2 What Makes Multimodal Training Different

    Multimodal models typically contain a vision encoder, a language backbone, projection layers, and multiple loss terms. The adaptation challenges are: operator coverage differs across submodules, the data loading pipeline is heterogeneous (image decoding and text tokenization have very different throughput), and loss weights require careful tuning. Native support means these submodules share the same sharding and communication mechanisms rather than relying on bolt-on patches.

    3.3 The Validation Value of 16 GPUs Across Two Nodes and 400 Steps

    The experiment used 16 cards across two nodes for joint cross-node training, with 16 training processes completing 400 consecutive optimizer updates while the loss and gradient norm stayed finite throughout. The key points of this validation design:

    • Cross-node: It genuinely exposes the communication bottlenecks and latency jitter of the inter-node interconnect.
    • 400 steps: Enough to cover early unstable intervals such as learning-rate warmup, loss-scaling stabilization, and gradient statistics convergence.
    • Finite throughout: It shows that operator numerical behavior, reduction order, and the mixed-precision strategy are all under control.

    4. A Reusable Engineering Checklist

    If you want to complete a similar adaptation on a domestic accelerator, proceed in this order:

    1. Operator coverage audit: First align numerics operator by operator with unit tests (relative error thresholds), prioritizing high-frequency training-side operators (attention, normalization, loss functions).
    2. Three-tier validation: single card → single node → multi-node: Validate numerics on a single card, throughput and memory on a single node, and communication and stability across multiple nodes.
    3. The three essentials of numerical stability: loss scaling, gradient clipping, and anomaly detection (NaN/Inf monitoring), while retaining per-step loss and gradient norm logs.
    4. Checkpoints and fault tolerance: Save checkpoints periodically and support resuming from a checkpoint, so a long training run is not lost to a single point of failure.
    5. Observability: Connect to a general-purpose logging service and monitoring/alerting, and build dashboards for the loss curve, gradient norm, communication time, and memory usage.
    6. Automated toolchain: Script operator tests, distributed launch, and configuration management to reduce manual intervention and move toward “train out of the box.”

    5. The Industry Landscape: Multiple Forms of Domestic Chips Training Domestic Models

    From public information, training domestic models on domestic compute has already taken multiple forms: a complete from-scratch training of a scientific foundation model (about 236 billion parameters), full-stack native training supporting a 5D world model, a full-pipeline training of an embodied brain model completed with research institutions, and a trillion-parameter-scale model training now underway. Together, these cases show that adaptation capability is moving from “it runs” toward “reproducible and scalable.”

    6. Conclusion: Adaptation Is the Starting Point, Train Out of the Box Is the Goal

    The essence of training adaptation is polishing the five layers of “model–operator–communication–scheduling–toolchain” into something reusable. For developers, the focus should not stay on how many steps a given run completed, but on whether it has: complete operator coverage, stable numerical behavior, cross-node scaling efficiency, and an automated toolchain. Only when these are accumulated can large-model training on domestic full-function GPUs truly move from “it can train” to “train out of the box.”