A 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 domestic full-function GPU vendor's training adaptation of a nearly 3-trillion-parameter open-source flagship model actually means, and why it should not be confused with reproducing pre-training. It walks through the native FSDP2 training path that was enabled—sharded model loading, device-mesh sharding, and gradient synchronization—with code examples, then discusses why 400 consecutive optimizer updates with finite loss and gradient norms serve as a reasonable acceptance criterion. It closes with the four-layer engineering stack required for such deliveries and four hard metrics for evaluating domestic compute.
1. Background: A Training Adaptation, Not a Pre-Training Reproduction
A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference accelerator card and its in-house software stack, it completed the training adaptation of an open-source flagship model with nearly 3 trillion parameters. In an environment of 16 accelerator cards across two nodes, the workload completed 400 consecutive optimizer updates with no numerical overflow and no task interruption.
One easily confused distinction must be settled first: a successful training adaptation does not mean the model was pre-trained on these chips.
A common industry mistake is to conflate “Day 0 adaptation of a newly released open-source model” with “the compute source of the base pre-training run.” The former means the model structure, operators, and parallelism strategy are fully wired up on the target hardware and can perform forward passes, backward passes, and parameter updates normally. The latter involves trillion-token corpora, months of compute, and a complete data engineering effort—work on an entirely different scale. In the technical report of a DeepSeek model earlier, both NPU and GPU paths were validated side by side; the industry generally read this as operator validation on the inference side, and the original compute source for the base pre-training was never officially disclosed.
So the “adaptation” discussed here is precisely defined as: fully running and validating the numerical stability of an existing open-source model’s training path on the target hardware and software stack. This is the mandatory first step for domestic compute to enter large-model training scenarios.
2. Technical Core: What the Native FSDP2 Training Path Enables
The key point the vendor disclosed is a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path that connects the full chain from model loading and shard scheduling to gradient synchronization. Each of these three segments maps to a typical class of engineering problems.
2.1 Model Loading: A Huge Model Cannot Fit as a Whole
A model with nearly a trillion parameters needs several TB of GPU memory even in FP16/BF16, far beyond a single machine’s capacity. The only viable approach is sharded loading and streaming construction:
# Illustrative: shard loading + layer-by-layer construction, avoiding materializing all weights at oncefor shard in sorted(glob.glob("ckpt/model-*.safetensors")):state = load_shard(shard) # load only the current shardmodel.load_state_dict(state, strict=False, assign=True)del state # release promptly to cap peak memory
What matters during loading is peak host memory and GPU memory fragmentation, which usually requires memory-mapped reads and a pre-allocated GPU memory pool.
2.2 Shard Scheduling: The Key Difference in FSDP2
The core change in FSDP2 versus the previous generation is the use of DTensor as the sharding abstraction: parameters, gradients, and optimizer states are all partitioned over a device mesh, making the scheduling of communication and computation overlap more controllable. A typical configuration:
from torch.distributed.device_mesh import init_device_meshmesh = init_device_mesh("cuda", (2, 8)) # 2 nodes x 8 cardsmodel = fully_shard(model, mesh=mesh, shard_placement_fn=...)
At the 16-card scale, success is determined not by peak compute but by cross-node communication efficiency: intra-node traffic uses high-bandwidth interconnect, inter-node traffic uses the network. If AllGather of parameters and ReduceScatter of gradients cannot overlap sufficiently with backward computation, GPU utilization collapses quickly.
2.3 Gradient Synchronization: The Gatekeeper of Numerical Stability
That “loss and gradient norms remained finite throughout” across 400 consecutive updates is a more valuable conclusion than “it ran.” It shows that loss scaling under mixed precision, gradient clipping, and optimizer state precision (typically keeping FP32 master weights) are configured correctly. The following monitoring snippet can observe this continuously:
if step % 10 == 0:gnorm = torch.nn.utils.clip_grad_norm_(model.parameters(), 1.0)assert torch.isfinite(gnorm) and torch.isfinite(loss), f"step {step} numerical anomaly"
3. Stability Validation Methodology: What 400 Steps Show
400 steps is extremely short in a pre-training context, but it is reasonable as a training adaptation acceptance criterion, because it covers three high-frequency failure windows:
- First-step anomalies: operator implementation errors or precision mode mismatches usually surface within 1–10 steps;
- Memory and fragmentation issues: require dozens of allocation/release cycles before triggering OOM;
- Communication and synchronization drift: cross-node collective communication may not hang or produce inconsistent results until after hundreds of iterations.
It is therefore advisable to break adaptation acceptance into stages: single-card forward/backward alignment → single-machine multi-card loss alignment (within about 1e-3 of the reference implementation) → 200–500 consecutive steps of stability on two nodes with 16 cards → throughput and linearity tests. Four baselines must also be recorded—loss curve, gradient norm, per-step time, and peak GPU memory—as the basis for later regression checks.
4. Engineering System: From “It Trains” to “Ready to Train Out of the Box”
The article mentions that the vendor has delivered several results of domestic chips training domestic models, including training a 236-billion-parameter scientific foundation model from scratch, 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. Abstractly, delivering this kind of work requires four layers of capability:
- Operator layer: coverage of long-tail operators such as attention variants, normalization, and multimodal fusion, with composite implementations as a fallback when an operator is missing;
- Parallelism layer: composable data, tensor, pipeline, and expert parallelism, supporting dynamic trade-offs between memory and communication;
- Toolchain layer: automated precision alignment, performance profiling, fault localization, and checkpoint resume;
- Operations layer: using general monitoring, alerting, and logging services to collect inter-card bandwidth, temperature, throttling, and task exit codes, enabling self-healing from anomalies.
Enterprises that want to reuse a similar path can schedule distributed jobs through a general container platform, use object storage for checkpoints and corpora, and set loss-divergence and task-hang thresholds uniformly in monitoring and alerting.
5. Conclusion
The substance of a domestic full-function GPU completing training adaptation for a nearly trillion-parameter model is that it fully resolves the fundamental question of whether a model can correctly and stably update parameters on this hardware. 400 consecutive stable updates and a native FSDP2 end-to-end path mark the shift of domestic compute from isolated inference validation to a usable full training pipeline. The takeaway for developers: when evaluating domestic compute, focus on four hard metrics—operator coverage, completeness of parallelism strategies, evidence of numerical stability, and toolchain maturity—rather than a single peak compute number.
