A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: 400 Stable Steps on 16 Cards Across Two Nodes
This article explains a recent training adaptation in which a domestic full-function GPU vendor ran a nearly three-trillion-parameter flagship model on 16 cards across two nodes for 400 consecutive optimizer steps. It clarifies the difference between training adaptation and pretraining, breaks down the native FSDP2 multimodal training path, outlines a stability acceptance checklist, and discusses the engineering gaps and practical recommendations for moving from a one-off run to reproducible, out-of-the-box training.
1. Background: A Training Adaptation, Not Pretraining from Scratch
A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference compute card and in-house software stack, it quickly completed the training adaptation of a flagship model with nearly three trillion parameters. The setup ran stably for 400 consecutive optimizer update steps on a configuration of 16 cards across two nodes.
One common misunderstanding needs to be cleared up first: training adaptation is not the same as pretraining the model on this chip. Adaptation means that the complete training pipeline of the target model can run correctly and stably on the hardware and software stack, whereas pretraining means the base weights are generated from zero on that compute. The two differ completely in engineering difficulty, time cost, and acceptance criteria.
A relevant industry pattern is that the technical report of a leading model often lists various accelerator cards alongside mainstream GPUs for operator and parallelism validation. However, this is a feasibility check on the inference side or on individual operators, and does not mean the official source of the compute used for base pretraining has been disclosed. Therefore, evaluating an adaptation result should focus on whether the pipeline is connected, whether the numerics are stable, and whether performance is reproducible, rather than on who trained the model.
2. Technical Core: What the Native FSDP2 Multimodal Training Path Delivers
The key term for 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 gradients are reduce-scattered after computation. This reduces per-card memory usage from “the whole model” to “a shard plus temporary aggregation buffers.”
Compared with earlier implementations, FSDP2 mainly improves in the following ways: it uses the DTensor abstraction to express shard layout, reducing the implementation complexity caused by flattened parameters; the overlap of sharding and communication with computation is more controllable; and support for mixed precision, state management, and checkpointing is more standardized. For multimodal large models, the vision encoder, projection layers, and language backbone often use different parallelism and precision strategies. The value of the native FSDP2 path is that it can describe the partitioning of heterogeneous submodules with a unified abstraction.
The claim of “connecting the complete training pipeline from model loading and shard scheduling to gradient synchronization” can be broken down into four verifiable stages:
- Model loading: sharded weight reading, alignment of metadata and configuration, and consistency of random seeds and initialization;
- Shard scheduling: device mesh construction, HSDP hybrid sharding, and matching recomputation with the memory budget;
- Gradient synchronization: timing overlap of backward reduce-scatter and parameter all-gather, and tuning of bucket sizes;
- Optimizer update: atomic updates of sharded states, and consistency of learning-rate scheduling and gradient clipping under shard semantics.
Illustrative configuration (pseudocode, expressing semantics only):
from torch.distributed.fsdp import fully_shard, MixedPrecisionPolicymesh = init_device_mesh("cuda", (2, 8)) # 2 nodes x 8 cardsmp_policy = MixedPrecisionPolicy(param_dtype="bf16", reduce_dtype="fp32")for module in model.modules():fully_shard(module,mesh=mesh,mp_policy=mp_policy,reshard_after_forward=True,)for step, batch in enumerate(loader):loss = model(batch).lossloss.backward()clip_grad_norm_(model.parameters(), max_norm=1.0)optimizer.step()optimizer.zero_grad(set_to_none=True)
3. Stability Validation: What 400 Consecutive Steps Show
The experiment used joint cross-node training on 16 cards across two nodes. The 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption. The information from this result concentrates on three points:
- Correct cross-node communication: cross-node all-gather/reduce-scatter showed no deadlock, out-of-order execution, or precision collapse;
- Healthy numerical stack: no repeated inf/nan under bf16/fp16 mixed precision, indicating that loss scaling, normalization, and clipping strategies were configured reasonably;
- State consistency: 400 steps are enough to expose “slow-variable” issues such as misaligned optimizer state shards and learning-rate drift.
In engineering practice, it is advisable to turn “400 steps” into a reusable stability acceptance checklist:
| Observation | Acceptance Criterion | Purpose |
|---|---|---|
| Loss curve | Monotonically decreasing or flat, with no spikes | Judge data and learning rate |
| Grad norm | Fluctuating near the threshold, with no sustained surge | Judge gradient explosion |
| Parameter norm | Changing slowly, with no jumps | Judge update anomalies |
| Memory watermark | No sustained leak-like growth | Judge recomputation and caching |
| Throughput (tokens/s) | Fluctuation smaller than the set band | Judge communication bottlenecks |
4. The Engineering Gap from “Able to Train” to “Out-of-the-Box Training”
There is a clear gap between a single successful run and sustainable training. Four capabilities need to be filled:
- Operator and graph compilation adaptation: coverage of custom operators, fusion strategies, and regression testing for switching between graph mode and dynamic graph;
- Multi-card coordination and fault tolerance: elastic recovery after node failure, saving and reloading of sharded checkpoints, and slow-node detection;
- Automated toolchain: configuration validation, dependency locking, one-click training startup, and unified collection of logs and metrics (which can integrate with common logging services and monitoring/alerting categories);
- Observability and evaluation baselines: incorporating throughput, memory, and numerical health metrics into CI to form version-comparable baselines.
For the implementation path, existing practice of “domestic chips training domestic models” can serve as a reference: from the from-scratch complete training of a 236-billion-parameter scientific foundation model, to full-stack native training of a 5D world model, to full-pipeline training of an embodied brain model, these have validated adaptation methodologies under different modalities and parallelism strategies. The industry is now collaboratively advancing trillion-parameter-scale training, which raises the requirements for sharding strategies, communication topology, and fault tolerance.
5. Practical Recommendations for Developers
- First do small-scale numerical alignment: align the loss curve with a reference implementation using a small model on a single machine, then scale up;
- Select parallelism strategies in the order of “memory first, communication second“: if memory is insufficient, adopt sharding and recomputation first; if throughput is insufficient, then tune parallelism dimensions and bucket sizes;
- Script the stability acceptance tests, and run the 400-step regression after any operator or driver change;
- Pay attention to how completely the ecosystem compatibility layer supports standard distributed training semantics, rather than a single benchmark score.
In summary, a domestic full-function GPU completing the training adaptation of a nearly trillion-parameter model marks that the “able to train” threshold has been crossed. The real competition lies in turning occasional success into reproducible, operable, and scalable “out-of-the-box training” capability.
