Training Adaptation of a Domestic Full-Feature GPU for Nearly 3 Trillion-Parameter Models
A domestic full-feature GPU platform has completed training adaptation for an advanced open-source model with nearly 3 trillion parameters. This article explains the engineering challenges behind the work, including operator equivalence, FSDP2-based sharding, cross-node communication, mixed-precision stability, and long-running training validation. It also clarifies why training adaptation is significantly more demanding than inference integration and outlines the engineering path from “trainable” to “ready for out-of-the-box training.”
1. Background: Domestic Compute Enters the Large-Model Training Phase
Training large models places far greater demands on compute infrastructure than inference deployment. Inference primarily needs to support the main operators used in the forward pass. Training, by contrast, requires a complete loop covering forward computation, backpropagation, and optimizer updates. This creates system-level requirements for operator coverage, communication efficiency, memory management, numerical precision, and long-running stability.
Recently, a domestic full-feature GPU vendor announced a significant milestone: using its flagship AI training-and-inference accelerator and proprietary software stack, it completed training adaptation for an advanced open-source model with nearly 3 trillion parameters. In a joint multi-node training test using two servers and 16 GPUs, all 16 training processes completed 400 consecutive optimizer updates. The training loss and gradient norms remained finite throughout, with no numerical overflow or abnormal interruption.
One important distinction should be made here: completing training adaptation does not mean that the model was pretrained on this type of chip. In the industry, “Day 0 adaptation” commonly refers to quickly enabling inference after a new model is released. Its validation scope focuses primarily on the correctness and performance of inference operators. Training adaptation, however, requires the entire training pipeline to work, including model loading, sharded scheduling, backpropagation, gradient synchronization, and optimizer updates. The engineering difficulty is therefore on a different level.
Understanding this distinction makes it easier to evaluate the actual maturity of domestic compute platforms for training more objectively.
2. Core Technical Challenges in Training Adaptation
2.1 Operator Coverage and Equivalence Validation
Training requires more than simply getting a model to run. The calculations must also be correct. Forward operators, backward gradient operators, and operators inside the optimizer must maintain numerical equivalence with the reference implementation.
A typical validation approach is shown below:
# Pseudocode: validating numerical equivalence between operatorsdef validate_op(op_impl, op_reference, inputs, rtol=1e-5, atol=1e-6):out_impl = op_impl(*inputs)out_ref = op_reference(*inputs)max_diff = (out_impl - out_ref).abs().max().item()return max_diff <= atol + rtol * out_ref.abs().max().item()
For a model approaching 3 trillion parameters, even a small discrepancy in one backward gradient can accumulate and amplify over hundreds of iterations, eventually causing the loss to diverge. Operator validation therefore needs to be repeated across multiple random seeds and a variety of shape combinations.
2.2 Shard Scheduling: Building an FSDP2 Training Path
At the trillion-parameter scale, a single GPU cannot hold the complete model state. Parameters, gradients, and optimizer states can together require many times the memory of the parameters themselves. The industry’s mainstream approach is Fully Sharded Data Parallel (FSDP), which distributes model states across GPUs and gathers them on demand during computation.
This adaptation implemented a native FSDP2 path for multimodal training. Key elements include:
- Parameter sharding and prefetching: Required parameter shards are fetched before each layer’s forward computation, with communication overlapped with computation to hide latency.
- Gradient sharding and Reduce-Scatter: Gradients generated during backpropagation are reduced and sharded across GPUs immediately, preventing the full gradient set from remaining in GPU memory.
- Mixed-precision strategy: Low-precision formats such as BF16 are used for compute-intensive operations to improve throughput, while higher-precision copies are retained for optimizer states and master weights to preserve convergence stability.
- Multimodal support: Differences between vision and language encoders require sharding strategies and memory planning that can accommodate the memory characteristics of different computational subgraphs.
2.3 Cross-Node Communication and Gradient Synchronization
The two-node, 16-GPU training test primarily evaluates the capabilities of the inter-node network and the communication library’s scheduling mechanisms. Typical communication patterns during training include:
- Data-parallel gradient synchronization: Gradients are processed with Reduce-Scatter or All-Reduce before each update.
- All-Gather for parameter reconstruction: Sharded parameters are gathered before each layer is computed.
- Communication-computation overlap: Communication and computation windows are scheduled to overlap, with communication-intensive operations arranged as much as possible during the later stages of backpropagation and during optimizer updates.
If communication is poorly scheduled, GPU compute units may frequently idle while waiting for data, causing a substantial reduction in training throughput. Stable execution for 400 steps across 16 GPUs indicates that the communication path reached a practically usable level of reliability.
3. Stability Validation: Why 400 Consecutive Updates Matter
For large-scale training, interruption is often more damaging than low speed. An interruption requires recovery from the latest checkpoint and wastes a considerable amount of compute. Numerical failures, such as a sudden increase in loss to NaN or exploding gradients, may require rolling back to an even earlier checkpoint.
Completing 400 consecutive optimizer updates while keeping the loss and gradient norms finite provides evidence for at least three capabilities:
- A reasonable numerical-precision design: The mixed-precision strategy did not cause underflow or overflow during long-sequence and large-batch training.
- Effective fault tolerance: Process synchronization and NCCL-level timeout and retry mechanisms did not encounter deadlocks.
- Stable hardware under sustained load: Cooling, power delivery, and ECC error correction did not trigger abnormal behavior while the GPUs operated under heavy workloads.
In engineering practice, the following metrics are also commonly monitored as indicators of training health:
Per-step metrics: loss, grad_norm, learning rate, tokens/s/GPUPeriodic metrics: peak GPU memory, communication time ratio, MFU (model FLOPs utilization)
MFU is one of the most direct indicators of training efficiency. Improving it often depends on operator fusion, communication overlap, and kernel optimization, making it an ongoing focus for hardware and software platforms.
4. From “Trainable” to “Ready for Out-of-the-Box Training”
In this adaptation case, the vendor stated that it had established an engineering system covering the full path from rapid inference deployment to stable end-to-end training. It also disclosed several practical results, including completing full training from scratch for scientific foundation models with hundreds of billions of parameters, supporting native full-stack training for world models, and completing end-to-end training for embodied-intelligence brain models. Training for trillion-parameter models is reportedly now in progress.
For developers, the broader engineering lessons behind this progression include:
- Toolchain automation is a prerequisite for scale. Manually adapting an individual model may be feasible, but supporting a continuous stream of new models requires automated tools for operator dispatch, graph partitioning, and precision validation.
- Inference-first, training-later is a common maturity path. Inference adaptation naturally achieves broader operator coverage than training adaptation. Using inference-side progress to identify and address gaps in training support is a common and efficient approach.
- Stability validation should come before performance optimization. The priority should be to ensure that the system runs to completion and produces correct results before optimizing speed. Otherwise, performance tuning under uncertain numerical behavior can lead to incorrect conclusions.
- Cross-node coordination is a key dividing line. The gap between stable execution on eight GPUs in one server and stable execution on 16 GPUs across multiple servers is mainly reflected in inter-node connectivity and the fault tolerance of collective communication. This is a critical milestone for evaluating the maturity of a training infrastructure.
5. Conclusion
Successful training adaptation of a nearly 3 trillion-parameter model on a domestic full-feature GPU demonstrates the completeness and stability of the domestic compute stack across the large-model training pipeline. It also marks a shift from “usable for inference” toward “usable for training.”
However, adaptation is only the starting point. Improving MFU, expanding cluster scale, and completing the automation toolchain so that frontier models can truly be trained out of the box on domestic hardware will require long-term investment.
For teams planning to build their own training infrastructure, this case suggests a practical evaluation strategy: first validate short-run training stability on the target model and candidate hardware, including the loss curve, gradient norms, and number of consecutive successful steps, before assessing longer-term investment.
