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 full-function GPU actually proves—and what it does not. It clarifies the difference between adapting a model to run on new hardware and pretraining it from scratch, then walks through the native FSDP2 multimodal training path, the four stages of the pipeline, and why 400 consecutive optimizer updates across 16 cards on two nodes matter for cross-node communication, numerical stability, and long-run consistency. It also covers parallelism selection for near-trillion-parameter models, the four-layer toolchain needed to move from "it can train" to "ready to train out of the box," and a minimal acceptance checklist for evaluating whether domestic compute is usable.

    1. Background: A Training Adaptation, Not a Pretraining 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 completed the training adaptation of a flagship model with nearly 3 trillion parameters. Under a configuration of 16 cards across two nodes, the setup completed 400 consecutive optimizer updates with no numerical overflow and no abnormal interruptions.

    One easily confused distinction must be settled first: a successful training adaptation does not mean the model was pretrained on that chip. Adaptation answers a narrower question—whether a given model architecture, a given parallelism strategy, and a given combination of operators can be executed correctly and stably on the target hardware and software stack, and can complete parameter updates. Pretraining starts from random initialization and consumes enormous compute and data to actually build the model’s capabilities. The two differ completely in engineering difficulty, cost magnitude, and scope of responsibility.

    There is an industry precedent: the technical report of a leading model vendor verified the inference operator paths of two different accelerator architectures side by side. The focus of that verification was the executability of a fine-grained expert parallelism scheme, while the original pretraining compute source of the base model was never publicly confirmed. The lesson is that the value of an adaptation should be judged by which links it connected and which engineering problems it exposed and solved—not by equating it with “a domestic card trained this model.”

    2. Technical Core: What the Native FSDP2 Multimodal Training Path Connects

    The keyword of this adaptation is “native FSDP2.” FSDP (Fully Sharded Data Parallel) shards model parameters, gradients, and optimizer states along the data-parallel dimension, so each rank holds only a shard. Parameters are all-gathered on demand during forward and backward computation and released afterward, reducing per-card memory pressure from “the whole model” to “a shard plus temporary buffers.”

    “Native” emphasizes that this does not rely on bolt-on patches; instead, sharding, scheduling, communication, and operators run self-consistently inside the software stack. The full path typically has four stages:

    1. Model loading and sharding: Build a shard topology along transformer layer/module boundaries, determining the parameter shard and computation graph each card carries.
    2. Shard scheduling and forward/backward execution: All-gather layer by layer in the forward pass and discard after use; trigger reduce-scatter in backward order as gradients become ready.
    3. Gradient synchronization and parameter update: After shard gradients are reduced, each rank updates its local parameter shard, keeping the global state consistent.
    4. Multimodal tensor handling: Encoders for image and video modalities differ greatly in sequence length, requiring variable-length sequence packing, mask alignment, and peak-memory control.

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

    1. for step in range(total_steps):
    2. # Forward: pull each layer's shard, release after computation
    3. for layer in model.sharded_layers:
    4. param = all_gather(layer.shard, dim=dp_group)
    5. hidden = layer.forward(hidden, batch)
    6. release(param)
    7. loss = compute_multimodal_loss(hidden, labels)
    8. # Backward: reduce gradients as soon as they are ready, avoid full residency
    9. for layer in reversed(model.sharded_layers):
    10. grad = layer.backward(loss)
    11. reduce_scatter(grad, op="sum", group=dp_group)
    12. optimizer.step() # each rank updates only its local shard
    13. optimizer.zero_grad(set_to_none=True)

    3. Stability Validation: What 400 Consecutive Steps Show

    The experiment used cross-node joint training with 16 cards across two nodes. All 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout. The information content of this result concentrates on three points:

    • Cross-node communication works: Inter-node bandwidth and the collective communication library did not become a bottleneck or a failure source under real load.
    • Numerical behavior is controllable: No NaN/Inf appeared, indicating that operator implementations, the mixed-precision strategy, and normalization layer handling are correct.
    • Long-run consistency: 400 steps are enough to expose early instability from learning-rate warmup, gradient accumulation, and optimizer state initialization.

    In engineering practice, it is better to make “stability” an observable dashboard rather than reading logs after the fact:

    1. Health metrics: loss / grad_norm / parameter update norm / peak memory / communication time share
    2. Red-line rules: pause and checkpoint if grad_norm jumps for N consecutive steps, loss becomes non-finite, or memory approaches its limit

    4. Parallelism Selection: FSDP2 Is Not a Master Key

    The practical constraints for a near-trillion-parameter model are memory and bandwidth. A common combination is: FSDP for parameter sharding, tensor parallelism to split a single layer’s matrices and reduce per-card compute pressure, pipeline parallelism to split layers and lower peak memory, expert parallelism for sparse structures, and sequence/context parallelism for very long contexts. The selection principle is “first satisfy memory, then optimize throughput, and finally reduce communication.” The basis for judgment should be measured Model FLOPs Utilization and communication share, not theoretical peak.

    5. Engineering System: From “It Can Train” to “Ready to Train Out of the Box”

    The original text mentions several results of “domestic chips training domestic models,” covering from-scratch training of a foundation science model, full-stack native training of a 5D world model, and end-to-end training of an embodied brain model, while advancing toward trillion-parameter training. The common capability abstracted from these is a four-layer toolchain:

    1. Operator layer: Complete the operator library and auto-tuning coverage for matrix multiplication, normalization, attention, and variable-length masks.
    2. Parallelism layer: Automatic search of parallelism strategies and memory-throughput trade-offs.
    3. Stability layer: Checkpoint resume, fault self-healing, and gradient anomaly localization.
    4. Delivery layer: One-click launch of distributed jobs, with container platforms, object storage, logging services, and monitoring alerts completing environment delivery.

    For adopters, a minimal acceptance checklist can assess whether domestic compute is “trainable”: a minimal model runs on a single node; 16 cards across two nodes complete 400 steps without anomalies; the loss curve deviates from a reference implementation within a threshold; checkpoint-resume results are reproducible; and the training cost per token is calculable. Baidu AI Cloud likewise emphasizes reducing the barrier to using heterogeneous compute through standardized toolchains and observability systems in related practice, which is consistent with the direction described above.

    6. Conclusion

    The value of a training adaptation lies not in slogans but in turning every link—model loading, shard scheduling, gradient synchronization, and numerical stability—into verifiable, reproducible, and deliverable engineering capability. Only when operator coverage, parallelism strategies, and automated toolchains mature will frontier large models on domestic full-function GPUs have a practical basis for moving from “it can train” to “ready to train out of the box.”