A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: 16 Cards Across 2 Nodes Run 400 Steps Stably
This article explains what a domestic full-function GPU vendor's training adaptation for a nearly 3-trillion-parameter model actually proves, and why adaptation is not the same as base pre-training. It walks through the native FSDP2 training path (model loading, shard scheduling, and gradient synchronization), interprets what 400 consecutive optimizer updates across 16 cards on 2 nodes say about numerical health and cross-node communication, and provides an engineering checklist for moving from "it runs" to reproducible training on domestic compute. Readers will learn which metrics to collect, how to choose parallelism and precision strategies, and how to set realistic expectations for long-cycle training.
1. Background: A Training Adaptation, Not Pre-Training from Scratch
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 training adaptation for a flagship large model with nearly 3 trillion parameters. Under a configuration of 2 nodes with 16 cards in total, the setup completed 400 consecutive optimizer updates without numerical overflow or abnormal interruption.
One easily confused distinction must be clarified first: training adaptation is not base pre-training.
- Training adaptation means the model structure, operators, parallelism strategy, and communication paths can be correctly loaded, run forward, run backward, and updated on the target hardware. The pipeline works and the numbers are correct.
- Base pre-training means starting from random initialization and training at trillion-parameter scale or beyond over a long period on the target hardware using massive corpora, producing the original weights.
There is a comparable precedent in the industry: the technical report for a deep-reasoning model validated two different accelerator architectures side by side and provided a fine-grained expert parallelism scheme, but the industry generally regards that as inference-side operator validation, and the source of the original base compute was never officially announced. Therefore, inferring that “the model was pre-trained on this chip” from “adaptation succeeded” is a logical leap.
The practical implication for developers is that adaptation is the first step toward usability: it proves the path works. Stability, throughput, linear scaling, and fault recovery are what determine whether the hardware can truly support long-cycle training.
2. Technical Core: What the Native FSDP2 Training Path Enables
The adaptation established a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path, covering three areas:
- Model loading: A model this large cannot fit entirely in a single card’s memory, so parameters must be sharded and metadata built during loading to avoid exceeding peak memory.
- Shard scheduling: Parameters are aggregated layer by layer in the forward pass and released layer by layer in the backward pass, overlapping computation with communication to control pressure on both memory and bandwidth.
- Gradient synchronization: After the backward pass, gradients are reduced per shard, and each rank then updates its local shard to keep parameters consistent.
Compared with classic data parallelism, the core difference of FSDP2 is that parameters, gradients, and optimizer states are all stored as shards, so memory usage is roughly inversely proportional to the number of cards. The cost is a significant increase in communication volume, which makes communication topology and overlap strategy the key to success.
Illustrative pseudocode (expressing semantics only, not any specific API):
# Pseudocode: semantic illustration of the FSDP2 training loopfor step in range(total_steps):with shard_context(model): # aggregate sharded parameters on demandout = model(batch) # forward: all-gather parameters layer by layerloss = criterion(out, labels)loss.backward() # backward: release layer by layer + reduce-scatter gradientsclip_grad_norm_(model, max_norm) # gradient clipping to suppress abnormal spikesoptimizer.step() # each rank updates its local shardoptimizer.zero_grad()log(step, loss, grad_norm, mem, tps)
3. Stability Validation: What 400 Consecutive Updates Show
In the experiment, 16 training processes completed 400 consecutive optimizer updates in a cross-node environment. The loss and gradient norm stayed finite throughout, with no numerical overflow and no abnormal process exits.
The value of this validation is not the number of steps but that it covers the window where problems are most likely to surface during training:
- Numerical health: A NaN/Inf loss usually comes from a learning rate that is too high, mixed-precision overflow, abnormal samples, or operator implementation defects. 400 consecutive finite steps indicate the forward/backward numerical path is basically trustworthy.
- Observable gradient norm: A spike in grad norm is often a precursor to divergence, so continuous observability provides early warning capability.
- Stable cross-node communication: The most common multi-node failures are collective communication timeouts and hangs, so continuous operation indicates that topology discovery, timeout thresholds, and heartbeat mechanisms are configured reasonably.
- No interruption: This indicates that process-level fault tolerance, log persistence, and memory fragmentation control are in a usable state.
It should be stated objectively that 400 steps is a smoke test and short-range stability validation. It is not equivalent to a conclusion about long-cycle training at the scale of hundreds of billions of tokens, which still requires observing throughput decay, failure rate, and recovery time.
4. Engineering Checklist: From “It Trains” to “Ready to Train Out of the Box”
To reproduce similar results on domestic compute, proceed in this order:
- Operator coverage audit: Get a single layer’s forward and backward pass working first, then assemble the full model step by step to locate missing operators or precision mismatches.
- Parallelism strategy selection: When single-node memory is insufficient, prioritize sharded parallelism; when multi-node bandwidth is limited, be cautious about adding tensor parallelism to avoid amplifying communication.
- Precision strategy: Mixed precision needs loss scaling and high-precision retention for key layers to prevent overflow in long-tail layers.
- Observability: Collect at least six metrics: loss, grad norm, parameter update magnitude, peak memory, per-step time, and communication share, and connect them to a logging service and monitoring alerts.
- Fault tolerance and recovery: Enable periodic checkpoints and verify the “interrupt-recover-loss continuity” loop.
- Toolchain automation: Script environment setup, dependency alignment, and configuration delivery to reduce random failures caused by environment drift.
Configuration example (YAML style, illustrating field semantics only):
parallel: { shard: true, tensor: 1, pipeline: 1 }precision: { dtype: bf16, loss_scale: dynamic }stability: { clip_grad_norm: 1.0, skip_on_nan: true }checkpoint: { interval_steps: 50, async_save: true }observability: { metrics: [loss, grad_norm, mem_peak, step_time] }
5. Ecosystem Perspective and Realistic Expectations
Results for domestic chips training domestic models have been increasing in recent years: complete training from scratch of a 236-billion-parameter scientific foundation model, full-stack native training of a 5D world model, end-to-end training of an embodied brain model, and trillion-parameter training now in progress. This shows that the software stack of domestic full-function GPUs is moving from “usable at individual points” to “usable as a system”.
The advice for users is to keep realistic expectations: adaptation solves “can it run”, stability solves “dare we run it long”, and the toolchain solves “is it reproducible”. Only when all three are in place does it truly approach “ready to train out of the box”. In the general capability system of cloud platforms such as Baidu AI Cloud, the combination of container platforms, object storage, logging services, and monitoring alerts is also often used to support resource orchestration and observability needs for this type of training task.
