A Domestic GPU Completes Training Adaptation for a Nearly 1-Trillion-Parameter Model: 16 Cards Across 2 Nodes Run 400 Steps Stably
This article explains a recent training adaptation in which a domestic full-function GPU vendor ran a nearly 3-trillion-parameter flagship model on 16 accelerator cards across two nodes, completing 400 consecutive optimizer updates with finite loss and gradient norms. It clarifies the difference between training adaptation, validation, and pretraining; breaks down the native FSDP2 multimodal training path, including model loading, sharding, recomputation, and gradient synchronization; examines cross-node stability, numerical safeguards, and checkpoint recovery; and outlines what is still needed to move from "it can train" to "ready to train out of the box," along with practical advice for developers.
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 self-developed software stack, it completed the training adaptation of a flagship large model with nearly 3 trillion parameters. The test environment consisted of 16 accelerator cards across two nodes. All 16 training processes completed 400 consecutive optimizer updates, with loss values and gradient norms remaining finite throughout and no numerical overflow or task interruption.
One common misunderstanding must be addressed first: a successful training adaptation does not mean the model was pretrained on this chip.
- Adaptation/integration: The model architecture, operators, parallelism strategy, and communication primitives can run correctly on the target hardware and software stack and are capable of further training.
- Pretraining: Starting from random initialization, completing the full parameter learning process on the target compute using massive corpora, which involves compute scale, data engineering, training duration, cost, and a whole set of conditions.
There are similar precedents in the industry: the technical reports of some foundation models present and validate two different accelerator architectures side by side, using the same fine-grained expert parallelism scheme. However, such validation is generally understood as validation of inference-side operators and parallelism strategies, and does not mean the official source of compute for pretraining the base model has been disclosed. Therefore, when discussing progress in domestic compute, conflating “adaptation,” “validation,” and “pretraining” is neither fair nor accurate.
2. Technical Core: What the Native FSDP2 Training Path Enables
The key phrase for this adaptation is the “native FSDP2 multimodal training path,” meaning the complete chain from model loading and shard scheduling to gradient synchronization runs natively on the domestic software stack rather than relying on bolt-on patches.
2.1 Why Fully Sharded Data Parallel
The core idea of Fully Sharded Data Parallel (FSDP) is to shard model parameters, gradients, and optimizer states across the data parallel group, so each card holds only part of the state persistently. Parameters are all-gathered on demand during forward and backward computation, and gradients are reduce-scattered during the update phase. Compared with traditional data parallelism, where each card holds a complete copy of the state, memory usage drops roughly linearly with the degree of parallelism. This makes it possible to spread large models that cannot fit in a single node’s memory across multiple nodes and cards.
The second generation of this paradigm brings engineering improvements mainly in:
- Deeper coordination with the compiled execution graph, reducing Python-side scheduling overhead;
- More explicit and configurable sharding and communication strategies, making it easier to tune for a given model architecture;
- Better compatibility with combined strategies such as mixed precision, recomputation, and tensor parallelism.
2.2 The Four Stages of the Complete Chain
- Model loading: Initialize ultra-large parameters using metadata/empty tensors to avoid OOM from instantiating full weights on a single card;
- Shard scheduling: Split parameters and states by parallel group and build the parameter aggregation plan required for the forward pass;
- Computation and recomputation: Enable activation recomputation for memory-sensitive layers, trading compute for memory;
- Gradient synchronization and update: After the backward pass, reduce-scatter to aggregate gradients, and each card updates its local parameter shard.
Illustrative code (expresses the paradigm only, not a specific product interface):
# Pseudocode: skeleton of a fully sharded data parallel training loopfor step, batch in enumerate(loader):with torch.no_grad():batch = to_device(batch)loss = model(batch).loss # Forward: shards are aggregated on demand internallyloss.backward() # Backward: reduce-scatter aggregates gradientsgrad_norm = clip_grad_norm_(model.parameters(), max_norm=1.0)optimizer.step() # Locally update each parameter shardoptimizer.zero_grad(set_to_none=True)log({"step": step, "loss": loss.item(), "grad_norm": grad_norm})
3. Cross-Node Stability: What 400 Consecutive Steps Demonstrate
Two nodes, 16 cards, 16 processes, 400 consecutive optimizer updates, and finite values throughout—the engineering meaning of these numbers goes well beyond “it runs.”
3.1 Communication Topology and Overlap
The main bottleneck in cross-node training is the network. Parameter aggregation and gradient reduction must overlap sufficiently with computation, and collective communication must use the high-speed interconnect. If communication cannot be hidden behind computation, end-to-end throughput drops sharply, showing up as “it runs but is extremely slow.”
3.2 Three Gates for Numerical Stability
- Loss and gradient norm monitoring: Non-finite values (inf/NaN) are the most direct failure signal;
- Gradient clipping: Clip by global norm to suppress spikes caused by individual batches;
- Mixed precision strategy: Use lower precision for forward and backward, while keeping the master copy of parameters and optimizer states at higher precision to avoid accumulated error over long runs.
3.3 Stability Validation Checklist
| Check Item | Pass Criteria | Common Causes of Failure |
|---|---|---|
| First-step loss | Finite and in the same order of magnitude as single-card | Initialization or data pipeline anomaly |
| Gradient norm curve | No sustained monotonic increase | Learning rate too high, missing clipping |
| Shard consistency | Parameter statistics consistent across ranks | Incorrect shard mapping or random seed |
| Checkpoint resume | Loss continuous after recovery | Optimizer state not fully saved |
| Long stability run | Hundreds of steps without interruption | Communication timeout, memory fragmentation |
3.4 Checkpoint Recovery and Observability
Long-running training must assume that failures will happen. The sharded model, optimizer state, random number state, and data loading progress must all be persisted together. Combined with logging services and monitoring alerts that continuously collect loss, gradient norms, memory usage, and communication time, drift can be located before an anomaly occurs.
4. The Gap Between “It Can Train” and “Ready to Train Out of the Box”
“Can train” means a proof has been completed; “ready to train out of the box” means any team can reproduce it by following the documentation. The gap is concentrated in four layers of capability:
- Operator layer: Cover all operators the model requires and ensure precision alignment;
- Parallelism layer: Data, tensor, pipeline, expert, and other parallelism strategies can be combined and tuned;
- Tooling layer: Automated configuration generation, performance profiling, and fault self-healing to reduce manual tuning;
- Ecosystem layer: Native support in mainstream training and inference frameworks to lower migration costs.
Engineering maturity can be measured by a set of quantifiable metrics: time from environment setup to the first loss, effective throughput per unit of compute, thousand-step long-stability success rate, and mean time to recovery from failures. These metrics say more about real capability than a single demonstration.
5. Practical Advice for Developers
- Align at small scale first: Run on a single node with a few cards and compare the loss curve against a reference implementation before scaling horizontally;
- Fix random seeds and data order: Make results reproducible and comparable in a sharded environment;
- Tune communication first: Confirm collective communication uses the high-speed links and that computation and communication overlap sufficiently;
- Establish a long-stability baseline: Use hundreds of consecutive updates as the minimum acceptance threshold and incorporate it into CI;
- Keep a fallback path: Switch to an equivalent implementation when a critical operator misbehaves to avoid blocking the whole job.
6. Conclusion
A domestic full-function GPU completing the training adaptation of a nearly 1-trillion-parameter model, validated by 400 consecutive stable updates on 16 cards across two nodes, shows that the engineering capability of the domestic software stack for full-chain training of ultra-large models continues to improve. For developers, the right way to assess the usability of domestic compute is to view the boundaries between “adaptation,” “validation,” and “pretraining” rationally, while paying attention to operator coverage, parallelism combinations, the toolchain, and long-stability metrics.
