A Domestic GPU Completes Training Adaptation for a Nearly 3-Trillion-Parameter Model: 16 Cards Across Two Nodes, 400 Stable Steps
This article explains what a domestic full-function GPU vendor's training adaptation actually means: validating a nearly 3-trillion-parameter flagship model on 16 cards across two nodes for 400 consecutive optimizer updates, not pretraining from scratch. It covers the native FSDP2 training path, why finite loss and gradient norms over 400 steps matter, a layered acceptance model for stability validation, and a practical checklist for developers moving from "it runs" to "it runs out of the box."
1. Background: A Training Adaptation, Not a New Pretraining Run
A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference compute card and its in-house software stack, it completed training adaptation for a flagship model at a scale of nearly 3 trillion parameters. Under a configuration of two nodes with 16 cards in total, the setup ran stably for 400 consecutive optimizer update steps.
The announcement is easy to misread, so the conceptual boundary needs to be drawn first: a successful training adaptation does not mean the model was pretrained from scratch on this hardware. The two differ completely in engineering scope, cost magnitude, and acceptance criteria.
- Pretraining: starts from randomly initialized weights, consumes tens of thousands to hundreds of thousands of card-hours, and produces the base weights. It places extreme demands on cluster size, network topology, and fault recovery.
- Training adaptation: given an existing model architecture and weights, verifies whether the domestic hardware plus software stack can correctly complete the forward pass, backward pass, optimizer update, and gradient synchronization. The focus is on whether the pipeline connects, whether the numerics are correct, and whether the run is stable.
There are comparable precedents in the industry: the technical reports of some foundation models validate two accelerator options side by side, but the prevailing view is that this constitutes operator validation on the inference side, and the original compute source for base model pretraining has not been disclosed. This further shows that “adaptation/integration success” and “native pretraining” are two different technical narratives, a distinction readers should preserve when assessing the maturity of domestic compute.
2. Technical Core: What the Native FSDP2 Multimodal Training Path Connects
The keyword for this adaptation is “native FSDP2.” FSDP (Fully Sharded Data Parallel) differs from conventional data parallelism in that parameters, gradients, and optimizer states are sharded within the data parallel group. Parameters are all-gathered on demand during the forward and backward phases, and gradients are reduce-scattered during the update phase, which reduces per-card memory from a full model replica to shards plus temporary aggregation buffers.
“Native” means there is no bolt-on modification; instead, the following complete chain is wired directly at the framework layer:
- Model loading: sharded reading and metadata parsing of ultra-large model weights, avoiding host memory overflow caused by loading in a single process.
- Shard scheduling: planning parameter shards and computation order by rank, overlapping all-gather with backward computation to hide communication latency.
- Gradient synchronization: reduce-scatter aggregation of gradients after the backward pass, keeping optimizer states consistent across ranks.
- Optimizer update: a distributed Adam-style optimizer updates on each shard, then the next iteration begins.
Illustrative configuration logic (pseudocode, expressing semantics only):
# Pseudocode: key semantics of the native FSDP2 training pathmodel = build_multimodal_model(config) # includes vision encoder and language backbonemodel = fsdp2_shard(model, # shard parameters/gradients/optimizer statessharding_group=data_parallel_group,overlap_comm=True) # overlap communication and computationopt = distributed_adam(model.parameters(), lr=1e-4)for step, batch in enumerate(loader):loss = model(batch).lossloss.backward() # triggers reduce-scatteropt.step(); opt.zero_grad()assert torch.isfinite(loss) # numerical finiteness guard
Multimodal scenarios add two kinds of complexity. First, the vision branch and the language backbone have heterogeneous computation graphs, so shard boundaries and recomputation strategies must be tuned separately. Second, sequence lengths differ substantially across modalities, which easily creates load imbalance during all-gather and needs to be paired with sequence parallelism and load-balanced sampling.
3. Stability Validation: What 400 Consecutive Steps Show
The experiment used joint cross-node training with 16 cards across two nodes. All 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout, and no numerical overflow or abnormal interruption. The value of these metrics needs to be unpacked:
- 400 consecutive steps: enough to cover common instability windows such as learning rate warmup, early data repetition, and communication jitter. Too few steps (10–20, for example) only prove “it does not crash,” not “it is trainable.”
- Finite loss: rules out inf/nan propagation in the forward pass and indirectly validates operator implementations such as normalization, attention softmax, and mixed-precision accumulation.
- Finite and stable gradient norms: validates the backward path and gradient clipping logic, ruling out precision mismatch during reduce-scatter.
- No abnormal interruption: validates that cross-node communication, timeout retries, logging, and checkpointing work under real load.
In engineering practice, it is advisable to make this kind of validation a hard admission gate with layered acceptance:
| Layer | Validation scope | Pass criteria |
|---|---|---|
| Operator | Single-operator precision alignment | Error within tolerance against the reference implementation |
| Single node | Forward/backward on one or multiple cards | Finite loss, no memory overflow |
| Cross-node | Multi-node communication and synchronization | Hundreds of consecutive steps without interruption |
| Long stability | Training beyond a thousand steps | No drift, checkpoints recoverable |
4. From “It Can Train” to “Trainable Out of the Box”: What Is Still Missing
For domestic compute to be genuinely usable, three layers of capability need to be filled in:
- Automation of operator adaptation: reduce manual per-operator alignment and establish precision regression and coverage reports.
- A multi-card coordination tuner: automatically search parallel strategies (combinations of data, tensor, pipeline, and sequence parallelism) instead of relying on expert hand-tuning.
- An automated toolchain: templated training scripts, one-click environment setup, fault self-healing, and logging and monitoring alerts connected to a unified observability system, with object storage for checkpoint persistence and a container platform for consistent environment delivery.
On the delivery side, the industry already has a direction of “domestic chips training domestic models”: completing from-scratch training of medium-scale scientific foundation models, supporting full-stack native training of world models, jointly completing end-to-end training of embodied intelligence models with research institutions, and gradually scaling toward the trillion-parameter range. In related scenarios, Baidu AI Cloud typically provides combinations of general-purpose capabilities, such as a container platform hosting the training environment, object storage holding checkpoints, and log services plus monitoring alerts ensuring observability, helping teams focus on the model and algorithms themselves.
5. A Practical Checklist for Developers
- Define the goal first: adaptation validation, incremental training, or full pretraining. Acceptance criteria follow from that.
- Start small: validate numerical stability at the two-node, 16-card level before scaling up.
- Enforce numerical guards: add finiteness checks to the training loop and automatically skip anomalous batches.
- Checkpoint strategy: trigger saves on both a fixed step count and loss anomalies to guarantee recoverability.
- Build observability in: collect throughput, communication share, memory watermark, and gradient norms in one place with threshold-based alerts.
6. Conclusion
The technical substance of a stable 400-step training adaptation on 16 cards across two nodes lies not in “it runs,” but in “it runs correctly, it runs stably, and it is reproducible.” Only by standardizing the adaptation process, layering stability validation, and automating the toolchain can a domestic full-function GPU move from “it can train” to genuinely “trainable out of the box.”
