Ultra-Large Model Training on Chinese AI Accelerators: A Technical Practice Analysis
As open-source models scale from hundreds of billions to trillions of parameters, training demands extend beyond peak FLOPS to memory capacity, interconnect bandwidth, and software-stack maturity. This article examines a recent adaptation of a 2.8-trillion-parameter model to a Chinese GPU vendor's flagship training-and-inference accelerator and self-developed software stack, including a native FSDP2 multimodal training path. It breaks down FSDP2 sharding, scheduling, and gradient synchronization; outlines a five-stage path for heterogeneous compute adaptation; and discusses the implications for AI infrastructure and large-model ecosystems. For teams planning in-house training capabilities, the main takeaway is to assess software-stack maturity and the completeness of the distributed training pipeline, not just headline compute specifications.
1. Background: New Requirements for Compute Systems in Ultra-Large Model Training
In recent years, the parameter scales of open-source large models have continued to climb, moving from hundreds of billions to trillions, posing unprecedented challenges to underlying compute systems. Take a recently open-sourced flagship model with 2.8 trillion parameters: its training process requires not only extremely high floating-point compute but also systematic requirements on memory capacity, interconnect bandwidth, and software-stack maturity.
Against this backdrop, whether Chinese AI accelerator cards can handle such training tasks depends not on the peak compute of a single card, but on three things:
- Completeness of the software stack: compatibility with mainstream deep learning frameworks and distributed training paradigms;
- Ability to connect the training pipeline: from model loading and sharding scheduling to gradient synchronization, no link can be a weak point;
- Multimodal support: modern flagship models are mostly multimodal architectures, and the training path needs to cover mixed inputs such as text and vision.
A Chinese GPU vendor recently announced that, based on its flagship training-and-inference integrated AI compute card and self-developed software stack, it completed training adaptation for the 2.8-trillion-parameter model and built a native FSDP2 multimodal training path. The technical value of this event deserves a closer look.
2. Core Technical Breakdown: Why FSDP2 Is Key
2.1 From Data Parallelism to Fully Sharded Data Parallelism
Traditional data parallelism (DP) requires each card to hold a complete model replica. For trillion-parameter models, model weights alone cannot fit in a single card’s memory. For this reason, the industry generally adopts fully sharded data parallelism, whose core idea is:
- Partition model parameters, gradients, and optimizer states across different devices;
- During forward/backward computation, aggregate and release shards on demand;
- Reduce memory footprint from “the complete model” to “1/N + temporary aggregation overhead.”
As a new-generation implementation of this paradigm, FSDP2 has an important improvement over earlier versions: it uses parameter-level shard management instead of flat overall concatenation. This brings two direct benefits:
- More fine-grained communication: different aggregation strategies (such as all-gather or reduce-scatter) can be selected for different parameters, reducing unnecessary communication;
- More natural combination with techniques such as mixed precision and gradient checkpointing, making it easier to make fine-grained trade-offs between memory and speed.
2.2 Engineering Points of Sharding Scheduling
At trillion-parameter scale, the core issues that sharding scheduling must solve are load balancing and communication overlap. Typical practices include:
# Illustrative pseudocode: FSDP2-style sharding wrapperfrom torch.distributed.fsdp import fully_shardfor block in model.transformer_blocks:fully_shard(block, sharding_strategy=ShardingStrategy.FULL_SHARD)fully_shard(model) # Shard the root module to cover extra-large parameters such as embeddings
Key configuration dimensions include:
- Sharding granularity: wrap by Transformer layer so that aggregation communication can overlap with computation;
- Reshard timing: decide when to release aggregated parameters after backward propagation, affecting peak memory;
- CPU offload strategy: offload parameters or optimizer states to host memory when memory is extremely tight.
2.3 Gradient Synchronization Pipeline
The final link in training is gradient synchronization. In a fully sharded scenario, local gradients computed by each card need to be reduced into sharded form via reduce-scatter, then handed to the optimizer for updates. The efficiency of this step directly determines overall throughput. Engineering practice usually focuses on:
- Overlap between communication and backward computation: an ideal implementation should asynchronously initiate gradient reduction while backward propagation is underway;
- Network topology awareness: cross-machine communication should use high-bandwidth interconnects as much as possible and reduce cross-node hops;
- Precision strategy: gradient compression or low-precision communication can significantly reduce communication volume with almost no loss in convergence quality.
3. Complete Path for Heterogeneous Compute Adaptation
For Chinese accelerator cards, completing training adaptation for a trillion-parameter model usually requires the following stages:
Stage 1: Operator coverage and compatibility verification. Large-model training relies on many fused operators and custom kernels. The software stack needs to provide equivalent implementations and verify precision through numerical consistency tests.
Stage 2: Framework-layer integration. By supporting the device abstraction layer of mainstream frameworks, training scripts can run on Chinese hardware with minimal modifications. This requires the software stack to correctly implement low-level interfaces such as device management, stream scheduling, and collective communication.
Stage 3: Connecting the distributed training pipeline. That is, building the FSDP2 training path—model loading (supporting sharded loading of extra-large checkpoints), sharding scheduling (parameter partitioning across multiple cards and machines), and gradient synchronization (high-performance collective communication) must be verified and tuned one by one.
Stage 4: Multimodal expansion. Flagship models often involve joint training of vision encoders and language models, requiring handling of different memory/communication characteristics of heterogeneous modules and ensuring stable throughput of mixed data streams.
Stage 5: Long-duration stable training. Trillion-parameter training often runs for weeks. Checkpoint resume, fault detection, and elastic recovery capabilities are the real dividing line for production deployment.
4. Implications for the Industry
The significance of this adaptation work can be understood on three levels:
- For AI infrastructure, a training-and-inference integrated architecture reduces the cost of switching resources between training and inference and improves overall cluster utilization;
- For the large-model ecosystem, the ability of multiple compute platforms to handle open-source ultra-large models means decoupling model capabilities from hardware supply, which is conducive to a diversified compute landscape;
- For engineering teams, experience in building native distributed training paths such as FSDP2 is reusable—regardless of the underlying accelerator, the tuning methodology of “sharding—aggregation—synchronization” is common.
5. Conclusion
The open-sourcing of the 2.8-trillion-parameter model and the training adaptation to Chinese compute point to the same trend: the focus of large-model technology competition is shifting from single-point capabilities to full-stack collaboration across “model—framework—hardware.” For enterprises planning to build their own training capabilities, it is advisable to prioritize evaluating software-stack maturity and the completeness of the distributed training pipeline, rather than focusing only on paper compute specifications. Only when operator coverage, communication efficiency, and stability assurance are all in place can ultra-large model training truly run and run for the long term.
