A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: 16 Cards Across Two Nodes Run 400 Steps Stably
This article examines a recent training adaptation in which a domestic full-function GPU vendor ran a nearly 3-trillion-parameter multimodal model on 16 accelerators across two nodes, completing 400 consecutive optimizer updates with finite loss and gradient norms. It clarifies the difference between Day 0 adaptation and base-model pretraining, explains what native FSDP2 brings to large-scale multimodal training, outlines the stability signals worth monitoring, and distills a four-layer engineering capability model. Developers will find practical advice on validating sharding, communication, and checkpointing before scaling up.
1. Background: A Training Adaptation, Not a Pretraining Reproduction
A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference accelerator card and in-house software stack, it quickly completed the training adaptation of a flagship large model with a parameter scale of nearly 3 trillion. The experiment used 16 accelerator cards across two nodes for cross-node joint training. All 16 training processes completed 400 consecutive optimizer updates, with loss values and gradient norms remaining finite throughout, and no numerical overflow or abnormal interruption occurred.
One common misunderstanding must be cleared up first: a successful training adaptation does not mean the model was pretrained on this chip.
The industry often conflates two different kinds of work:
- Day 0 adaptation/onboarding: getting the inference or fine-tuning pipeline running on new hardware as quickly as possible after model weights are released, with a focus on operator coverage, precision alignment, and throughput.
- Base-model pretraining: the original training process from scratch, which consumes enormous compute and whose compute source is often not disclosed.
A relevant industry example is that the technical report of a leading model once validated two different accelerator architectures side by side and presented a fine-grained expert parallelism scheme, but the industry generally regards that as operator validation on the inference side, and the original compute source for base-model pretraining was never officially announced. Therefore, the value of a “training adaptation” should be judged by whether it connects the full training pipeline and whether it offers reproducible stability, rather than equating it with “a domestic chip trained a certain model.”
2. Technical Core: What the Native FSDP2 Multimodal Training Path Delivers
The keyword of this adaptation is “native FSDP2.” FSDP (Fully Sharded Data Parallel) works by sharding model parameters, gradients, and optimizer states along the data-parallel dimension, so each rank holds only a shard and all-gathers parameters on demand during forward and backward computation, releasing them immediately afterward. This reduces per-card memory pressure from “the whole model” to “a shard.”
Compared with earlier implementations, FSDP2 improves in the following directions:
- DTensor as the sharding abstraction, with clearer sharding semantics that make it easier to combine with tensor parallelism and pipeline parallelism;
- Less redundant flattening, with parameters managed on a per-parameter sharding basis, which is friendlier for debugging and checkpoints;
- More explicit communication/computation overlap scheduling, reducing the exposed overhead of all-gather and reduce-scatter.
For a model with nearly a trillion parameters that also includes multimodal encoders, the difficulty is not “whether it can run one step” but whether the following links are all connected:
- Model loading: sharded loading and metadata parsing of extremely large weights, avoiding single-process OOM;
- Shard scheduling: aligning parameter shards with the computation graph partition, and balancing the load across multimodal towers (vision/text/projection layers);
- Gradient synchronization: overlapping backward reduce-scatter with forward all-gather, avoiding communication saturation that leaves compute idle;
- Numerical stability: loss scaling, gradient clipping, and norm computation without overflow under mixed precision.
Illustrative configuration logic (pseudocode, expressing semantics only):
# Pseudocode: native FSDP2 sharding + multimodal module wrappingimport torchfrom torch.distributed.fsdp import fully_shard # semantic illustrationfor layer in text_decoder.layers:fully_shard(layer) # shard layer by layer to reduce peak memoryfully_shard(vision_encoder)fully_shard(multimodal_projector)fully_shard(model)for step in range(total_steps):out = model(batch) # forward: all-gather parameters on demandloss = criterion(out, target)loss.backward() # backward: reduce-scatter gradientsclip_grad_norm_(model, 1.0) # key for stabilityoptimizer.step()optimizer.zero_grad()
3. Stability Validation: What 400 Consecutive Steps Show
“16 cards across two nodes, 400 consecutive optimizer updates, and finite loss and gradient norms throughout” is the most informative part of this disclosure. What it validates is not peak performance but long-horizon numerical stability, which is exactly where domestic accelerators most often expose problems.
Four categories of metrics are worth watching in engineering practice:
| Observation dimension | Specific metrics | Anomaly signals |
|---|---|---|
| Numerical health | loss curve, grad norm, parameter update norm | NaN/Inf, norm spikes |
| Communication efficiency | share of time spent in all-gather/reduce-scatter | excessively high communication share, idle compute |
| Fault tolerance | single-rank timeout, NCCL-like communication timeout | hung processes, requiring a full restart |
| Reproducibility | loss curve deviation under a fixed seed | curves that cannot be aligned |
A simplified stability monitoring snippet:
import torch, mathdef check_finite(model, loss, grad_norm):assert math.isfinite(loss.item()), "loss is not finite"assert math.isfinite(grad_norm), "grad norm is not finite"for p in model.parameters():if p.grad is not None:assert torch.isfinite(p.grad).all(), "non-finite gradient found"
It should be emphasized that 400 steps are a necessary validation of pipeline availability, not a convergence conclusion. Real convergence validation requires more steps, a larger global batch, and a strict data mixture.
4. From “Able to Train” to “Ready to Train Out of the Box”: Four Layers of Engineering Capability
Based on the “domestic chips training domestic models” practices disclosed in the article (covering full 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 in progress), a reusable four-layer capability model can be abstracted:
- Operator layer: coverage of high-frequency operators such as attention variants, normalization, positional encoding, and multimodal fusion, ensuring precision alignment and no performance collapse;
- Parallelism layer: combined strategies of data-parallel sharding with tensor/pipeline/expert parallelism, giving parallelism recommendations for different scales;
- Stability layer: mixed-precision strategies, gradient clipping, checkpoint resume, abnormal-rank isolation, and automatic recovery;
- Tooling layer: automated adaptation, profiling, logging and monitoring alerts, and visualized loss/communication analysis to reduce the manual cost of migration.
Combined with general cloud capabilities, training engineering can be further implemented as: a container platform hosting distributed training task orchestration, object storage holding checkpoints and datasets, a message queue decoupling data preprocessing, and logging services plus monitoring and alerting to track loss and hardware metrics. These are all general industry categories and do not involve any vendor-specific interfaces.
5. Practical Advice for Developers
- Get single-card running first, then go multi-node: use a tiny model to validate the three links of sharding, communication, and checkpointing before scaling up;
- Make numerical checks assertions: incorporate finite checks and grad norm thresholds into the main training loop so failures can be located quickly;
- Prioritize validating 200-500 steps of stability: this range is enough to expose the vast majority of communication and numerical problems;
- Keep reproducible configurations: fix the random seed, data order, and parallelism so loss curves can be aligned;
- Distinguish “adaptation,” “fine-tuning,” and “pretraining”: external statements must be accurate and avoid exaggeration.
6. Conclusion
A domestic full-function GPU completing the training adaptation of a nearly trillion-parameter model, validated by 400 steps of stable updates on 16 cards across two nodes, marks a significant improvement in the engineering maturity of domestic compute for full-pipeline large-model training. For developers, the real benefit is not a single successful run but the complete capability accumulated from operator adaptation and multi-card coordination to automated toolchains, which is the prerequisite for “ready to train out of the box.”
