A Domestic GPU Completes Training Adaptation for a Nearly 1-Trillion-Parameter LLM: 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 stable loss and gradient norms. It clarifies the difference between training adaptation and pretraining, breaks down why adaptation is a hard engineering problem across the operator, parallelism, and numerical layers, outlines a native FSDP2 training path with pseudocode, and provides a reusable checklist for verifying cross-node stability. It also covers the remaining gaps toward out-of-the-box training.
1. What Happened: A Training Adaptation, Not Pretraining from Scratch
A domestic full-function GPU vendor recently announced that it completed the training adaptation of a flagship model with nearly 3 trillion parameters, using its flagship training-and-inference accelerator card and its in-house software stack. The experiment ran on 16 accelerator cards across two nodes. All 16 training processes completed 400 consecutive optimizer updates, with the loss and gradient norm staying finite throughout and no numerical overflow or task interruption.
One common misunderstanding needs to be cleared up first: training adaptation does not mean the model was pretrained on this chip. Adaptation means the model architecture, operators, parallel strategy, and training framework can run the complete training pipeline correctly and stably on this hardware and software stack. Pretraining means starting from zero and iteratively updating the parameters over massive corpora. The former is about running correctly; the latter is about producing a model. The “Day 0 adaptation for the latest open-source model” often seen in the industry mostly means inference is available or short training runs can complete, which is not the same thing as the original compute source for pretraining a foundation model.
2. Why Training Adaptation Is a Hard Engineering Problem
For developers, the difficulty of adaptation concentrates in three layers:
- Operator layer: Large models contain many non-standard operators (normalization variants, positional encoding variants, sparse routing, attention variants, and so on). Any missing operator or semantic deviation can cause the loss to fail to converge or produce incorrect results.
- Parallelism layer: The parameter scale requires sharding and parallelism, involving combinations of data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism, with communication and computation needing to overlap.
- Numerical layer: Under mixed precision, loss scaling, gradient clipping, optimizer state precision, and the stability of normalization statistics all affect whether the model can iterate continuously without overflow.
Therefore, the value of the “400 consecutive steps without interruption” metric lies not in the number of steps but in the fact that it demonstrates the pipeline is closed-loop and numerically stable at the same time.
3. Native FSDP2 Training Path: From Loading to Gradient Synchronization
The adaptation built a native FSDP2 multimodal training path, connecting the complete flow from model loading and shard scheduling to gradient synchronization. In engineering terms, it can be abstracted as the following pseudocode:
# Illustration: training loop with fully sharded data parallelismfor step, batch in enumerate(loader):with autocast(dtype=bf16):out = model(batch) # Forward: sharded parameters all-gathered on demandloss = criterion(out, batch.y)loss.backward() # Backward: sharded gradients reduce-scatteredclip_grad_norm_(model, max_norm) # Gradient clipping to suppress abnormal amplificationoptimizer.step() # Optimizer states also kept shardedoptimizer.zero_grad()if step % 50 == 0:log(step, loss, grad_norm) # Monitor finiteness and trends
Key engineering points include: sharding parameters and optimizer states to reduce per-card memory pressure; aggregating parameters on demand during the forward and backward phases to reduce resident memory; reducing gradients in sharded form to lower peak communication; and combining gradient clipping with log monitoring to keep the loss and gradient norm finite throughout.
4. How to Verify Cross-Node Stability: A Reusable Checklist
Joint training across two nodes with 16 cards is essentially about verifying the coordination of communication, computation, and numerics. The following checklist is recommended for self-checking:
- Numerical finiteness: Record the loss, gradient norm, and loss scaling factor at every step, and immediately locate the specific module when NaN/Inf appears.
- Deterministic reproduction: Fix random seeds and data order, and get a small-scale run working before scaling up.
- Communication correctness: Check the call order of shard aggregation and reduction to avoid deadlocks and out-of-order execution.
- Fault tolerance and recovery: Save sharded checkpoints regularly and support resuming from breakpoints to avoid a long task failing all at once.
- Performance observation: Focus on the overlap ratio of computation and communication and the jitter of per-step time, rather than only looking at peak throughput.
5. The Gap from “Able to Train” to “Ready to Train Out of the Box”
The vendor disclosed several results of training domestic models on domestic chips: completing the full training of a 236-billion-parameter scientific foundation model from scratch, supporting full-stack native training of a 5D world model, and completing the full-process training of an embodied brain model together with research institutions, while also advancing the training of trillion-parameter-scale models.
To move toward out-of-the-box training, several things still need to be filled in: operator coverage and semantic consistency testing, automated parallel strategy search, an end-to-end toolchain (data, training, evaluation, monitoring and alerting), and integration with general infrastructure such as container platforms and object storage. The practical benefit for developers is lower migration costs, shorter tuning time, and better long-task stability, so they can put their energy back into the model and the data themselves.
