A Domestic GPU Completes Training Adaptation for a Near-Trillion-Parameter Model: 400 Stable Steps on 16 Cards Across Two Nodes
This article explains a recent training adaptation in which a domestic GPU vendor ran 400 consecutive optimizer updates on a near-three-trillion-parameter open-source multimodal model using 16 accelerators across two nodes. It clarifies the key distinction between training adaptation and base-model pre-training, breaks down the full training pipeline (weight sharding with FSDP2, cross-node communication, and numerical stability), and presents a reusable five-step validation process for hardware adaptation. Readers will also find a four-level maturity framework, from "can load" to "ready to train out of the box," along with practical tips for developers.
A Domestic GPU Completes Training Adaptation for a Near-Trillion-Parameter Model: 400 Stable Steps on 16 Cards Across Two Nodes
Background: A Training Adaptation, Not a Pre-Training Reproduction
A domestic GPU vendor recently announced that, using its flagship training-and-inference accelerator card and its in-house software stack, it completed the training adaptation of an open-source flagship model with nearly three trillion parameters. In an environment of 16 accelerator cards across two nodes, the job completed 400 consecutive optimizer updates. Throughout the run, the loss and gradient norms stayed finite, with no numerical overflow and no unexpected job interruption.
One easily confused point must be cleared up first: training adaptation is not the same as completing base-model pre-training on the chip.
- Base-model pre-training: Starting from random initialization, consuming enormous compute and data to converge the parameters. The compute source, data mixture, and training strategy together determine the model’s capability ceiling.
- Training adaptation: Building on an existing model architecture, verifying that the domestic hardware and software stack can correctly perform the forward pass, backward pass, optimizer update, and cross-card communication, so that the model “can be trained, continued-trained, or fine-tuned on domestic cards.”
There are precedents in the industry: the technical reports of some frontier models validate multiple accelerator routes side by side and provide fine-grained expert parallelism schemes, but such validation typically targets the correctness of inference operators and parallel strategies and does not amount to an official statement of the original compute source used for base-model pre-training. The correct reading of a successful adaptation is therefore that the engineering completeness of the domestic software stack has moved up a level, not that domestic compute has reproduced the training cost of a specific model.
Technical Breakdown: What a Complete Training Pipeline Must Connect
The native FSDP2 multimodal training path mentioned in the original text essentially closes the loop across model loading, shard scheduling, and gradient synchronization. Broken down layer by layer:
1. Model Loading and Weight Sharding
A near-trillion-parameter model cannot reside on a single card, so the loading stage has to solve three problems:
- Memory budget: Parameters, gradients, optimizer states (Adam-family optimizers typically take more than twice the parameter memory), and activations all consume GPU memory.
- Sharding strategy: The core of FSDP2 is to shard parameters, gradients, and optimizer states along the data-parallel dimension, all-gather parameter shards on demand during the forward and backward passes, and release them immediately after computation.
- Metadata consistency: A multimodal model contains multiple submodules such as a vision encoder, projection layers, and a language backbone. The sharding granularity and mixed-precision strategy need to be configured separately for each submodule.
Illustrative configuration logic (pseudocode, expressing semantics only):
# Semantics of FSDP2-style sharded training only; not a specific product APIfor submodule in model.modules():if need_wrap(submodule):submodule = fully_shard(submodule,mesh=dp_mesh, # data-parallel communication groupmixed_precision=mp_policy, # per-module precision policy)
2. Cross-Node Communication and Parallelism Combinations
Sixteen cards across two nodes is a typical small-scale cross-node scenario, yet it is already enough to expose communication bottlenecks:
- Collective communication primitives: Three kinds of calls appear densely: all-gather (fetching parameters), reduce-scatter (aggregating gradients), and all-reduce (synchronizing scalars).
- Topology affinity: Intra-node bandwidth between cards is far higher than the inter-node network, so sharding and pipeline partitioning should keep high-frequency communication inside the node where possible.
- Overlap: Overlapping communication with computation is key to throughput. If parameter prefetching during the backward pass is insufficient, noticeable communication bubbles appear.
3. Numerical Stability: The Real Test Behind 400 Steps
“400 consecutive steps without overflow” is far harder than “a single step runs.” Common risks and countermeasures:
| Risk | Symptom | General Countermeasure |
|---|---|---|
| Abnormal loss scale | loss becomes NaN/Inf | Dynamic loss scaling, gradient clipping |
| Gradient norm drift | grad norm keeps climbing | Global norm clipping, learning-rate warmup |
| Low-precision overflow | Specific operator outputs go out of range | Keep critical operators in high precision, per-module precision policy |
| Abnormal optimizer state | Distorted second-moment accumulation | Sharded state validation, periodic consistency checks |
A Reusable Stability Validation Method
Abstracting “400 steps” into an executable acceptance process that any domestic hardware adaptation can follow:
- Single-step correctness alignment: With the same weights and the same data, the single-step loss difference between the domestic stack and the reference stack should fall within an acceptable error range.
- Short-run convergence: Within 50–100 steps, the loss should trend downward and the grad norm should not diverge monotonically.
- Long-run stability: Over hundreds of consecutive updates, monitor NaN/Inf counts, gradient-norm percentiles, and memory usage.
- Checkpoint-resume consistency: After save and restore, the loss curve should be continuous, verifying the correctness of sharded optimizer state.
- Fault injection: Deliberately introduce communication jitter on a single card to verify that the job detects it and fails fast rather than producing silent errors.
For monitoring, it is advisable to plug in general-purpose capabilities: use a log service to collect per-step metrics, use monitoring and alerting to set thresholds for NaN and grad-norm violations, use object storage to persist checkpoints, and use a container platform to package environment consistency.
From “Can Train” to “Ready to Train Out of the Box”: What Is Still Missing
The original text mentions several “domestic chips training domestic models” results: complete training from scratch of a 200-billion-class scientific foundation model, full-stack native training of a 5D world model, full-pipeline training of an embodied brain model, and a trillion-parameter training effort in progress. Abstracting these practices, maturity can be split into four levels:
- L1 Can load: The model can be read in and a single forward pass runs without errors.
- L2 Can update: The backward pass and optimizer update are correct, and the loss decreases over a short run.
- L3 Can stay stable: Long-run training is numerically stable and supports checkpoint resume.
- L4 Ready out of the box: Operator coverage, communication overlap, and an automated toolchain are complete, and users can start with a configuration change.
Most adaptations today sit between L2 and L3. Reaching L4 requires continued work in three areas: operator adaptation (meeting both coverage and performance targets), multi-card coordination (topology-aware scheduling), and an automated toolchain (configuration generation, diagnostics, and tuning).
Practical Advice for Developers
- Validate at small scale before scaling up: Use a two-node, 16-card setup to verify pipeline correctness, then expand to larger scale.
- Put numerical monitoring first: Do not wait for the loss to blow up before investigating; wire up metric collection and alerting from step one.
- Use per-module precision policies: Do not force full half precision across a multimodal model; evaluate the vision encoder and the backbone separately.
- Keep a reference baseline: Always keep a reference implementation that can be aligned against, for single-step and short-run comparison.
- Pay attention to communication topology: Inter-node bandwidth is a hard constraint, and the parallel partitioning scheme must match it.
Conclusion
The value of a stable 400-step training adaptation on 16 cards across two nodes does not lie in getting one specific model to run. It lies in demonstrating that the software stack of a domestic full-feature GPU already has the engineering capability to support full-pipeline stable training of frontier complex models. For developers, the mindset to build is this: adaptation is the starting point, stability is the threshold, and ready-to-train out of the box is the destination.
