How Domestic AI Chips Adapt Trillion-Parameter Multimodal Model Training: A Technical Breakdown
A domestic AI chip vendor recently announced that it completed training adaptation for a 2.8-trillion-parameter open-source multimodal model using its flagship training-and-inference accelerator and in-house software stack, building a native FSDP2 multimodal training path. This article breaks down the general engineering challenges behind such an achievement—memory walls, operator compatibility, communication overhead, and the full training pipeline from model loading to gradient synchronization—and explains why FSDP2 and multi-dimensional parallelism matter for anyone following large-scale distributed training infrastructure.
1. Background: From “Running Inference” to “Training Large Models”
A notable recent development in the industry: a domestic AI chip vendor announced that, based on its flagship training-and-inference accelerator and self-developed software stack, it completed training adaptation for a 2.8-trillion-parameter flagship multimodal model that had been open-sourced a month earlier. The work established a native FSDP2 multimodal training path, covering the complete training pipeline from model loading and sharding scheduling to gradient synchronization.
The technical significance of this goes well beyond the surface message of “yet another vendor claiming model support.” To be clear, this article does not promote any specific vendor or model. Instead, it uses the event to examine a general technical question: what does it actually take to adapt training of a trillion-parameter multimodal model on an AI compute platform outside the mainstream ecosystem?
To appreciate the difficulty, it helps to start from an industry consensus: most current large-model training frameworks, operator libraries, and distributed strategies are built around the mainstream GPU ecosystem (such as CUDA). For a domestic chip to handle super-large model training, matching hardware specifications is not enough—the entire software stack must be adapted at the ecosystem level.
2. Why Trillion-Parameter Training Adaptation Is So Hard
2.1 The Memory Wall: A Single Card Can’t Hold the Model
What does 2.8 trillion parameters mean? Even stored in FP16/BF16 precision, the model weights alone require roughly 5.6TB of memory—far beyond any single card (current mainstream training cards typically offer 64GB–192GB). Add optimizer states (Adam typically needs more than twice the weight storage) and activations, and total demand reaches tens of terabytes.
Trillion-parameter training therefore necessarily relies on combinations of multi-dimensional parallelism:
- Data parallelism: multiple replicas, each processing a different data shard;
- Tensor parallelism: splitting individual operators (such as large matrix multiplications) across cards;
- Pipeline parallelism: distributing different layers of the model across devices;
- Sharding of optimizer states / parameters / gradients: ZeRO-style techniques, which are also the core idea behind FSDP.
2.2 The Operator Wall: Validating Thousands of Operators
Training a modern large model involves thousands of operators. Open-source models often rely heavily on custom operators (such as fused attention and efficient rotary position embeddings). On heterogeneous chips, these operators must either be reimplemented or auto-generated by a compiler. Any numerical precision deviation or mishandled boundary condition can prevent the model from converging—and such problems often only surface days into training, making them extremely costly to debug.
2.3 The Communication Wall: Bandwidth and Latency for Gradient Synchronization
Model parallelism introduces heavy collective communication. Interconnect bandwidth, topology, and the efficiency of communication primitives (AllReduce, AllGather, ReduceScatter) directly determine training throughput. Without mature interconnect solutions and optimized communication libraries, scaling efficiency drops sharply.
3. FSDP2: The Key Technical Path in This Adaptation
The original announcement mentioned a “native FSDP2 multimodal training path”—the central clue to understanding this adaptation.
3.1 The Basic Idea of FSDP
FSDP (Fully Sharded Data Parallel) is one of the mainstream approaches for large-model training today. Its core idea: each data-parallel replica does not store the full parameters, gradients, and optimizer states, but only a shard. During forward/backward passes, full parameters are temporarily reconstructed via AllGather and released immediately after use.
In the PyTorch ecosystem, a typical usage looks like this:
from torch.distributed.fsdp import FullyShardedDataParallel as FSDPmodel = FSDP(model,sharding_strategy=ShardingStrategy.FULL_SHARD, # shard parameters, gradients, and optimizer statesauto_wrap_policy=auto_wrap_policy, # auto-split by Transformer layermixed_precision=mixed_precision_policy, # BF16 mixed precision)
3.2 What FSDP2 Improves Over the First Generation
FSDP2 (typically implemented as per-parameter sharding based on DTensor in mainstream frameworks) brings several key evolutions over the first generation:
- Per-parameter sharding: the first generation used flat parameters (concatenating multiple parameters before sharding). FSDP2 shards each parameter independently, giving finer-grained memory management and making it easier to combine with quantization and offloading;
- Better fit for heterogeneous and multimodal models: in multimodal models, the vision encoder, language model, and connector modules vary hugely in parameter scale. Per-parameter sharding avoids padding waste;
- Better composability: it can be orthogonally combined with tensor parallelism, pipeline parallelism, context parallelism, and other strategies to build 3D/4D parallelism.
“Native FSDP2” means the adaptation is not a patch on an older scheme—the in-house software stack directly supports the new generation of distributed training paradigms. This is usually an important marker of training framework maturity.
3.3 The Specifics of Multimodal Training
Training multimodal models adds several engineering challenges compared to text-only models:
- Heterogeneous data flows: images, video, and text require different preprocessing and encoding paths, and DataLoader throughput easily becomes a bottleneck;
- Unbalanced memory across modules: the vision encoder and language backbone have different computational characteristics, so sharding strategies need differentiated design;
- Loss computation and gradient aggregation: multi-task losses have more complex backpropagation paths, and gradient synchronization must ensure consistent updates across modalities.
A “complete training pipeline” means all of these stages have been verified end to end on the target hardware.
4. Breaking Down the Full Training Pipeline: Loading, Scheduling, Synchronization
The announcement highlighted three stages, which map to three key phases of the training system:
4.1 Model Loading
Loading a trillion-parameter model is itself an engineering challenge: weight files typically reach several terabytes, requiring distributed checkpoints (each rank loads only its own shard), resumable training, and precision format conversion (BF16/FP8). Without shard-aware design, the loading stage creates a “load everything, then split” memory spike that causes OOM directly.
4.2 Sharding and Scheduling
This refers to FSDP’s sharding strategy and compute scheduling: which modules are fully sharded, which are replicated, and how prefetching (fetching the next layer’s parameters) is orchestrated with communication-computation overlap. Scheduling quality directly determines hardware utilization—a good implementation can hide most communication behind computation.
4.3 Gradient Synchronization
After backpropagation, each rank performs ReduceScatter to synchronize gradients. Key optimizations include:
- Gradient bucketing: merging small gradients to reduce communication rounds;
- Overlap of communication and backward computation: launching communication as soon as a layer’s gradient is ready, rather than waiting for the full backward pass;
- Precision strategy: gradients are often AllReduced in FP32 for numerical stability, then converted to BF16 for the update.
5. Training-Inference Integration and What It Signals for the Domestic Compute Ecosystem
Another keyword worth noting is the “training-and-inference integrated accelerator.” Traditionally, training and inference cards differ in hardware orientation: training emphasizes interconnect bandwidth and precision support, while inference emphasizes throughput and cost. A unified card must handle both workload types, placing higher demands on the software stack—it needs to support a full training framework as well as a high-performance inference engine.
From an industry perspective, the significance of this event is:
- The capability boundary of domestic chips is expanding from inference to training—and to trillion-parameter pretraining/continued training, not fine-tuning demos;
- Software stack maturity is becoming the core competitive dimension—beyond hardware specs, framework compatibility, operator coverage, and distributed capabilities are what actually drive customer choices;
- The combined validation of open-source large models and domestic compute provides a replicable path for model-chip co-optimization: the public architecture of open-source models lowers the information barrier for adaptation, while successful adaptation in turn validates the completeness of the hardware and software stack.
6. Conclusion
A domestic chip vendor completing training adaptation for a 2.8-trillion-parameter multimodal model may look like a routine industry news item, but it effectively demonstrates the full set of capabilities required for domestic AI compute to cross the “training viability” threshold: operator-level compatibility, native FSDP2 fully sharded distributed training, multimodal data processing, and an end-to-end pipeline from model loading to gradient synchronization. For developers following the domestic compute ecosystem and large-model infrastructure, understanding the underlying mechanisms—FSDP2, multi-dimensional parallelism, and communication optimization—is more valuable long-term than remembering any single adaptation event. No matter how hardware brands evolve, these core problem domains of ultra-large-scale distributed training will persist and continue to evolve.
