Practical Path to Adapting a Domestic GPU for Training a Nearly Trillion-Parameter Large Model
This article examines a recent training adaptation in which a domestic full-function GPU vendor ran 400 consecutive optimizer updates on a flagship model with nearly 3 trillion parameters using 16 cards across two nodes. It clarifies the difference between training adaptation and pretraining, breaks down the three-stage training pipeline of model loading and sharding, cross-node training, and gradient synchronization with numerical stability, outlines a methodology for verifying long-run stability, and explains what is still needed to reach out-of-the-box trainability.
1. Background: A Training Adaptation, Not a Pretraining Reproduction
A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference compute card and its self-developed software stack, it had quickly completed the training adaptation of a flagship large model with nearly 3 trillion parameters. Under a configuration of 16 cards across two nodes, the run completed 400 consecutive optimizer updates, with the loss and gradient norm remaining finite throughout and no numerical overflow or abnormal interruption.
One easily confused point must be clarified first: training adaptation is not the same as pretraining the model on that chip.
In the industry, “Day 0 adaptation of the latest open-source model” usually means that operator mapping and the inference or fine-tuning pipeline are brought up on the day the model weights are released. Pretraining, by contrast, is the original training process that starts from random initialization and consumes enormous compute, and the source of that compute is often not disclosed. The technical report of a leading model once validated fine-grained expert parallelism schemes on two types of accelerators side by side; the industry generally reads this as operator validation on the inference side, not a statement about where the compute for pretraining the foundation model came from.
So evaluating the real value of a training adaptation comes down to three things: whether the pipeline is complete, whether parallel strategies are natively supported, and whether long-running execution is numerically stable.
2. Technical Breakdown: The Three-Stage Structure of a Complete Training Pipeline
2.1 Model Loading and Shard Scheduling
A nearly trillion-parameter model cannot reside entirely in a single card’s memory, so the loading stage has to solve the problem of “splitting, placing, and rearranging weights.” The core advantage of the native FSDP2 path is clear sharding semantics: parameters, gradients, and optimizer states are all split along the data-parallel dimension, parameters are all-gathered on demand during training and released immediately after computation, which significantly reduces peak memory usage.
Illustrative pseudocode:
for step in range(total_steps):for shard in fsdp_shards: # Aggregate shards on demandparam = all_gather(shard)loss = forward(param, batch)grads = backward(loss)reduce_scatter(grads) # Reduce-scatter sharded gradientsoptimizer.step() # Each card updates its local shardassert is_finite(loss) and is_finite(grad_norm)
2.2 Cross-Node Joint Training
Two nodes with 16 cards form the minimum verifiable multi-node topology. Inter-node communication bandwidth is lower than intra-node interconnect, so parallel strategies need to keep tensor parallelism, which involves heavy communication, confined within a node, place data parallelism and pipeline parallelism on the cross-node dimension, and hide latency through computation-communication overlap.
2.3 Gradient Synchronization and Numerical Stability
400 consecutive updates are a far more demanding metric than “getting one step to run.” Common causes of interruption include insufficient dynamic range under FP16 mixed precision leading to overflow, uneven expert routing load causing computation drift on individual cards, and inconsistent optimizer state sharding. In engineering practice, BF16 is typically used as the main compute precision, with loss scaling and gradient clipping as safeguards, and a finiteness check on the loss and gradient norm at every step.
3. Verification Methodology: Proving “Stable” Rather than “Lucky”
- Step dimension: 400 consecutive optimizer updates, covering the learning-rate warmup and early convergence range;
- Metric dimension: loss and gradient norm finite throughout, with no NaN or Inf;
- Topology dimension: cross-node rather than single-node, exposing communication and synchronization defects;
- Reproducibility dimension: fixed random seed and data order, making regression comparison straightforward.
4. The Gap Between “Able to Train” and “Trainable Out of the Box”
Several types of results pairing domestic chips with domestic models have already appeared in real industrial deployment: completing training of a 200-billion-scale scientific foundation model from scratch, supporting full-stack native training of a 5D world model, jointly completing the full training pipeline of an embodied brain model with research institutions, and currently advancing trillion-parameter training.
Reaching “trainable out of the box” still requires filling three layers of capability: operator coverage with automatic fallback, automatic parallel-strategy search, and an automated toolchain built on container platforms, logging services, and monitoring and alerting. For developers, selection should focus on verifying three hard metrics — the sharded memory curve, cross-node scaling efficiency, and long-run stability duration — rather than looking only at single-card peak compute.
