Domestic GPU Completes Training Adaptation for a Nearly Trillion-Parameter Model: What 400 Stable Steps Actually Prove
This article examines a recent training adaptation in which a domestic full-function GPU vendor ran a flagship model of nearly 3 trillion parameters across 16 cards in two nodes, completing 400 consecutive optimizer updates with finite loss and gradient norms. It explains why training adaptation is not the same as base-model pretraining, breaks down the role of a native FSDP2 multimodal training path, analyzes the engineering significance of long stable runs and common interruption causes, outlines a four-stage path from inference to full-link training, and closes with a practical checklist of pitfalls for developers.
1. From “Can Run Inference” to “Can Train”: Why This Adaptation Matters
A domestic full-function GPU vendor recently announced that, using its flagship AI training-and-inference accelerator card and its in-house software stack, it quickly completed training adaptation for a flagship large model with nearly 3 trillion parameters. In a cross-node joint test using 16 cards across two machines, all 16 training processes completed 400 consecutive optimizer updates. The loss and gradient norms stayed finite throughout, with no numerical overflow and no abnormal interruption.
This news is worth developers’ attention not because of the parameter count itself, but because it redraws a line between two concepts that the industry has long conflated: training adaptation and base-model pretraining.
Over the past few years, we have often seen claims of “Day 0 adaptation for the latest open-source model.” This kind of work usually means that on the day model weights are released, the chip vendor fills in missing operators and gets the inference path working, so users can run the model on new hardware. Its value lies in ecosystem responsiveness, but what it validates is forward computation and memory capacity. It does not touch the most demanding parts of the training side: backpropagation, gradient accumulation, and optimizer state maintenance.
A comparable phenomenon in the industry: the technical report of a certain open-source model presented two different accelerator architectures side by side and gave an implementation scheme for fine-grained expert parallelism. The industry generally regards that as operator validation on the inference side, while the report did not clearly disclose the original pretraining compute source of the base model.
So to judge whether a “training adaptation” has real engineering value, look at three hard indicators:
- Whether the full training pipeline is working end to end: model loading, shard scheduling, forward pass, backward pass, gradient synchronization, and optimizer update. Missing any one of these means the loop is not closed.
- Whether it runs continuously for a long time: a few dozen steps may only mean “it runs”; hundreds of steps or more without interruption is what shows numerical stability and communication stability hold up.
- Whether it is reproducible: the same parallel configuration and the same hyperparameters must produce the same curves on a different run before it has engineering reuse value.
2. Technical Breakdown: Why the Native FSDP2 Multimodal Training Path Is Key
In this adaptation, the engineering side built a native FSDP2 (Fully Sharded Data Parallel, version 2) training path. To understand why that matters, start with the memory ledger of large-model training.
Take mixed-precision training as an example. Beyond its own weights, each parameter drags along gradients, the first- and second-order optimizer moments, and activation caches. A common rough industry estimate is that for every 1B parameters, model states alone can occupy on the order of 16 bytes of memory (weights + gradients + optimizer states, assuming mixed precision and an Adam-class optimizer). That means a model of nearly a trillion parameters cannot possibly fit on a single card, or even a single machine.
The core idea of FSDP is sharding: split parameters, gradients, and optimizer states along the data-parallel dimension across all training processes, then dynamically aggregate them layer by layer (all-gather) during forward and backward computation, releasing them immediately after computation finishes. FSDP2 further simplifies state management, replacing the earlier flat wrapping with clearer tensor sharding semantics. The direct benefits are:
- Communication and computation overlap more easily: the sharding granularity fits operators better, making it easier to pipeline all-gather and reduce-scatter with backward computation.
- Memory peaks are more controllable: aggregation happens layer by layer rather than pulling in the full parameter set at once.
- Debugging and migration cost is lower: with unified sharding semantics, scaling from single-machine multi-card to multi-machine multi-card concentrates code changes in the parallel configuration rather than the model definition.
A sketch of the configuration logic (pseudocode, expressing semantics only):
# Pseudocode: illustrates sharding semantics only, not any specific framework APIparallel_plan = {"shard_dim": "param", # parameters, gradients, and optimizer states are split along this dimension"replicate_dim": "none", # no tensor parallelism added for now"overlap_comm": True, # overlap communication with backward computation"activation_checkpoint": True, # trade recomputation for memory}for step in range(total_steps):loss = model(batch) # all-gather parameters layer by layerloss.backward() # reduce-scatter gradients layer by layerassert is_finite(loss) and is_finite(grad_norm)optimizer.step() # each shard updates the parameter shard it holds
Adding a multimodal training path raises the complexity another level: text, image, video, and other modalities are often composed of encoders and decoders with different structures and very different tensor shapes, which easily leads to some processes carrying a heavier load and sudden spikes in communication volume. Native support means the sharding strategy, operator implementations, and communication library are co-designed, rather than stitched together with external patches.
3. What 400 Consecutive Stable Steps Mean in Engineering Terms
“400 consecutive optimizer updates, with loss and gradient norms finite throughout” carries a lot of information. In large-scale training, the real headache has never been whether it can run, but whether it can keep running. Common interruption causes fall into four categories:
- Numerical issues: inf/nan appearing in backpropagation under mixed precision, usually originating from attention softmax, normalization layers, or low-precision accumulation.
- Memory issues: activation peaks grow nonlinearly with sequence length, and long samples trigger OOM.
- Communication issues: cross-node collective communication timeouts or an unfriendly topology cause one process to fall behind.
- Data issues: an individual sample fails to decode, a label goes out of range, or an unexpected branch is triggered.
The corresponding engineering practices are fairly mature: enable gradient clipping and loss scaling, keep higher precision for overflow-prone layers, turn on activation recomputation, set reasonable communication timeouts and retries, and apply strict validation and skip policies on the data-loading side. At the same time, turning monitoring metrics into an observability dashboard (per-step loss, gradient norm, per-process memory, communication time) is what lets you see the trend before an anomaly happens.
# Pseudocode: stability guardrailsgrad_norm = clip_grad_norm_(model.parameters(), max_norm=1.0)if not is_finite(grad_norm):skip_step_and_log(step) # skip this step and log it to avoid polluting the weightselse:optimizer.step()
4. Adoption Path: From Fast Inference Deployment to Full-Link Stable Training
Based on public information, this vendor has several practices of “domestic chips training domestic models,” covering full training from scratch of a 236-billion-parameter scientific foundation model, full-stack native training of a 5D world model, and end-to-end training of an embodied brain model, and is now advancing training for trillion-parameter-scale models. Abstracting these cases yields a reusable four-stage path:
- Inference first: get the model to forward correctly on the target hardware, validating operator coverage and precision alignment. This has the lowest cost and the fastest feedback.
- Small-scale training validation: use very few steps to get the backward pass and optimizer working, focusing on whether gradients are finite and loss decreases.
- Stability long run: run continuously for hundreds to thousands of steps, watching memory levels and communication jitter, and establish a baseline curve.
- Scale-out: layer on tensor parallelism, pipeline parallelism, expert parallelism, and other strategies, with automated toolchains handling cluster-level scheduling and fault tolerance.
At the infrastructure level, this typically requires a container platform to carry training images and resource orchestration, a parallel file system or object storage to carry data and checkpoints, and logging services plus monitoring and alerting for observability. The general capabilities Baidu AI Cloud provides in these scenarios center on elastic compute scheduling, storage tiering, and full-link monitoring, helping teams focus their energy on the model and parallel strategy themselves.
5. A Pitfall Checklist for Developers
- Do not treat “inference runs” as evidence that “training is usable”; the operator sets the two validate differ substantially.
- Do not blindly stack parallel dimensions; first confirm single-card operator efficiency and communication bandwidth, then decide the parallel split.
- Do not ignore the checkpoint strategy; for long jobs, fault tolerance often affects actual output more than peak performance.
- Do not skip precision alignment; errors on the training side accumulate and amplify with steps.
- Do not underestimate the data pipeline; data-side anomalies are one of the main sources of hidden interruptions in large-scale training.
6. Conclusion
Going from “can train” to “trainable out of the box” is essentially about turning operator adaptation, multi-card coordination, fault-tolerance recovery, and automated toolchains into a standardized engineering system. Only when the validation standard for training adaptation is upgraded from “runs once” to “hundreds of consecutive stable, reproducible steps” will the usability of domestic full-function GPUs in the trillion-parameter era be genuinely recognized by the engineering community. For developers, now is a good time to rebuild training baselines, accumulate parallel-strategy experience, and improve observability systems.
