Domestic AI Chip Completes Training Adaptation for a Trillion-Parameter-Scale Model
This article examines the engineering challenges behind adapting a 2.8-trillion-parameter open model to a domestic AI accelerator platform. It explains the memory, communication, model-loading, FSDP2 sharding, multimodal training, and gradient-synchronization requirements involved, and discusses what the effort reveals about the maturity and future development of heterogeneous AI computing ecosystems.
1. Background: An Extremely Large Open Model Meets Domestic AI Compute
A notable development has recently emerged in the large-model field: a team released a flagship model with 2.8 trillion parameters, pushing the scale ceiling for open models to a new level. At the same time, a domestic AI chip provider announced that it had completed training adaptation for the model using its flagship integrated AI training-and-inference accelerator and proprietary software stack.
The adaptation reportedly established a native multimodal training path based on fully sharded data parallelism 2 (FSDP2), connecting the complete workflow from model loading and shard scheduling to gradient synchronization.
The significance of this development goes beyond the release of another trillion-parameter-scale model. More importantly, it tests a critical question: Can a domestic AI computing ecosystem support the training of frontier-scale models?
Training a model with trillions of parameters places extremely demanding requirements on hardware interconnects, device memory management, communication efficiency, and software-stack maturity. Successfully running an end-to-end training pipeline is itself a system-level evaluation of the entire hardware and software stack.
2. What 2.8 Trillion Parameters Means: An Estimate of Training Requirements
To understand the difficulty of this adaptation, it is useful to establish an intuition for the scale of the model.
1. Memory Requirements Far Exceed the Capacity of a Single Accelerator
In mixed-precision training, the main components of the training state typically include:
- Model parameters: 2.8 trillion parameters stored in BF16 require approximately 5.6 TB;
- Gradients: roughly the same scale as the parameters, requiring another 5.6 TB;
- Optimizer states: an Adam-style optimizer typically stores an FP32 copy of the parameters, momentum, and variance. This can require approximately 12 bytes per parameter, or around 33 TB at this scale.
A rough estimate shows that the training state alone exceeds 40 TB. Activation memory increases the total further. Since mainstream accelerators generally provide memory in the hundreds-of-gigabytes range, the model state must be distributed across hundreds or even thousands of accelerators. There is no practical shortcut of first running the model on a single device and then scaling it out.
2. Communication Becomes a Primary Bottleneck
Once parameters are sharded, every forward and backward pass triggers substantial All-Gather and Reduce-Scatter operations. At trillion-parameter scale, the communication generated during a single training step can reach tens of gigabytes.
Communication efficiency directly affects overall model FLOPs utilization (MFU). This places significant demands on inter-chip bandwidth, network topology, and communication-library optimization.
3. Breaking Down the Complete Training Adaptation Pipeline
The reported adaptation connected the full workflow from model loading and shard scheduling to gradient synchronization. This workflow can be divided into several key stages.
1. Model Loading: Unpacking a Trillion-Parameter Model
The first challenge in loading a trillion-parameter model is compatibility and conversion between weight formats. Open models are commonly stored in a specific sharded format. Adaptation work typically includes:
- Parsing the structure of the sharded checkpoint files and configuration files to correctly reconstruct the network;
- Converting parameter data types, such as converting BF16 weights to the precision required for training;
- Supporting streaming loading and on-demand initialization to prevent memory peaks during startup.
A common engineering practice is to initialize the model on a meta device. The model skeleton is created on a virtual device first, and weights are then loaded shard by shard onto the target devices according to the sharding plan:
# Meta-device initialization example: build the skeleton first,# then populate it with sharded weightswith torch.device("meta"):model = build_model(config) # Does not consume real device memoryapply_sharding_plan(model, world_size) # Apply the sharding planload_sharded_state_dict(model, ckpt_path) # Load weight shards on demand
2. Shard Scheduling: Why FSDP2 Is Becoming a Mainstream Choice
The core idea of Fully Sharded Data Parallelism is to shard not only data, but also parameters, gradients, and optimizer states across devices. These states are temporarily gathered when needed for computation and released as soon as they are no longer required.
Compared with earlier combinations of Distributed Data Parallelism (DDP) and ZeRO-style optimization, FSDP2 uses per-parameter sharding and offers several advantages:
- Finer-grained sharding: Parameters can be partitioned at the tensor level, which can help distribute workloads more evenly in Mixture-of-Experts (MoE) architectures;
- More controllable memory management: Selected layers can remain unsharded, while activation recomputation and other memory-saving strategies can be applied with greater precision;
- Better compatibility with dynamic model structures: This is especially useful for multimodal models whose components can vary significantly in size.
A 2.8-trillion-parameter model is likely to use an MoE architecture, where the number of active parameters is significantly smaller than the total parameter count. This makes a hybrid strategy combining parameter sharding, expert parallelism, and data parallelism a natural choice.
A native FSDP2 multimodal training path indicates that the adaptation covered heterogeneous components such as the vision encoder, the language-model backbone, and modality-alignment modules, rather than supporting only the text-processing portion of the model.
3. Gradient Synchronization: Overlapping Communication with Computation
The key optimization during gradient synchronization is to overlap computation and communication. Ideally, once the backward pass for a layer produces its gradients, Reduce-Scatter can be launched immediately and run in parallel with computation for other layers:
# Simplified logic for overlapping computation and communicationfor layer in reversed(model.layers):grad = layer.backward() # Backward computationlaunch_reduce_scatter(grad) # Launch gradient reduction asynchronously# Reduction runs in parallel with other computations;# wait for all operations to complete at the end
Other common optimizations include gradient accumulation to reduce synchronization frequency, bucketed communication to combine small gradients and reduce the number of communication operations, and topology-aware routing that prioritizes high-speed interconnects within the same node.
The cumulative effect of these details often determines whether large-scale training can converge reliably and maintain acceptable utilization.
4. The Ecosystem Significance of Adapting Domestic AI Compute
1. A Stress Test for Software-Stack Maturity
Training adaptation is fundamentally different from inference adaptation. Inference only needs to ensure that the forward pass produces correct results. Training requires numerical correctness across the forward pass, backward pass, and optimizer update. An error in the gradient implementation of any operator can cause training to diverge.
As a result, successfully training a trillion-parameter-scale model represents an end-to-end validation of the compiler, operator libraries, communication libraries, and distributed scheduling components in the software stack.
2. Moving from “Usable” to “Easy to Use”
The domestic AI computing ecosystem still faces several core challenges:
- Operator coverage: New model architectures, including novel attention mechanisms and routing strategies, often depend on new operators that must be implemented quickly;
- Framework compatibility: Mainstream training frameworks are frequently designed with particular hardware targets in mind. Adaptation layers must bridge differences between hardware platforms and programming interfaces;
- Cluster stability: At thousand- or even larger-scale training, hardware failures are inevitable. Robust checkpoint recovery and fault self-healing mechanisms are therefore essential.
Completing training adaptation for a flagship model generally means that these components have undergone substantial practical testing. The resulting capabilities can then benefit the broader ecosystem and reduce the marginal cost of adapting future models.
5. Implications for Developers and Enterprises
Pay attention to portability across heterogeneous compute platforms. When selecting a training platform, evaluate its support for mainstream training frameworks and parallelism strategies, as well as the completeness of its model-migration toolchain.
The engineering value of large-model training lies in the methodology. Techniques for sharding, communication optimization, and numerical-stability debugging are broadly applicable. Teams training models in the billion- to tens-of-billions-parameter range can also benefit from these practices.
Open models and domestic AI compute are beginning to form a more complete development loop. Open models lower the algorithmic barrier, while domestic AI compute can broaden access to training infrastructure. The maturity of their adaptation process will continue to improve and deserves ongoing attention.
6. Conclusion
The combination of trillion-parameter-scale open models and domestic training infrastructure indicates that large-model infrastructure is becoming more diverse.
A complete training adaptation reflects end-to-end engineering capabilities across model loading, shard scheduling, gradient synchronization, and related components. For technical teams, understanding these underlying mechanisms is more valuable in the long term than memorizing the name of any particular product. Regardless of how hardware evolves, these fundamental problems in distributed training will remain.
