A Domestic GPU Completes Adaptation for a Nearly Trillion-Parameter LLM: 400 Stable Steps on 16 Cards Across Two Nodes
This article explains a recent domestic GPU adaptation milestone in which a flagship multimodal model of nearly three trillion parameters ran for 400 consecutive optimizer updates on 16 cards across two nodes without numerical overflow or task interruption. It clarifies the difference between training adaptation and pretraining from scratch, breaks down the native FSDP2 training path covering model sharding, gradient synchronization, and multimodal complexity, and outlines four dimensions for judging training stability: numerical health, throughput stability, scaling efficiency, and recoverability. It also summarizes four engineering levers for moving from "can train" to "ready to train out of the box," plus practical recommendations for developers.
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 accelerator and its in-house software stack, it completed the training adaptation of a flagship large model with nearly three trillion parameters. Under a configuration of two nodes with 16 cards in total, the workload completed 400 consecutive optimizer updates with no numerical overflow and no task interruption.
This kind of announcement is easy to misread, so it is worth drawing the conceptual boundaries first.
1.1 Training Adaptation Is Not Pretraining on the Chip
“Adaptation completed” or “integration successful” means that the model’s operators, parallelism strategy, data paths, and optimizer logic can run correctly on this hardware and software stack and are ready for further scaling. It does not mean the model’s base weights were pretrained from scratch on these chips.
There are precedents in the industry: some model technical reports validate multiple accelerator routes side by side and provide fine-grained expert parallelism schemes, but such validation is typically a feasibility proof at the level of inference operators and parallelism strategies. The original compute source for base pretraining has not been publicly confirmed.
1.2 Why This Still Matters
For developers and compute buyers, the real pain point is not “can it run one forward pass” but:
- Whether operator coverage is complete, especially long-tail operators in multimodal and sparse structures;
- Whether communication and computation overlap well after multi-card, multi-node scaling;
- Whether loss and gradient norms stay stable during long runs;
- Whether there are engineering means to locate and recover from anomalies.
400 steps of continuous, stable updates are a small but effective stress test of exactly these questions.
2. Technical Breakdown: What the Native FSDP2 Training Path Enables
The adaptation establishes a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path covering three key areas.
2.1 Model Loading and Shard Scheduling
The core idea of FSDP2 is to shard parameters, gradients, and optimizer states across training processes by layer, all-gather parameter shards on demand during forward and backward computation, and release them immediately after computation. This keeps per-card memory usage at roughly the level of “sharded parameters plus the full parameters of the current layer.”
Illustrative pseudocode (independent of specific framework interfaces, expressing semantics only):
for layer in model.layers:shard = shard_module(layer, mesh=device_mesh) # Shard parameters across processesshard = shard.to(compute_dtype)for batch in dataloader:with shard.summon_full_params(reentrant=False): # Gather shards before computationloss = shard(batch)loss.backward() # Gradients are reduce-scattered by shardoptimizer.step() # Optimizer states are sharded as welloptimizer.zero_grad()
What is genuinely difficult in engineering is shard granularity: slicing too finely causes a surge in communication calls, while slicing too coarsely loses control of peak memory. It requires repeated tuning against layer structure, activation recomputation, and communication topology.
2.2 Gradient Synchronization and Numerical Consistency
Across 400 consecutive updates, “loss and gradient norms remain finite throughout” is a key indicator. It shows that:
- The loss scaling strategy under mixed precision is effective, with no gradient zeroing caused by underflow;
- The data ordering of cross-node reduce-scatter and all-gather is consistent, with no gradient mismatch caused by shard misalignment;
- Optimizer states (first- and second-order momentum) stay synchronized across processes, with no silent drift.
2.3 Additional Complexity of the Multimodal Pipeline
Compared with text-only training, multimodal training adds a vision encoder, projection layers, and modality alignment losses. Parameter distribution is highly uneven, making it easy for some processes to be overloaded and for communication waits to grow long. Sharding strategies therefore often need to be combined with pipeline parallelism and sequence parallelism.
3. Two Nodes, 16 Cards, 400 Steps: How to Judge Whether “Stable” Is Credible
To assess whether a training adaptation is reliable, look at at least four dimensions.
- Numerical health: whether loss decreases smoothly or at least does not diverge, whether gradient norms stay in a reasonable range, and whether inf/nan appears.
- Throughput stability: whether per-step time variance is controlled and whether periodic jitter appears (usually from data loading or communication congestion).
- Scaling efficiency: whether throughput scales close to linearly from one node to two, and whether the communication share is acceptable.
- Recoverability: after injecting a single-point fault, whether training can resume from a checkpoint and continue to converge.
Suggested minimum monitoring instrumentation:
metrics = {"step": step,"loss": float(loss.detach()),"grad_norm": float(grad_norm),"param_norm": float(param_norm),"step_time_ms": step_time,"mem_peak_gb": peak_memory(),"has_nan": bool(torch.isnan(loss) or torch.isinf(loss)),}log_service.write(metrics) # Write to a general-purpose logging servicemonitor.alert_if("grad_norm", ">", threshold) # General-purpose monitoring alert
Landing metrics in a general-purpose logging service and alerting system is the dividing line that takes long-running stability training from “it runs” to “it is operable.”
4. Four Engineering Levers to Move from “Can Train” to “Ready to Train Out of the Box”
Based on publicly reported results (a 236-billion-parameter scientific foundation model trained from scratch, full-stack native training of a 5D world model, full-pipeline training of an embodied brain model, and a trillion-parameter-scale training effort in progress), four general paths can be abstracted.
4.1 Operator Layer: Long-Tail Coverage and Automatic Fallback
Maintain an operator coverage list, and for uncovered operators provide equivalent composite implementations or automatic fallback to a general compute path, so training does not terminate midway because a single operator is missing.
4.2 Parallelism Layer: Automatic Strategy Search
The combination space of parameter sharding, tensor parallelism, pipeline parallelism, sequence parallelism, and expert parallelism is huge. Selection should be automated based on memory, bandwidth, and topology rather than manual trial and error.
4.3 Tooling: One-Click Launch and Automatic Inspection
Turn environment construction, dependency alignment, configuration validation, and health checks into an automated pipeline. Combined with a container platform and image registry, this ensures “the same configuration is reproducible in multiple places.”
4.4 Data and Checkpoints: Frequent Persistence and Resume from Breakpoints
Checkpoints should save model shards, optimizer states, and the data read position at the same time. Object storage can be used as the persistence target, with asynchronous writes coordinated through a message queue to reduce blocking of the main training loop.
5. Practical Recommendations for Developers
- Run a small-scale “smoke training” first: 200 to 500 steps on two nodes with 16 cards, observe the numerical and throughput curves, then decide whether to scale up.
- Treat “stability” as a first-class metric: put it on the dashboard alongside throughput, and set alert thresholds for gradient norm and step-time variance.
- Distinguish “adaptation validation” from “pretraining capability”: when communicating externally, state the boundary clearly and avoid presenting inference operator validation or a successful adaptation run as a base pretraining result.
- Pay attention to ecosystem compatibility: prefer domestic full-function GPU solutions with complete support for general parallel training semantics and continuously improving operator coverage, to lower migration costs.
6. Conclusion
A stable run of 400 steps on two nodes with 16 cards is far smaller in scale than trillion-parameter pretraining, but what it validates is a reproducible engineering path: correct sharding, efficient communication, numerical stability, and fault recoverability. Only when operator adaptation, multi-card coordination, and automated tooling all mature will frontier large models move from “can train” to “ready to train out of the box” on domestic full-function GPUs on a realistic basis.
