Domestic GPU Completes Training Adaptation for Nearly Trillion-Parameter Model: 400 Steps Stable on 16 Cards Across Two Nodes
This article explains a domestic GPU vendor's training adaptation for a flagship model with nearly three trillion parameters, completed on 16 accelerator cards across two nodes with 400 consecutive optimizer updates. It clarifies the difference between training adaptation and pretraining, examines the native FSDP2 training path, analyzes what the 400-step stability run demonstrates, and outlines the engineering capabilities and practical path for reliable large-model training.
1. Background: Training Adaptation Is Not the Same as “Where the Model Was Pretrained”
A domestic full-function GPU vendor recently announced that, using its flagship training-and-inference accelerator card and its self-developed software stack, it quickly completed training adaptation for a flagship large model with nearly three trillion parameters. In an environment of 16 accelerator cards across two nodes, the setup completed 400 consecutive optimizer updates without numerical overflow or abnormal interruption.
One easily confused distinction must be clarified first: successful training adaptation does not mean the model finished pretraining on this chip.
The industry’s common “Day 0 adaptation” means that on the day new model weights are released, operator alignment is completed and inference becomes usable. Training adaptation is far more complex: it requires the full chain—backward propagation, gradient reduction, mixed precision, and parallel partitioning—to work end to end. In the technical report of a previously open-sourced model, both NPU and GPU routes were validated side by side. The prevailing industry view is that this was operator validation on the inference side, and the original compute source for the base model’s pretraining was not publicly stated.
So the value of a training adaptation should be judged by three objective indicators: whether real optimizer updates were completed, whether it ran across nodes, and whether it ran for a long time without numerical anomalies. The rest of this article focuses on these three points.
2. Technical Core: A Native FSDP2 Multimodal Training Path
The key to this adaptation is a native FSDP2 (Fully Sharded Data Parallel) training path that closes the loop from model loading to shard scheduling to gradient synchronization.
1. Why FSDP2 Instead of Traditional Data Parallelism
Traditional data parallelism (DDP) requires every card to hold the full model parameters, gradients, and optimizer states. For models with hundreds of billions to trillions of parameters, a single card simply cannot fit them in memory. FSDP2 shards parameters, gradients, and optimizer states so that each card holds only a shard. Parameters are all-gathered on demand during the forward and backward passes and released immediately after computation.
Illustrative pseudocode:
for step in range(total_steps):# Gather sharded parameters on demandparams = all_gather(shard_params)loss = model(batch, params)grads = autograd(loss)# Reduce-scatter gradients, keeping only the shard owned by this cardshard_grads = reduce_scatter(grads)optimizer.step(shard_grads) # Optimizer states are sharded tooif step % log_interval == 0:log(loss, grad_norm(shard_grads))
2. Extra Complexity from Multimodality
Multimodal training means data tensors have inconsistent shapes (text sequences, image patches, and audio frames vary in length). Shard scheduling must handle load balancing under variable-length inputs; otherwise some cards wait while overall throughput collapses.
3. Stability Validation: What 400 Consecutive Steps Show
In the experiment, 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout. The engineering implications are:
- No NaN/Inf: Under mixed precision (BF16/FP16), numerical overflow is the most common failure. Finite gradient norms indicate that loss scaling and clipping strategies are effective.
- No communication deadlock: Cross-node all-gather/reduce-scatter can hang if topology or timeout settings are wrong. 400 consecutive steps indicate stable collective communication.
- No silent errors: A smooth gradient norm curve rules out “silent data corruption,” where some operators return wrong results without raising an error.
In practice, it is advisable to add monitoring logic like this:
assert torch.isfinite(loss), f"loss invalid at step {step}"assert torch.isfinite(grad_norm), f"grad invalid at step {step}"if grad_norm > clip_threshold:grad_norm = clip_grad_norm_(params, clip_threshold)
4. Engineering System: From Fast Inference Deployment to Full-Chain Stable Training
A single successful run is only the starting point. A mature engineering system typically includes four layers:
- Operator layer: Correctness and performance alignment for high-frequency operators such as attention, normalization, and loss functions.
- Parallelism layer: Combined strategies and automatic search for data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism.
- Fault tolerance layer: Sharded checkpoint saving, resume-from-checkpoint training, and automatic isolation of faulty cards.
- Toolchain layer: Automated adaptation, performance profiling, and unified logging, monitoring, and alerting.
5. A Reference Path for Implementation
Public information shows multiple results in “domestic chips training domestic models”: complete from-scratch training of a 200-billion-parameter scientific foundation model, full-stack native training of a 5D world model, and end-to-end training of an embodied-brain model, with trillion-parameter training now underway. This reveals a reusable path:
- First validate the pipeline with small and medium parameter models;
- Then scale to multimodal and long-sequence scenarios;
- Finally push to the trillion-parameter level and build up an automated toolchain.
The practical advice for developers is to build the training environment on common cloud infrastructure—container platform, object storage, log service, and monitoring/alerting. Leave environment consistency to images and orchestration, and observability to unified logs and metrics dashboards, so domestic accelerator cards move from “able to train” to truly “ready to train out of the box.”
