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

    This article explains what it means when a domestic full-function GPU vendor announces training adaptation for a nearly three-trillion-parameter open-source flagship model, and why adaptation is not the same as pretraining a foundation model on that hardware. It breaks down why large-model training adaptation is harder than inference deployment, the core role of a native FSDP2 training path, the engineering challenges of two-node 16-card cross-node parallelism, and what 400 consecutive stable optimizer updates actually demonstrate. It also outlines a four-level maturity ladder from "can run" to "ready to train out of the box" and practical acceptance advice for engineering teams.

    1. Background: Training Adaptation Is Not the Same as Pretraining

    A domestic full-function GPU vendor recently announced that it had completed training adaptation for an open-source flagship model with a parameter count close to three trillion. On 16 training-and-inference compute cards across two nodes, the setup completed 400 consecutive optimizer updates, with the loss and gradient norm staying finite throughout and no numerical overflow or task interruption.

    One easily confused distinction must be cleared up first: training adaptation is not the same as pretraining a foundation model on the chip. Adaptation means making the model’s complete training pipeline (loading, sharding, forward pass, backward pass, gradient synchronization, optimizer update, checkpoint saving) run correctly and stably on the target hardware and software stack. The original compute source for foundation pretraining is a separate question, usually not disclosed by the party doing the adaptation. A common industry practice is to validate operators and parallel strategies across multiple hardware routes side by side in a technical report; this is validation at the inference or individual-operator level and cannot be used to infer where pretraining compute came from.

    Separating these two things is the prerequisite for evaluating any “domestic chip trains a large model” claim.

    2. Why Adapting Ultra-Large Model Training Is Much Harder Than Inference Deployment

    Inference deployment failures are usually “deterministic failures”: an unsupported operator throws an error, insufficient memory causes an OOM, and problems surface quickly and are easy to locate. Training adaptation failures tend to be “probabilistic failures,” showing up as:

    • Numerical instability: the loss becomes NaN or Inf, or the gradient norm suddenly jumps, often after thousands of steps and coupled with data distribution, learning rate, and mixed-precision strategy.
    • Communication deadlock and timeouts: cross-node collective communication occasionally hangs under a specific topology and cannot be reproduced at small scale.
    • Memory fragmentation and peak jitter: after activation recomputation and optimizer-state sharding stack up, peak memory fluctuates per step and eventually overflows on some long-sequence sample.
    • Coupling between throughput and convergence: tuning parallel partitioning or recomputation granularity to raise throughput can quietly change numerical behavior and shift the convergence curve.

    So the acceptance criterion for training adaptation cannot be “can it run one step”; it must be numerical finiteness and repeatability across many consecutive steps.

    3. The Native FSDP2 Training Path: The Core Lever for Adaptation

    This adaptation built a native FSDP2 (fully sharded data parallel) multimodal training path. Compared with traditional approaches, its key value is organizing parameters, gradients, and optimizer states all by shards, which significantly reduces per-card memory pressure; the sharding semantics are clear and decoupled from the model structure, making it easy to port to different hardware backends.

    A typical training loop can be abstracted as:

    1. for step, batch in enumerate(loader):
    2. with torch.autocast(dtype=torch.bfloat16):
    3. loss = model(batch).loss # Forward pass; parameters all-gathered on demand
    4. loss.backward() # Backward pass; gradients reduce-scattered into shards
    5. grad_norm = clip_grad_norm_(model, 1.0)
    6. opt.step(); opt.zero_grad() # Optimizer states updated as local shards
    7. assert torch.isfinite(loss) and torch.isfinite(grad_norm)

    The focus of the adaptation work is to make every line above land on efficient and numerically correct operators on the domestic GPU backend: all-gather/reduce-scatter must match the interconnect topology, bf16 accumulation precision must be guaranteed, and gradient clipping must aggregate correctly across shards.

    4. Two Nodes, 16 Cards: Engineering Challenges of Cross-Node Parallelism

    Single-node multi-card setups usually rely on high-bandwidth on-chip interconnect, while cross-node communication depends on the network. In a two-node, 16-card scenario, the key issues are:

    1. Combining parallel strategies: how data-parallel sharding stacks with multimodal tensor/pipeline parallelism determines the balance point between communication volume and memory.
    2. Overlapping communication and computation: trigger communication per bucket during backpropagation to avoid serial waiting; bucket size needs tuning against measured bandwidth.
    3. Topology-aware process binding: misconfigured NUMA and NIC affinity can halve effective bandwidth.
    4. Fault tolerance and observability: set reasonable collective-communication timeouts, enable asynchronous error handling, and collect loss, gradient norm, per-card peak memory, and per-rank throughput in one place to align on the step where a problem occurs.

    5. What 400 Consecutive Stable Steps Mean

    400 consecutive optimizer updates is a threshold with engineering meaning: it is enough to cover multiple cycles of the data loader, pass the learning-rate warmup phase, and fully expose issues such as memory peaks, communication jitter, and accumulated numerical error. The criteria can be fixed into an acceptance checklist:

    • No training process exits abnormally and no rank falls behind;
    • Loss and gradient norm stay finite throughout, with no overflow;
    • Checkpoints save and restore normally, and resumed-training loss is continuous;
    • Multi-node and single-node results agree within an acceptable error margin (repeatability).

    6. The Maturity Ladder from “Can Train” to “Ready to Train Out of the Box”

    Drawing on industry practices already in place for running domestic models on domestic chips (covering from-scratch training of hundreds-of-billions-parameter scientific foundation models, full-stack native training of world models, end-to-end training of embodied-brain models, and progress toward trillion-parameter training), maturity can be divided into four levels:

    Level Capability Typical Marker
    L1 Can run inference Operators available A single forward pass is correct
    L2 Can train one step Pipeline connected Backward pass and update run
    L3 Can train stably Numerical and fault-tolerance standards met Hundreds of consecutive steps without anomalies
    L4 Ready to train out of the box Toolchain automation Migration cost approaches zero

    The key from L3 to L4 is operator-library coverage, automatic search over distributed strategies, and an automated diagnostic toolchain. On the cloud side, this is usually paired with containerized scheduling, object storage for checkpoints, and logging and monitoring/alerting services for long-run stability observation. General cloud product categories on platforms such as Baidu AI Cloud can also take on similar training-hosting and observability responsibilities.

    7. Practical Advice for Engineering Teams

    • Validate numerical correctness at small scale first, then scale to multiple nodes gradually, avoiding “scale masking problems”;
    • Fix random seeds and data order to establish a reproducible baseline;
    • Put gradient norm, peak memory, and communication time into routine monitoring rather than after-the-fact investigation;
    • Judge adaptation acceptance by the three factors of “consecutive steps + numerical finiteness + resumable training,” not by single-step success.

    Overall, training adaptation is a necessary engineering step for domestic compute to become usable; the difficulty lies not in any single operator but in full-pipeline stability and toolchain maturity.