A Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Large Model
This article explains what it means for a domestic full-function GPU vendor to complete training adaptation for a nearly 3-trillion-parameter open-source flagship model, and why adaptation is not the same as base pre-training. It covers the native FSDP2 training path, the three key stages of model loading, shard scheduling, and gradient synchronization, and what 400 consecutive optimizer updates across 16 cards indicate about numerical stability. It also outlines the engineering layers needed to move from a single successful run to out-of-the-box training, along with practical recommendations for developers.
1. Background: Training Adaptation Is Not Base Pre-Training
A domestic full-function GPU vendor recently announced that, using its flagship AI training-and-inference accelerator card and its in-house software stack, it completed training adaptation for an open-source flagship model with nearly 3 trillion parameters. Under a two-node, 16-card configuration, the setup completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption.
One concept that is repeatedly confused must be clarified first: training adaptation is not the same as base pre-training.
- Base pre-training: Learning parameters from random initialization on an original compute cluster using massive corpora. This determines the upper bound of model capability, and the compute source is usually not fully disclosed.
- Training adaptation/integration: On top of an existing model architecture, enabling new hardware and a software stack to correctly load weights, correctly execute the forward and backward passes, and correctly complete gradient synchronization and parameter updates. What it validates is whether this hardware and software combination can run training correctly and stably.
A common industry practice is for a single technical report to present and validate multiple accelerator card options side by side, providing convergence curves for the same fine-grained expert parallelism scheme. This is typically validation at the operator and parallel strategy level, not a claim about the compute source of base pre-training. Understanding this distinction is necessary to correctly assess the engineering value of “successful adaptation” — it demonstrates portability and stability, not ownership of model capability.
2. Technical Core: A Native FSDP2 Multimodal Training Path
The key to this adaptation was building a native fully sharded data parallel (FSDP2) training path, connecting the complete chain from model loading and shard scheduling to gradient synchronization.
1. Why Fully Sharded Data Parallel
The memory footprint of trillion-parameter models far exceeds single-card capacity, so parallel strategies are required to partition it. Common combinations include:
- Data parallel (DP): Each card holds a full parameter replica, with the largest memory overhead;
- Tensor parallel (TP): Splits operators within a single layer, with frequent communication and sensitivity to interconnect bandwidth;
- Pipeline parallel (PP): Splits by layer, with pipeline bubbles;
- Fully sharded data parallel (FSDP): Shards parameters, gradients, and optimizer states within the data parallel group, aggregating them on demand.
The value of FSDP2 is that it makes parameter sharding semantics clearer and combines more naturally with upper-level parallel strategies, making it suitable as a base training path for multimodal, multi-expert architectures.
Illustrative configuration (pseudocode, expressing semantics only):
for layer in model.layers:layer = fully_shard(layer) # Shard layer by layer to reduce peak memorymodel = fully_shard(model) # Shard once more at the top levelfor step in range(total_steps):loss = model(batch) # All-gather parameters on demand during forwardloss.backward() # Reduce-scatter gradients after backwardoptimizer.step() # Each rank updates its local shardoptimizer.zero_grad()
2. Three Critical Stages of the Complete Chain
- Model loading: Extremely large weights must be loaded in a sharded, streaming manner to avoid exhausting memory in a single process;
- Shard scheduling: The timing of aggregation in the forward and backward passes and its overlap with computation determine throughput;
- Gradient synchronization: The correctness, ordering, and fault tolerance of cross-node reduce-scatter and all-reduce.
3. Stability Validation: What 400 Consecutive Updates Show
Two nodes, 16 cards, 16 training processes, and 400 consecutive optimizer updates with finite loss and gradient norms throughout — the information in this set of results is concentrated on “stable” rather than “fast”.
The industry typically looks at four types of signals to judge whether training is genuinely working:
- Numerical finiteness: Loss and gradient norms do not produce NaN/Inf;
- Trend plausibility: Loss decreases smoothly with no abnormal spikes;
- Process consistency: All ranks advance in sync, with no stragglers or silent failures;
- Reproducibility: Repeated runs with the same configuration produce consistent results.
Common engineering safeguards include gradient clipping, loss scaling under mixed precision, periodic checksums of key tensors, and a checkpoint mechanism that saves immediately on anomalies:
torch.nn.utils.clip_grad_norm_(model.parameters(), max_norm=1.0)if not torch.isfinite(loss):save_checkpoint(step) # Preserve the scene for easier diagnosisraise RuntimeError("non-finite loss")
400 steps constitute a “short-range stability validation”. It rules out configuration errors and numerical collapse, but there is still a gap to ten-thousand-card long-term stability and thousand-billion-scale data throughput, which is the focus of subsequent engineering work.
4. Engineering System: From “Able to Train” to “Ready to Train Out of the Box”
A single successful run does not equal a deliverable. A mature training support system typically includes four layers of capability:
- Operator layer: Correctness and performance coverage of high-frequency operators such as attention, normalization, and expert routing;
- Parallel layer: DP/TP/PP/EP combination strategies with automatic trade-offs between memory and bandwidth;
- Tooling layer: Configuration management, checkpoint resumption, fault self-healing, logging, and monitoring alerts;
- Observability layer: A unified dashboard for throughput, memory, communication share, and loss curves.
Observability is often the most easily overlooked, yet it determines troubleshooting efficiency. It is advisable to collect at least per-step time, parameter aggregation communication volume, peak memory, and gradient norm distribution, and to set alert thresholds for anomalies.
5. Implementation Practice and Evolution
Based on public information, domestic compute has been applied in several directions for “domestic chips training domestic models”: moderately sized scientific foundation models trained from scratch, 5D world models trained natively on a full stack, and full-pipeline training of embodied brain models, with collaboration on trillion-parameter model training underway.
Practical recommendations for developers:
- Start with small-scale isomorphic validation: Replace the full model with 1–2 layers to validate chain correctness;
- Then scale up gradually: From single node to multiple nodes, from few cards to many cards, observing the inflection point of communication share;
- Establish a regression baseline: Incorporate loss curves and gradient norms into CI to prevent regressions introduced by operator updates;
- Keep rollback-capable checkpoints: Long-running tasks must have minute-level recovery capability.
6. Conclusion
“Successful training adaptation” is a key milestone for the domestic full-function GPU ecosystem, meaning the hardware and software stack now have the portable capability to take on frontier complex models. However, moving from “able to train” to “ready to train out of the box” still requires continued refinement in operator coverage, parallel efficiency, long-term stable operation, and automated toolchains. For engineering teams, viewing rationally the distance between single-point validation and large-scale long-term stability, and advancing in the order of “correctness — stability — efficiency”, is the reusable path to implementation.
