Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: 16 Cards Across Two Nodes Run 400 Steps Stably
This article examines 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 finite loss and gradient norms. It clarifies the difference between training adaptation and base-model pre-training, explains how a native FSDP2 multimodal training path connects model loading, shard scheduling, gradient synchronization, and optimizer updates, and outlines a stepwise stability validation approach. It also highlights the engineering capabilities required to move from a single successful run to repeatable, out-of-the-box training.
1. Background: A Training Adaptation, Not Base-Model Pre-Training
A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference accelerator card and in-house software stack, it quickly completed the training adaptation of a flagship large model with nearly 3 trillion parameters. The experiment used 16 accelerator cards across two nodes for cross-node joint training. All 16 training processes completed 400 consecutive optimizer updates, with loss values and gradient norms remaining finite throughout and no numerical overflow or abnormal interruption.
One easily confused point must be clarified first: a successful training adaptation does not mean the model completed base-model pre-training on this chip.
The industry often conflates two different types of work:
- Day 0 adaptation / inference onboarding: Model weights already exist. The goal is to let new hardware load them correctly, run the forward pass correctly, and produce correct outputs, with a focus on operator coverage and numerical consistency.
- Full-pipeline training adaptation: On top of the previous step, this also connects backward propagation, optimizer states, gradient reduction, mixed precision, and checkpoint resumption, with a focus on long-running stability and throughput.
- Base-model pre-training: Initializing parameters from scratch and consuming massive compute and data to complete the original training. This is a core asset of the model developer.
A relevant industry pattern is that some model technical reports validate two different accelerator architectures side by side and provide fine-grained expert parallelism schemes, but this is usually operator validation on the inference side, and the original base-model compute source is not disclosed. Therefore, the value of a training adaptation should be judged by what capabilities it validates, not by how it is described.
2. Technical Core: What the Native FSDP2 Training Path Connects
The key to this adaptation was building a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path that connects model loading, shard scheduling, and gradient synchronization into a closed loop.
2.1 Why Sharding Is Needed
For a nearly trillion-parameter model, parameters, gradients, and optimizer states (such as the first- and second-order moments of Adam-like optimizers) together can require more than ten times the parameter count in GPU memory. A single card often cannot hold it all, so sharding is mandatory.
The core improvement of FSDP2 over earlier implementations is that it uses parameter tensors (DTensor) as the sharding unit, making sharding semantics explicit and reducing behavioral inconsistencies caused by implicit state. It also makes communication-computation overlap scheduling more controllable, which helps with performance tuning in cross-node scenarios.
2.2 The Four Stages of the Full Pipeline
- Model loading: Determine the sharding strategy from the configuration and build sharded parameter views layer by layer, avoiding constructing the full model at once and exhausting both host memory and GPU memory.
- Shard scheduling: During the forward and backward passes, parameters are aggregated per layer (all-gather) and released after use (reshard), balancing memory usage against communication.
- Gradient synchronization: After the backward pass, gradients are reduced, typically using reduce-scatter to distribute gradient shards to each rank.
- Optimizer update: Each rank updates only the parameter shard it holds, then all-gathers the latest parameters.
Illustrative configuration (expressing only the general idea, not a specific product interface):
# Pseudocode: a general skeleton for sharding, training, and updatingfor step, batch in enumerate(loader):with torch.no_grad():pass # multimodal input processing such as data preprocessing and mask constructionloss = model(batch) # forward: all-gather parameters per layerloss.backward() # backward: reduce-scatter gradientsgrad_norm = clip_grad_norm_(model.parameters(), max_norm=1.0)optimizer.step() # each rank updates its local parameter shardoptimizer.zero_grad(set_to_none=True)assert torch.isfinite(loss) and torch.isfinite(grad_norm)
3. Stability Validation: What 400 Consecutive Steps Show
400 consecutive optimizer updates are treated as a key metric because training failures have clear time-accumulation characteristics.
- Numerical stability: Finite loss and gradient norms throughout indicate that loss scaling, overflow detection, and gradient clipping under mixed precision were configured reasonably, with no NaN/Inf propagation.
- Pipeline integrity: 16 cross-node processes staying synchronized continuously indicates that collective communication did not deadlock or time out during long runs, and that communication domain initialization and topology discovery were correct.
- State consistency: Optimizer states stayed synchronized across the sharding dimension, with no parameter drift across ranks.
Engineering practice should make validation stepwise rather than a single long test:
- Single-card forward and backward alignment (compare loss curves against a known implementation);
- Single-node multi-card scalability testing (throughput scales roughly linearly with card count);
- Cross-node connectivity and communication bandwidth baseline measurement for two nodes;
- A stability run of several hundred steps, recording loss, gradient norm, peak GPU memory, and per-step time;
- Checkpoint resumption validation: after saving and restoring the model, optimizer, and random number states, the loss curve should connect seamlessly.
4. From “Able to Train” to “Out-of-the-Box Training”: Key Pieces of the Engineering System
A single successful run only proves feasibility; large-scale deployment depends on engineering capabilities:
- Operator and automatic differentiation coverage: Multimodal models involve attention variants, positional encodings, normalization, sparse structures, and more. A missing operator can interrupt training.
- Parallel strategy combinations: Data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism must be configured according to model structure, and communication volume sets the upper limit on parallelism.
- Observability: Integrating with common logging services and monitoring/alerting capabilities to collect per-step time, communication share, and GPU memory levels, with automatic halting on anomalies.
- Fault tolerance and resumption: Periodic checkpoints and automatic failure rescheduling are the cost baseline for long-cycle training.
- Toolchain automation: Configuration validation, dependency locking, and environment consistency checks reduce cases where “the same code fails on a different machine.”
On domestic compute, “domestic chips training domestic models” has already taken multiple forms: moderately sized scientific foundation models trained from scratch, physics world models trained with a full native stack, embodied brain models trained through the full pipeline, and trillion-parameter model training currently in progress. These practices point to one conclusion: the maturity of a training adaptation is ultimately defined by stability duration, scaling efficiency, and toolchain completeness. The practical advice for developers is to first establish a reproducible alignment baseline, then scale up gradually, and turn each adaptation into a reusable automated process, so that “out-of-the-box training” can truly be achieved.
