A Chinese GPU Completes Training Adaptation for a Nearly 1-Trillion-Parameter Model: 400 Stable Steps on 16 Cards Across 2 Nodes
This article explains a recent training adaptation milestone in which a Chinese full-function GPU vendor ran a nearly 3-trillion-parameter multimodal model for 400 consecutive optimizer update steps on 16 cards across two nodes. It clarifies the key distinction between training adaptation and pre-training, breaks down why native FSDP2 was used and what the training path involves, and explains why 400 stable steps matter for numerical stability, communication, and memory management. The article also outlines the operator, parallelism, and toolchain capabilities still needed for out-of-the-box training, along with practical advice on validation, precision, observability, and checkpointing.
1. Background: A Training Adaptation, Not Pre-Training From Scratch
A Chinese full-function GPU vendor recently announced that, using its flagship training-and-inference accelerator card and its self-developed software stack, it quickly completed the training adaptation of a flagship large model with nearly 3 trillion parameters. Under a configuration of two nodes with 16 cards in total, the model ran stably for 400 consecutive optimizer update steps.
One concept that is easy to confuse must be clarified first: a successful training adaptation does not mean the model was pre-trained on this chip. The two are very different in engineering terms.
- Pre-training: Starting from randomly initialized weights, consuming tens of thousands to hundreds of thousands of card-hours to produce a base model. It places extremely high demands on compute scale, cluster stability, and data throughput.
- Training adaptation: Making an existing model structure, operator combination, and parallelism strategy run correctly and stably on new hardware and a new software stack, validating the complete loop of forward pass, backward pass, and optimizer update.
There is a similar reference in the industry: the technical report of a leading model presents inference operator schemes validated on two different accelerator architectures side by side, but this is operator validation on the inference side and does not publicly state the original compute source of its base pre-training. Therefore, when discussing the progress of domestic chips, the four levels of “adaptation/integration,” “fine-tuning,” “continued pre-training,” and “pre-training from zero” should be strictly distinguished.
2. Technical Core: What the Native FSDP2 Training Path Enables
The key to this adaptation is the construction of a native FSDP2 (Fully Sharded Data Parallel, second generation) multimodal training path, connecting the complete chain from model loading and shard scheduling to gradient synchronization.
2.1 Why FSDP2
Traditional data parallelism (DDP) keeps a full model replica on every card, and memory overhead grows linearly with the number of parameters, which is infeasible for trillion-scale models. The core idea of FSDP is sharding parameters, gradients, and optimizer states:
Each card holds only a 1/N parameter shardParameters are all-gathered on demand during the forward passGradients are reduce-scattered after the backward passOptimizer updates are performed on the local shard
Compared with the first generation, FSDP2 mainly improves shard granularity and communication scheduling, reduces redundant communication, and makes mixed precision and state management clearer, making it more suitable for multimodal structures that combine a “vision encoder + language backbone + projection layers.”
2.2 Three Challenges of the Multimodal Training Path
- Parameter loading and shard alignment: Multimodal model submodules vary greatly in parameter count, so sharding strategies must be customized per module to avoid overloading certain cards.
- Heterogeneous computation graphs: The vision branch and language branch use different operator types, and complete operator library coverage is required; otherwise, frequent fallback to generic implementations causes a sharp drop in performance.
- Gradient synchronization consistency: Different branches have different learning rates and gradient clipping strategies, so gradient norm monitoring must be globally unified.
3. Stability Validation: What 400 Consecutive Steps Show
In the experiment, 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norm remaining finite throughout, without numerical overflow or abnormal interruption. This is a meaningful signal from an engineering perspective.
3.1 Why 400 Steps Is a Key Threshold
The most common failure in large-scale training is not “it won’t start,” but “it crashes after running for a while.” Typical problems include:
- Numerical overflow of FP16/BF16 under mixed precision, causing loss to become NaN;
- Accumulation of memory fragmentation on a card, triggering OOM;
- Collective communication timeouts that hang processes;
- Abnormal optimizer state updates that cause gradient norm spikes.
400 consecutive steps without anomalies indicate that operator numerical behavior, communication stability, memory management, and optimizer implementation have all passed an initial stress test.
3.2 Recommended List of Monitoring Metrics
# Illustration: core metrics for training stability monitoringmetrics = {"loss": float(loss_value), # must be finite"grad_norm": clip_grad_norm_, # global gradient norm"param_norm": compute_param_norm(), # parameter norm drift"update_ratio": grad_norm / param_norm, # whether the update ratio is stable"step_time_ms": elapsed / step, # whether throughput fluctuates"mem_reserved_gb": torch.cuda.max_memory_reserved() / 1e9,}assert math.isfinite(metrics["loss"]), "loss is NaN/Inf"
In engineering practice, automatic checkpoint resume should also be configured: asynchronously save sharded checkpoints every N steps, so that after a failure training can resume from the most recent checkpoint, avoiding losing all progress in a long training run.
4. From “Able to Train” to “Ready to Train Out of the Box”
For Chinese GPUs to be truly adopted at scale, three layers of capability need to be completed:
- Operator layer: Cover high-frequency operators such as attention, normalization, activation, and loss functions, and ensure numerical precision alignment; provide automatic fallback and alerts for missing operators.
- Parallelism layer: Support combinations of data parallelism, tensor parallelism, pipeline parallelism, and expert parallelism, and provide automatic search or recommendation of parallelism strategies.
- Toolchain layer: Provide automation capabilities such as distributed launching, log aggregation, monitoring and alerting, fault self-healing, and checkpoint management to lower the barrier to use.
A supporting system can be built with general cloud product capabilities, for example using a container platform for elastic scheduling, object storage for storing checkpoints and datasets, a log service for aggregating multi-card runtime logs, and monitoring and alerting to track loss and hardware metrics.
5. Directions Already Put into Practice for “Domestic Chips Training Domestic Models”
From public information, domestic compute has made substantial progress in multiple directions: completing from-scratch training of a 236-billion-parameter scientific foundation model, supporting full-stack native training of a 5D world model, jointly completing the full-process training of an embodied brain model with research institutions, and advancing the training of trillion-scale parameter models. These cases cover three types of workloads—scientific computing, world models, and embodied intelligence—and place different demands on operator coverage and cluster stability.
6. Practical Advice for Developers
- Start small before going large: Use 1% of the data and a small number of steps to validate path correctness, then scale up gradually.
- Prioritize numerics: Prefer BF16 over FP16, combined with loss scaling and gradient clipping.
- Validate in layers: First single-card operator precision, then multi-card communication correctness, and finally multi-node stability.
- Build observability in from day one: Integrate logs, metrics, and tracing from the start, rather than adding them after a failure.
- Make checkpointing routine: Treat checkpoint resume as a default capability, not an option.
7. Conclusion
The completion of training adaptation for a nearly trillion-parameter model on a Chinese GPU marks the shift of hardware-software collaboration from “usable” to “easy to use.” However, to reach true “out-of-the-box training,” continued refinement is still needed in three areas: operator completeness, maturity of parallelism strategies, and automated toolchains. For developers, understanding the boundary between adaptation and pre-training and mastering stability validation methods is the way to make accurate judgments amid the wave of large-model engineering.
