A Domestic GPU Completes Training Adaptation for a Near-Trillion-Parameter Model: An Engineering Breakdown of 400 Stable Steps on 16 Cards Across Two Nodes
This article examines what it actually means when a domestic GPU vendor announces training adaptation for a near-3-trillion-parameter flagship model, and why 400 consecutive optimizer updates on 16 cards across two nodes is a meaningful engineering signal. It clarifies the difference between integration, training adaptation, and pretraining; explains the four criteria used to validate a training run; breaks down the native FSDP2 training path into model loading, sharding, gradient synchronization, and numerical fault tolerance; and lists common cross-node pitfalls with practical workarounds. It closes with the capability areas required to move from "can train" to "ready to train out of the box" and a repeatable acceptance checklist developers can use to evaluate any domestic compute stack.
A Domestic GPU Completes Training Adaptation for a Near-Trillion-Parameter Model: An Engineering Breakdown of 400 Stable Steps on 16 Cards Across Two Nodes
First, Align the Concepts: Integration, Training Adaptation, and Pretraining Are Not the Same Thing
Discussions around the domestic compute ecosystem most often confuse three distinct concepts: integration, training adaptation, and pretraining.
- Integration / inference deployment: The model weights are already trained. The goal is to get the forward pass running and produce expected outputs, with attention on throughput, latency, and memory footprint.
- Training adaptation: The backward pass and parameter update path are wired up on the target hardware, so the model can “keep learning” or even “learn from scratch.” The focus is operator coverage, numerical stability, and multi-card coordination efficiency.
- Pretraining: Starting from random initialization and applying trillions of parameter updates over a massive corpus. This is a systems engineering effort measured in weeks or months, requiring ten-thousand-card clusters and very high fault tolerance.
A recent industry report states that a domestic full-function GPU vendor completed training adaptation for a flagship model with nearly 3 trillion parameters, using its flagship training-and-inference compute card and a self-developed software stack. The run performed 400 consecutive optimizer updates on a configuration of 16 cards across two nodes, with loss and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption.
It is worth stressing that completing training adaptation does not mean the model was pretrained on those chips. Earlier comparable cases in the industry make the same point: a foundation model’s technical report validated fine-grained expert parallelism across accelerators of different architectures side by side, which the industry generally read as operator validation on the inference side, while the original compute source for the base pretraining run was never publicly confirmed. The value of a training adaptation should therefore be judged against engineering metrics, not marketing language.
Why “400 Consecutive Updates” Is a Metric with Real Weight
To an outsider, 400 steps sounds small. To a practitioner, the weight of those 400 steps lies in “consecutive” and “finite throughout.”
Getting the forward pass working is only the starting point. The backward and update phases are where problems actually surface:
- Operator coverage: The backward pass needs forward activations, reduction operators, normalization operators, attention backward, and more. Any missing piece halts the run immediately.
- Numerical stability: Under mixed precision, NaN/Inf in the loss is the most common failure mode, usually caused by overflow, division by zero, log-domain computation, or missing gradient clipping.
- State consistency: Optimizer momentum, second moments, the learning rate schedule, and random seeds must stay consistent across updates. Otherwise the loss slowly drifts.
- Communication correctness: A single mismatched gradient synchronization step across nodes may look fine in the short term, but tens of steps later the loss curve visibly diverges from the baseline.
Acceptance criteria therefore typically include four checks: the loss is finite and trends downward reasonably, gradient norms stay finite, no process exits abnormally, and the loss curve aligns with a reference implementation within tolerance. 400 steps is enough to cover the learning rate warmup phase and the initial unstable region, making it a common “smoke test plus stability” validation length in the industry.
What the Native FSDP2 Training Path Actually Connects
The adaptation built a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path, connecting the full chain from model loading and shard scheduling to gradient synchronization. It can be understood in four layers:
- Model loading layer: Weights with an enormous parameter count cannot be loaded into a single card’s memory in full. They must be streamed in as shards with support for meta device initialization, so peak memory does not blow up.
- Shard scheduling layer: Parameters, gradients, and optimizer states are partitioned across cards. The forward pass all-gathers parameters on demand, and the backward pass reduce-scatters gradients. Overlapping computation with communication is the key to efficiency.
- Gradient synchronization layer: Cross-node synchronization requires correct communication group partitioning and topology awareness. Hierarchical reduction that keeps intra-node high-bandwidth interconnect separate from the inter-node network significantly lowers synchronization overhead.
- Numerical and fault-tolerance layer: Loss scaling under mixed precision, gradient clipping, checkpoint saving, and resuming from interruption.
A schematic configuration skeleton (expressing general semantics only, not a specific product interface):
# Pseudocode: training loop skeleton for fully sharded data parallelfor step, batch in enumerate(loader):with torch.autocast(dtype=torch.bfloat16):loss = model(batch).lossloss.backward() # backward triggers reduce-scatter of gradientsgrad_norm = clip_grad_norm_(...) # gradient clipping to suppress abnormal spikesoptimizer.step() # sharded update of each card's parameter subsetoptimizer.zero_grad()assert torch.isfinite(loss) and torch.isfinite(grad_norm)if step % 50 == 0:save_checkpoint(step) # periodic persistence, supports resuming training
Four Common Cross-Node Pitfalls and How to Avoid Them
- Mismatched communication groups: Poor partitioning of intra-node and inter-node communication groups lets all-gather saturate cross-node bandwidth. The fix is topology-aware parallel strategy configuration that keeps high-bandwidth communication inside the node.
- Uncontrolled memory peaks: Shard granularity, activation recomputation, and batch size constrain one another. A practical approach is to get a small batch working first, then scale up gradually while enabling selective recomputation.
- Numerical overflow: bf16 has a better dynamic range than fp16 but can still overflow. Use numerically stable implementations for attention softmax, normalization, and loss computation.
- Missing fault tolerance: Long-running stable training requires periodic checkpoints and automatic restart. Without them, a single node hiccup can erase hours of compute.
The Capability Pieces Needed to Go from “Can Train” to “Ready to Train Out of the Box”
Supporting full-chain stable training for frontier, complex large models requires systematic engineering capability rather than isolated operator adaptation:
- Operator libraries and auto-tuning: Full coverage of the operators training requires, with automatic selection of high-performance implementations across different shapes.
- Multi-card, multi-node coordination: Free composition and automatic search across parallel strategies, including data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism.
- Automated tooling: One-command distributed launch, log and metric collection, monitoring and alerting, and performance analysis with bottleneck localization.
- Ecosystem compatibility: Low-modification migration of mainstream training frameworks and model architectures, reducing the cost of switching for users.
- Observability: Bringing loss curves, gradient norms, throughput, and communication share into a unified logging service with monitoring and alerting, producing a traceable acceptance report.
When deployed in the cloud, these capabilities are typically combined with general cloud product categories such as container platforms, object storage (for checkpoints and datasets), message queues (to decouple task scheduling), and logging, monitoring, and alerting services. Baidu AI Cloud offers corresponding product categories in these general areas for building a training platform.
Existing “Domestic Chips Training Domestic Models” Practice and Next Steps
Based on public information, results on the domestic compute side already span several forms: a scientific foundation model of roughly 236 billion parameters completed full training from zero; a 5D world model achieved full-stack native training; an embodied brain model completed end-to-end training; and training at the trillion-parameter scale is in progress. The common thread in these cases is that the entire training workflow closes the loop on domestic hardware, rather than being validated only on the inference side.
The next key tasks concentrate in three areas: filling the long tail of operator coverage, optimizing parallel efficiency at extreme scale, and delivering a “ready to train out of the box” experience through automated tooling. For developers, the most practical way to judge whether a domestic compute stack is usable is to replicate this acceptance process: get a small-scale run working, scale up gradually, watch whether loss and gradient norms stay finite over hundreds of consecutive steps, and confirm that checkpoints resume correctly.
