A Domestic GPU Completes Training Adaptation for a Nearly One-Trillion-Parameter Model: 16 Cards Across Two Nodes Run 400 Steps Stably
This article explains how a domestic full-function GPU vendor completed training adaptation for an open-source flagship model with nearly three trillion parameters, running 16 accelerator cards across two nodes for 400 consecutive optimizer updates with stable loss and gradient norms. It clarifies the difference between training adaptation and original pre-training, breaks down the native FSDP2 training path, cross-node communication, and numerical stability checks, and offers practical advice for developers on scaling up and validating large-model training on domestic hardware and software stacks.
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 quickly completed training adaptation for an open-source flagship large model with a parameter count close to three trillion. The test 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 easily confused distinction must be made clear first: training adaptation is not the same as completing the original pre-training on the chip.
- Successful adaptation/integration: The model’s operators, parallelism strategy, and data flow can run correctly and stably on the target hardware and software stack, completing the forward pass, backward pass, and parameter updates.
- Original pre-training: The complete training process that starts from random initialization and consumes massive amounts of data and compute, whose compute source must be explicitly disclosed by the model provider.
There are similar precedents in the industry: the technical reports of some foundation models validate multiple acceleration backends side by side and provide fine-grained expert parallelism schemes, but the industry generally regards that as operator validation on the inference side, and the original compute source for base-model pre-training has not been officially announced. Therefore, the value of a training adaptation should be judged by “whether the pipeline is connected, whether the numerics are stable, and whether it can be reproduced at scale,” rather than reading it as “a domestic card trained a certain model.”
2. Technical Core: What the Native FSDP2 Training Path Delivers
The key to this adaptation was building a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path that connects three stages end to end.
1. Model Loading and Shard Scheduling
A super-large model cannot fit entirely into a single card’s memory. The core idea of FSDP2 is to shard in three places: parameters, gradients, and optimizer states.
- Each card keeps resident only the parameter shard it is responsible for;
- When the forward pass reaches a given layer, the complete parameters of that layer are temporarily aggregated via collective communication (all-gather) and released immediately after use;
- The backward phase re-aggregates them to compute gradients, then uses reduce-scatter to reduce and scatter the gradients back to each card;
- The optimizer updates only the local shard, avoiding storing the full optimizer state on every card.
Compared with the first-generation implementation, FSDP2 is clearer in sharding units, tensor representation, and communication scheduling, making it easier to work with custom operators and mixed-precision strategies. This is the value of the word “native”: it is built into the software stack rather than simulated with bolt-on patches.
Illustrative pseudocode:
for step in range(total_steps):for layer in model.layers: # all-gather parameters layer by layerparams = all_gather(layer.shard)out = layer.forward(params, x)release(params) # release after use to cap peak memoryloss = criterion(out, target)grads = backward(loss) # re-aggregate layer by layer + reduce-scatterclip_grad_norm_(grads, max_norm) # gradient clipping to suppress abnormal spikesoptimizer.step() # update only the local shardoptimizer.zero_grad()log(step, loss, grad_norm) # numerical monitoring throughout
2. Cross-Node Communication and Topology Awareness
Two nodes with 16 cards form a typical minimal multi-node validation unit. The difficulty is not “running one step” but “running several hundred steps in a row without errors”:
- Collective communication orchestration: Overlap all-gather and reduce-scatter with computation to hide communication latency;
- Topology-aware scheduling: Prioritize high-bandwidth intra-node interconnects for frequent shard aggregation, and use inter-node links for lower-frequency synchronization;
- Gradient accumulation and batch splitting: Use accumulation steps to obtain an effective global batch under limited memory while preserving convergence properties;
- Fault tolerance and checkpoints: Periodically save sharded checkpoints so that any failed process can recover from the most recent state.
3. Numerical Stability: The Real Test of 400 Steps
The most common failure in large-model training is not a crash but “silently diverging.” The metrics of interest in this test are therefore very specific:
| Monitoring item | Expected behavior | Anomaly signal |
|---|---|---|
| loss | Finite, smoothly decreasing or minor fluctuation | NaN/Inf, sudden jumps |
| Gradient norm | Within a reasonable range | Continuous growth, spikes |
| Parameter update magnitude | Consistent with the learning rate | Abrupt single-step jumps |
| Process liveness | All 16 processes online throughout | Silent exit, communication timeout |
400 consecutive optimizer updates with all metrics remaining finite indicate that the mixed-precision strategy, loss scaling, gradient clipping, and the order of communication reduction are self-consistent on the domestic software stack.
3. Engineering System: The Gap Between “Able to Train” and “Ready to Train Out of the Box”
A single successful run only proves feasibility. Scaling to production relies on three layers of capability:
- Operator layer: Correctness and performance tuning for high-frequency operators such as attention, normalization, and multimodal fusion;
- Parallelism layer: Combined strategies for data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism, with automatic selection based on model structure;
- Toolchain layer: Automated adaptation, performance profiling, logging and monitoring alerts, and checkpoint management, turning manual tuning into a reusable process.
The deployment results disclosed by the vendor also support this path: it completed full training from scratch for a 236-billion-parameter scientific foundation model, supported full-stack native training for a 5D world model, and jointly completed end-to-end training of an embodied brain model with research institutions. It is now advancing training of trillion-parameter-scale models. The common thread in these cases is “domestic chips training domestic models”—the entire training process is closed-loop within a domestic hardware and software system.
4. Practical Advice for Developers
- Start with small-scale convergence validation: Run 400 steps or more at the two-node, 16-card level, confirm that loss and gradient norms are finite, and then scale up;
- Treat monitoring as a first-class citizen: Use a logging service plus monitoring alerts to cover numerical metrics, automatically stop training on anomalies, and preserve the scene;
- Shard checkpoints: Avoid single-point storage becoming a scaling bottleneck, and archive with object storage if needed;
- Unify the training and inference foundation: Use training-and-inference integrated hardware and a unified container platform for scheduling to reduce environment drift;
- Define acceptance criteria clearly: Distinguish “adaptation and a successful run,” “stable training,” and “complete pre-training” to avoid distorted external claims.
5. Conclusion
A domestic full-function GPU completing training adaptation for a nearly one-trillion-parameter open-source model, with 400 consecutive stable updates on 16 cards across two nodes as evidence, marks improved maturity of domestic compute in full-pipeline training of ultra-large models. For developers, the real benefit is not a single benchmark run but the gradually completed operator library, parallelism strategies, and automated toolchain—when these three are mature enough, “ready to train out of the box” will turn from a slogan into the default experience.
