Trillion-Parameter LLM Training Adaptation on a Domestic Full-Featured GPU: Practice and Analysis
A domestic full-featured GPU vendor has completed training adaptation for a nearly 3-trillion-parameter open-source flagship LLM on its own hardware and software stack, running 400 consecutive optimizer steps across 16 accelerator cards without numerical overflow or interruption. This article explains why training adaptation is far more demanding than inference adaptation, breaks down the native FSDP2 multimodal training pipeline, and examines what this milestone means for the maturity of domestic AI training compute.
1. Background: The Critical Leap from “Runnable Inference” to “Stable Training”
Recently, a domestic full-featured GPU vendor disclosed that it had completed training adaptation for a nearly 3-trillion-parameter open-source flagship large language model, using its flagship AI training-and-inference accelerator card together with its self-developed software stack. The experiment used two machines with a total of 16 training accelerator cards for cross-node joint training. All 16 training processes completed 400 consecutive optimizer updates, with loss and gradient norms remaining finite throughout—no numerical overflow and no abnormal interruptions.
A common industry misconception needs to be clarified first: “training adaptation” does not mean the model was pre-trained from scratch on this chip. Training adaptation refers to taking an advanced open-source model and bringing up the complete training pipeline on proprietary hardware and software, verifying correctness and stability in large-scale distributed training scenarios. It is also not the same as the industry’s familiar “Day 0 adaptation for the latest open-source model,” which often only validates the availability of inference operators. The engineering difficulty of the two differs by an order of magnitude:
- Inference adaptation: The core is operator coverage and inference engine compatibility. The goal is to verify the correctness and throughput of forward computation.
- Training adaptation: Requires full-pipeline coordination across forward pass, backward pass, optimizer updates, gradient synchronization, and checkpoint save/restore. A numerical precision issue, communication inconsistency, or scheduling problem in any single link can cause training to diverge or crash.
Therefore, the ability to run continuous, stable multi-step training validation on a flagship model is generally regarded as an important milestone in the maturity of domestic training compute.
2. Technical Path Breakdown: A Native FSDP2 Multimodal Training Pipeline
According to the disclosed technical report, this adaptation built a native FSDP2 multimodal training path, connecting the complete training pipeline from model loading and sharding scheduling to gradient synchronization. We can break this pipeline down into several core stages.
2.1 Model Loading and Sharded Initialization
For a trillion-parameter-scale model, the weights alone in BF16 precision require several terabytes of storage and memory—far beyond what a single card or even a single machine can hold. The basic idea of Fully Sharded Data Parallel (FSDP) is to shard model parameters, gradients, and optimizer states across multiple devices, reassembling them on demand via all-gather during forward and backward computation. Compared with earlier hook-based sharding schemes, the new-generation FSDP2 uses per-parameter DTensor representation, offering finer sharding granularity, more precise memory management, and better composability with activation checkpointing and mixed precision.
The illustrative sharded initialization logic looks roughly like this:
from torch.distributed.fsdp import fully_shardfor layer in model.layers:fully_shard(layer, mesh=device_mesh) # shard layer by layerfully_shard(model, mesh=device_mesh) # shard the root module
For a domestic GPU, this requires the underlying software stack to fully implement distributed infrastructure such as DTensor, device mesh, and collective communication primitives (all-gather, reduce-scatter, all-reduce). Any semantic deviation in these components will be amplified into deviations in training results.
2.2 Cross-Node Communication and Gradient Synchronization
In 16-card training across two machines, inter-node bandwidth is typically the bottleneck. Engineering practice requires:
- Gradient bucketing and communication-computation overlap: Gradients produced by backward computation are aggregated into buckets, and communication runs in parallel with the backward computation of later layers, hiding communication latency.
- Mixed precision and gradient precision management: The forward pass uses BF16, while gradient reduction and optimizer states maintain FP32 master weights, preventing numerical error accumulation over long training runs.
- Gradient norm monitoring: The fact that gradient norms remained finite across 400 consecutive optimizer steps indicates that numerical stability mechanisms such as gradient clipping and loss scaling behaved consistently across the entire cluster.
2.3 The Significance of Numerical Stability Validation
A smooth loss curve with no NaN/Inf and no abnormal interruptions may look unremarkable, but it is actually a comprehensive test of three capabilities: operator implementation correctness, communication consistency, and fault-tolerant scheduling. This is especially true when complex parallelism strategies such as expert parallelism and sequence parallelism are stacked together, where numerical consistency issues across devices are easily amplified. Passing validation on a real open-source flagship model demonstrates that the software stack has reached the engineering maturity needed to support frontier model training.
3. Engineering System: From “Fast Inference Deployment” to “End-to-End Stable Training”
The vendor states that it has built a mature engineering system capable of supporting frontier, complex large models from rapid inference deployment to full-pipeline stable training. Such a system typically includes the following layers:
| Layer | Key Capabilities | Problems Solved |
|---|---|---|
| Operator layer | Core operator coverage, precision alignment | Ensures per-operator numerics match mainstream implementations |
| Framework adaptation layer | Distributed training framework compatibility, autodiff | Allows mainstream training code to migrate with minimal modification |
| Communication layer | High-performance collective communication, topology awareness | Reduces cross-node communication overhead |
| Toolchain layer | Automated performance profiling, logging and alerting | Quickly locates training anomalies and performance bottlenecks |
The automated toolchain is particularly critical: debugging large-scale training is extremely expensive, and a single failure can waste thousands of card-hours. Automated numerical health checks, slow-node detection, and elastic recovery mechanisms are the necessary path from “can train” to “trains stably.”
4. Accumulated Experience in Large-Scale Training
In terms of hands-on large-scale training, related achievements already cover multiple directions:
- Scientific foundation models: Completed full from-scratch pre-training of a scientific foundation model with roughly 23.6 billion parameters, validating stability over long-duration training tasks.
- World models: Supported full-stack native training of high-dimensional world models, which imposes higher requirements on multimodal data processing and heterogeneous compute scheduling.
- Embodied intelligence models: Worked with research institutions to complete end-to-end training of embodied brain models, involving joint optimization of multimodal inputs and robot control tasks.
The team is currently working with partners to advance the training of trillion-parameter-scale models. This series of from-scratch training practices—rather than mere migration adaptation—represents a stricter standard for evaluating the real value of domestic training compute.
5. Outlook: From “Can Train” to “Train Out of the Box”
Domestic training compute still faces two major challenges. First, new features of frontier models (such as new attention variants and expert parallelism strategies) require rapid follow-up at the operator level. Second, there is still a gap in the usability of the developer ecosystem and toolchain. Future evolution directions include:
- Automated operator generation and fusion: Reducing manual adaptation costs and accelerating support for new model architectures.
- Deep optimization of multi-card coordination: Automatically searching for optimal parallelism strategies based on hardware topology.
- Automated training toolchain: Full-lifecycle management covering data preparation, job orchestration, and fault self-healing.
Only when these capabilities settle into a default-on, “train out of the box” experience will domestic full-featured GPUs have truly crossed the core threshold from technical validation to scaled production. The training adaptation validation on this nearly 3-trillion-parameter model is a clear milestone along that path.
