A Domestic GPU Completes Training Adaptation for a Nearly 1-Trillion-Parameter Model: 400 Stable Steps on 16 Cards Across Two Nodes
This article explains a recent training adaptation in which a domestic full-function GPU vendor ran 400 consecutive optimizer updates on a nearly 3-trillion-parameter open-source flagship model using 16 cards across two nodes, with no numerical overflow or interruption. It clarifies the difference between training adaptation and original pre-training, breaks down what the native FSDP2 multimodal training path validates, interprets the stability criteria behind the 400-step run, and provides a reusable checklist for assessing large-model training feasibility on domestic compute, along with what is still needed to move from "trainable" to "ready out of the box".
1. What Actually Happened: A Training Adaptation, Not a Re-Pre-Training
A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference compute card and its self-developed software stack, it completed a training adaptation for an open-source flagship model with nearly 3 trillion parameters. Under a configuration of 16 cards across two nodes, the setup completed 400 consecutive optimizer updates without numerical overflow or abnormal interruption.
One easily misread boundary must be clarified first: a successful training adaptation does not mean the model completed its original pre-training on this chip.
Three common types of “adaptation” in the industry mean entirely different things:
- Inference adaptation (Day 0 enablement): operator mapping and the inference pipeline are completed on the day model weights are released, with the goal of “producing results”;
- Training adaptation (the event in this article): with existing weights or small-scale initialization, the full chain of forward pass, backward pass, optimizer update, and gradient synchronization is made to run and stay stable, with the goal of “converging and continuing”;
- Original pre-training: initializing from scratch and training on massive corpora at the trillion-token level, with the goal of “producing foundation capabilities”.
There is a reference phenomenon in the industry: the technical reports of some large models validate multiple accelerator-card routes side by side, but what is validated side by side is often inference-side operators and parallelism strategies, not the original compute source of foundation pre-training. Therefore, the value of a training adaptation should be assessed by which chain it validated, which parallelism dimensions it covered, and how many steps it ran stably, rather than simply equating it with “a domestic card trained a certain model”.
2. Technical Core: What the Native FSDP2 Training Path Enables
The keyword of this adaptation is the “native FSDP2 multimodal training path”. The mature form of FSDP (Fully Sharded Data Parallel) can be understood as: parameters, gradients, and optimizer states are sharded along the data-parallel dimension, parameters are all-gathered on demand during the forward and backward passes, and gradients are reduce-scattered, reducing single-card memory pressure from “the whole model” to “shards plus temporary aggregation”.
Native support means not relying on bolt-on patches, but making the following hold naturally at the framework layer:
- Model loading and sharding: an ultra-large model cannot be loaded into a single card as a whole; it must be split by layer or module with a planned shard mapping;
- Scheduling and forward-backward overlap: overlapping all-gather with computation and gradient reduce with backward computation determines effective compute utilization;
- Gradient synchronization and numerical consistency: after cross-node communication, gradients must remain reproducibly consistent to avoid drift across ranks;
- Multimodal tensor support: the tensor layouts of the vision encoder and the language tower, plus variable-length sequences and mask handling, must be unified under the same parallelism strategy.
A schematic configuration skeleton (semantic only, not a specific product interface):
# Pseudocode: training loop skeleton for native sharded data parallelismfor step, batch in enumerate(loader):with shard_context(model): # parameters aggregated on demand from shardsout = model(batch) # multimodal forward passloss = criterion(out, batch.target)loss.backward() # backward + gradient reduce-scatteropt.step() # update sharded optimizer statesopt.zero_grad()if step % log_interval == 0:log(step, loss, grad_norm) # record loss and gradient norm
3. Stability Criteria: What 400 Consecutive Updates Show
The quantitative observations given in the technical report are: 16 training processes, 400 consecutive optimizer updates, loss and gradient norms finite throughout, and no overflow or interruption. The engineering meaning of these criteria is worth expanding:
- Numerical stability: finite loss and grad_norm indicate that loss scaling, normalization layers, and attention softmax under mixed precision did not underflow or overflow;
- Communication stability: 400 steps across nodes without interruption indicate that collective communication (all-gather/reduce-scatter) is robust in timeout, retry, and topology discovery;
- State consistency: optimizer states such as momentum continued updating under sharding without diverging, indicating that sharded semantics are equivalent to single-machine semantics;
- Observability: the ability to continuously output loss and gradient norms indicates that the logging and monitoring pipeline itself did not become a bottleneck.
It should be stated objectively that 400 steps is on the scale of link validation and stability validation, used to prove “trainable, continuable, observable”, and is not equivalent to full convergence validation of a trillion-parameter model. The latter typically requires data at the hundreds-of-billions-of-tokens level, thousands of cards, and a cycle of several weeks or more.
4. A Reusable Checklist for Assessing Training Feasibility on Domestic Compute
If you want to assess whether a large model can be trained on a domestic full-function GPU, proceed in the following order:
- Operator coverage: scan the list of operators the model uses, and mark the parts that are missing, need fallback, or need custom implementation;
- Single-card and single-machine closure: first get the forward and backward pass running on a single card, then on multiple cards in one machine, confirming memory and bandwidth levels;
- Multi-machine scalability: scale gradually from 2 to 8 machines, observing whether throughput scales linearly and whether communication becomes a bottleneck;
- Numerical alignment: compare loss curves and gradient norms against a known reference implementation to confirm there is no systematic deviation;
- Long-stability testing: run continuously for hundreds to a thousand steps without interruption, recording fault recovery and checkpoint-resume capability;
- Toolchain completeness: whether automated configuration, profiling, logging, and alerting are complete determines whether it can be “ready to train out of the box”.
When deploying in the cloud, general capabilities can be combined to support these steps: a container platform for training images and orchestration, object storage for datasets and checkpoints, monitoring and alerting to track loss and hardware metrics, and a logging service to capture the entire training process. In such training scenarios, Baidu AI Cloud likewise supports the adaptation and tuning of upper-layer frameworks with general compute, storage, and observability capabilities.
5. From “Trainable” to “Ready Out of the Box”: What Is Still Missing
“Trainable” is a single-point breakthrough; “ready out of the box” is systems engineering. The gap is concentrated in three areas: first, automatic adaptation of operators and frameworks to reduce manual graph and operator modification; second, automatic search of multi-card and multi-machine parallelism strategies so that the choice of parallelism dimensions no longer depends on expert experience; third, an automated toolchain, including checkpoint resume, fault self-healing, performance profiling, and one-click reproduction.
The conclusion is clear: a stable training adaptation on 16 cards across two nodes for 400 steps marks the closure of a key link in the training chain of a domestic full-function GPU for ultra-large models. But to truly support routine training of trillion-parameter models, continued investment is still needed in the operator ecosystem, parallel efficiency, and the engineering toolchain. For developers, rationally viewing the boundary between “adaptation” and “pre-training” and using a standardized checklist for assessment is the right way to use domestic compute efficiently.
