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

    This article explains what "training adaptation" means and why it is not the same as pre-training a model from scratch. It covers why adapting a training pipeline is harder than adapting inference, breaks down a native FSDP2 training path across model loading, shard scheduling, gradient synchronization, and state updates, and discusses what 400 consecutive optimizer updates on 16 GPUs across two nodes actually validate. It closes with an engineering checklist for moving from "it trains" to "ready to train out of the box," plus practical advice and risk notes for developers.

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

    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 nearly 3 trillion parameters. On a configuration of two nodes with 16 cards in total, the setup completed 400 consecutive optimizer updates without numerical overflow or abnormal interruption.

    One easily confused distinction has to be made clear first: training adaptation is not the same as completing pre-training on that chip. Adaptation means the model structure, operators, parallel strategy, and training pipeline can run correctly and stably on the target hardware. Pre-training means producing the weights from scratch, consuming enormous compute and data. The former is an engineering usability question; the latter is a question of compute investment and data engineering. A common industry practice is to complete base-model pre-training on a mature ecosystem first, then run adaptation and validation on domestic hardware. So a news item about a successful adaptation does not directly tell you where the original compute for the base weights came from.

    2. Why Training Adaptation Is Much Harder Than Inference Adaptation

    Inference only requires the forward pass and leaves plenty of room for error. Training must keep four stages correct at once, both numerically and in communication: forward, backward, gradient synchronization, and optimizer state update.

    1. Breadth of operator coverage: Training needs backward operators, mixed-precision scaling, and high-precision accumulation in normalization layers. A single missing operator can break the pipeline.
    2. Numerical stability: Low-precision training is prone to loss spikes and exploding gradient norms, which requires loss scaling, gradient clipping, and high-precision fallback for critical operators.
    3. Communication complexity: Once data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism are stacked together, the communication topology and scheduling order both affect convergence.
    4. State management: Optimizer states such as momentum and second moments often take several times the memory of the parameters themselves, so the sharding strategy decides whether the model fits at all.

    3. Breaking Down the Native FSDP2 Training Path

    The approach builds a native FSDP2 multimodal training path that connects the full chain from model loading to shard scheduling to gradient synchronization. The engineering meaning breaks into four parts:

    • Model loading: Parameters are split at shard granularity so no single card holds the full weights.
    • Shard scheduling: Parameters are all-gathered on demand for forward and backward passes and released immediately after computation, lowering peak memory.
    • Gradient synchronization: Gradients are bucketed and reduce-scattered during the backward pass, overlapping with computation to hide communication latency.
    • State update: Optimizer states are sharded as well, and each rank updates only the shard it owns.

    The pseudocode below is illustrative and only expresses the scheduling semantics; it does not refer to any specific API:

    1. # Pseudocode: core semantics of one sharded training step
    2. for micro_batch in micro_batches:
    3. params = all_gather(shard_params) # gather parameters on demand
    4. loss = model(micro_batch, params) # forward
    5. grads = backward(loss) # backward
    6. reduce_scatter(grads) # sharded gradient reduction
    7. optimizer.step(shard_params, grads) # sharded update

    4. What 400 Consecutive Stable Steps Actually Validate

    Two nodes, 16 cards, 16 training processes, 400 consecutive optimizer updates, with loss and gradient norms finite throughout. This shows not that the job “runs,” but that it “runs stably.” The validation points typically include:

    1. Numerical finiteness monitoring: Sample loss, gradient norm, and parameter norm at every step, and abort immediately on anomalies while preserving the state.
    2. Cross-node communication correctness: In a multi-node setting, the order and precision of gradient reduction must be reproducible.
    3. Long stability rather than a moment in time: Hundreds of consecutive steps expose hidden issues such as memory fragmentation, communication jitter, and slow nodes.
    4. Reproducibility: Fixing random seeds and data order keeps the curves of two experiments comparable.

    5. An Engineering Checklist for Going From “It Trains” to “Ready to Train Out of the Box”

    • Operator layer: Build an operator coverage matrix and fallback strategy so missing operators automatically switch to high-precision implementations.
    • Parallelism layer: Provide automatic parallel-strategy search and memory estimation to avoid repeated manual trial and error.
    • Tooling: Have the logging service collect training metrics uniformly, with monitoring and alerts that flag loss spikes and slow nodes in real time.
    • Ecosystem layer: Keep model definitions and training scripts as generic as possible to lower migration cost.

    6. Practical Advice and Risk Notes

    The practical advice for developers is to start with small-scale, short-run convergence alignment before scaling up to multi-node long stability runs; to make numerical monitoring and automatic checkpoint resume default capabilities; and to keep a rational expectation about “adaptation complete” announcements, focusing on the validation scale, the number of consecutive steps, and the numerical behavior rather than a single conclusion. Domestic full-function GPUs keep accumulating experience in the direction of running domestic models on domestic chips, and the key to advancing trillion-parameter training remains the long-term refinement of three things: operators, communication, and tooling.