Technical Deep Dive: Post-Training a Trillion-Parameter MoE Model on a Domestic AI Chip Cluster
This article provides a technical analysis of successfully completing the post-training of a 1.6 trillion-parameter sparse MoE large language model on a 1,000-card domestic AI chip cluster. The process achieved a 34.9% Model FLOPs Utilization (MFU) with zero skipped or NaN iterations across 1,500 training steps. By leveraging a highly curated dataset of 3,000 SFT samples, the model demonstrated precise performance improvements. These results validate the viability, efficiency, and production-grade stability of domestic compute infrastructure for trillion-scale model post-training.
Background: From Pre-training to Post-training, A Critical Leap for Domestic Compute
The training of large language models is generally divided into two phases: pre-training and post-training. Pre-training establishes the foundation of general capabilities, while post-training (including continued training, Supervised Fine-Tuning [SFT], and human feedback alignment) determines the upper limit of the model’s capabilities in specific domains. Previously, post-training of trillion-parameter models was almost exclusively validated on a few mainstream international accelerator chips. This recent practice, completed on a 1,000-card domestic AI accelerator cluster, provides a feasibility proof for domestic compute infrastructure to support the post-training of ultra-large models.
It should be clarified that this work did not start from scratch. The model used is an open-source sparse Mixture-of-Experts (MoE) architecture large language model with a total parameter scale of approximately 1.6 trillion, but only activates around 49B parameters per token. Its base weights were pre-trained using over 33 trillion tokens. The task at hand was to take the existing checkpoint and execute full-parameter continued training and SFT. This remains highly challenging from an engineering perspective: even when only partially activating parameters, the memory and communication overhead for expert networks, routing mechanisms, and optimizer states remain massive.
Experiment Configuration: Rigorous and Reproducible Training Setup
The core configurations for this post-training process are as follows:
- Cluster Scale: A training cluster composed of approximately 1,000 domestic AI accelerator chips.
- Training Method: Full-parameter continued training/SFT for all weights, rather than just fine-tuning lightweight adapters like LoRA.
- Training Steps: Approximately 1,500 training steps.
- Step Time: Stably maintained at approximately 27 seconds per step.
- Model FLOPs Utilization (MFU): Stabilized at 34.9%.
- Stability Metrics: Both skipped iterations and NaN iterations were zero.
- Training Data: Approximately 3,000 high-quality SFT samples for mathematical modeling.
Among these, two metrics are worth detailing.
What Does 34.9% MFU Mean?
MFU (Model FLOPs Utilization) measures the ratio of effective computation to the hardware’s theoretical peak computing power. For MoE models, MFU is inherently lower than that of dense models due to load imbalance from expert routing, All-to-All communication, and sparse activation. In similar industry scenarios, an MFU of around 30% is already considered a good level. An MFU of 34.9% indicates that the hardware and software stack of this domestic chip has reached an engineering mature state in parallel strategies, operator fusion, and communication optimization. This is also a crucial sign that domestic compute is transitioning from “capable of running” to “running efficiently.”
The Stability Value of Zero Anomalous Iterations
NaN iterations (loss becoming NaN due to numerical overflow) and skipped iterations (iterations skipped due to anomalies or waiting) are the most common interruption factors in ultra-large-scale training. A single NaN can ruin hours of training, requiring engineers to repeatedly troubleshoot using loss scaling adjustments, gradient clipping, and checkpoint rollbacks. Achieving zero anomalies across 1,500 training steps proves that the numerical stability, mixed-precision strategy, and fault tolerance mechanisms of the underlying framework have withstood the test of trillion-parameter scale. This has direct significance for reducing the operational and maintenance costs of post-training.
Training Results: Small Data, Precise Improvement
This SFT utilized approximately 3,000 SFT samples in the mathematical modeling domain. Under high-quality, domain-focused small-scale data, the model achieved improvements across four related benchmarks. This corroborates an important empirical rule in large model post-training: data quality and domain relevance are more critical than data quantity. For tasks requiring rigorous reasoning, such as mathematical modeling, a small number of carefully constructed samples can effectively guide model behavior, without the need for hundreds of thousands of low-quality corpus entries.
From a technical route perspective, this “small and refined” SFT also keeps training costs controllable: 1,500 steps at 27 seconds per step means the wall-clock time for the entire post-training run was around 11 hours (excluding data preparation and debugging), making the return on investment for the 1,000-card cluster highly evaluable.
Illustration: Typical Workflow for Ultra-Large-Scale MoE Post-Training
1. Obtain open-source MoE base model checkpoint (pre-trained on 33T+ tokens)2. Construct domain-specific SFT dataset (~3,000 samples, quality first)3. Cluster parallel strategy configuration:- Tensor Parallelism (TP) + Pipeline Parallelism (PP) + Data Parallelism (DP)- Expert Parallelism (EP) for handling MoE expert distribution4. Training stability guarantees:- Mixed precision + dynamic loss scaling- Gradient clipping + NaN/Inf detection5. Training monitoring: MFU, throughput, gradient norm, routing balance6. Evaluation: Domain benchmark comparative validation
What Breakthroughs Will Domestic Compute See?
This practice conveys several important signals:
First, domestic chips are now capable of undertaking full-parameter post-training for trillion-parameter models. Full-parameter training requires significantly more from memory capacity, communication bandwidth, and the operator ecosystem than inference. The ability to run stably while maintaining a high MFU indicates that the domestic hardware and software stack is closing the gap on the training side.
Second, stability engineering has reached a usable level. The results of zero NaN and zero skipped steps show that domestic training frameworks have transitioned from laboratory phases to production-grade status in numerical precision management and fault tolerance.
Third, the adaptation capability for the MoE architecture has been verified. Sparse MoE is the most cutting-edge architectural direction, demanding stringent requirements for communication and scheduling. The ability of the domestic platform to efficiently support it indicates that its communication libraries and compilation optimization stack have room for continuous evolution.
Of course, we must also objectively view the gaps: a 34.9% MFU still has room for optimization, and longer-cycle pre-training validation, a richer operator ecosystem, and greater toolchain maturity still need to be accumulated. However, this post-training of a 1.6 trillion-parameter model completed on a 1,000-card cluster undoubtedly represents a solid step forward for the role of domestic compute throughout the lifecycle of large models. As training frameworks continue to iterate and cluster scales expand, domestic compute is poised to take on a more central share across the full pipeline of pre-training, post-training, and inference deployment.
