Training Adaptation for a 2.8-Trillion-Parameter Multimodal Model on a Chinese GPU Platform

    This article covers the main challenges of training trillion-parameter multimodal models, including memory capacity limits, communication bottlenecks, and uneven workloads across model components. It explains how FSDP2 addresses these problems and walks through three stages of the training workflow: model loading, shard scheduling, and gradient synchronization. It also describes the role of the software stack and offers practical steps for teams planning large-scale training on Chinese compute platforms.

    Introduction: Compute Adaptation Challenges in the Era of Large Models

    Recently, an industry organization open-sourced a flagship multimodal large model with 2.8 trillion parameters, once again raising the scale record for open-source models. At the same time, a Chinese GPU vendor announced that it had completed training adaptation for this model. The work used the vendor’s flagship integrated training and inference AI accelerator card together with its in-house software stack. The team built a native FSDP2 multimodal training path and connected the full training workflow, from model loading and shard scheduling to gradient synchronization.

    The significance of this progress goes beyond running one model. As parameter counts reach the trillion scale, memory capacity limits, communication bottlenecks, and engineering complexity grow rapidly. Whether such models can be trained efficiently on Chinese-made compute infrastructure directly affects the self-reliance of China’s large model industry chain. This article examines the core challenges of adapting training for trillion-parameter models and the approaches used to address them.

    1. Core Difficulties in Training Trillion-Parameter Models

    1.1 Memory Capacity Pressure

    Under common industry estimation methods, mixed-precision training requires roughly 16 to 20 bytes of memory per parameter. This covers the parameters themselves, gradients, optimizer states, and necessary intermediate activations. By this estimate, the model state of a 2.8-trillion-parameter model alone exceeds the memory of a single card by several hundred times. Training therefore depends on large-scale distributed parallelism that splits the model state across thousands of compute cards.

    1.2 Communication Bottlenecks

    As parameter counts and cluster sizes grow, gradient synchronization and parameter aggregation take up a larger share of total training time. If communication cannot fully overlap with computation, cluster utilization drops sharply. In that case, adding more cards lowers overall efficiency.

    1.3 Heterogeneous Workloads in Multimodal Models

    Multimodal models usually contain several sub-networks with very different structures, such as a vision encoder, a language backbone, and cross-modal alignment modules. Each module has its own compute density, memory footprint, and sequence length distribution. A simple uniform partitioning strategy causes severe load imbalance, so sharding and scheduling must be designed at a finer granularity.

    2. FSDP2 Fully Sharded Data Parallelism

    2.1 From Data Parallelism to Fully Sharded Data Parallelism

    Traditional data parallelism requires every card to hold a complete copy of the model, which cannot support trillion-parameter models. The core idea of Fully Sharded Data Parallelism (FSDP) is to shard parameters, gradients, and optimizer states across devices, so each card holds about 1/N of the shards. When a forward or backward pass needs the parameters of a given layer, AllGather temporarily collects the full parameters. These parameters are released as soon as the computation finishes. The sharded gradients produced during backpropagation are then merged back to each card through ReduceScatter.

    FSDP2, the next-generation implementation of this approach, adds several engineering improvements. It uses parameter groups as the basic management unit, which reduces the number of frequent collective communication calls. It offers more flexible hybrid sharding strategies that allow different sharding dimensions within a node and across nodes. It also reworks the scheduling of AllGather and ReduceScatter into a finer-grained pipeline, which increases the overlap between communication and computation.

    2.2 The Value of a Native Multimodal Training Path

    “Native” adaptation means the model is not simply placed into a general-purpose parallel framework. Instead, sharding and scheduling strategies are designed around the structure of multimodal models. For example, the vision encoder and the language backbone can use different sharding granularities. Compute-intensive modules can be split more finely to balance load, while modules with sparse parameter usage can communicate less often. This structure-aware capability is a key source of training efficiency for multimodal models.

    3. Three Key Stages of the Training Workflow

    3.1 Model Loading and Initialization

    The weight files of a trillion-parameter model are very large. If each card loads the full model and then splits it, the loading stage alone can exhaust memory and storage bandwidth. A better approach is sharded direct loading, where each card reads and materializes only the parameter shards it is responsible for. Combined with lazy initialization (initializing on the meta device and filling in tensors on demand) and parallel file reading, this reduces loading time from hours to minutes.

    3.2 Shard Scheduling

    Shard scheduling determines how parameters are distributed across devices. Engineers need to weigh several factors: the bandwidth difference between high-speed intra-node interconnects and inter-node networks, the compute and memory profile of each module, and the suppression of pipeline bubbles. A common best practice is to first build time and memory profiling data for each layer. A heuristic or search algorithm then generates the sharding plan, which is calibrated dynamically using measurements from a few iterations early in training.

    3.3 Gradient Synchronization

    Gradient synchronization is the decisive factor for throughput. Key optimizations include aggregating gradients into buckets to reduce the number of communication calls, deeply overlapping ReduceScatter with the backward pass, and using communication compression or low-precision gradient transfer to reduce bandwidth use within an acceptable accuracy range. On an in-house software stack, these optimizations require close coordination between the low-level communication library and the upper-level parallel framework. Only with that coordination can the bandwidth of a Chinese-developed interconnect architecture be fully used.

    4. Hardware-Software Co-Design: The Role of the Software Stack

    Hardware sets the upper limit on compute, and the software stack determines actual utilization. A mature large model training software stack typically includes an adaptation layer for mainstream deep learning frameworks, a high-performance collective communication library, memory management and operator optimization components, and a parallel strategy toolchain for large model workloads. An integrated training and inference architecture means the same platform can support both training and downstream inference deployment. This lowers the cost of moving a model from training to production.

    For enterprise users choosing infrastructure for large model training, single-card compute specifications are not enough to judge a platform. They should also evaluate how fully the software stack supports mainstream parallel paradigms, how quickly it adapts to open-source model ecosystems, and how stable it is at cluster scale. Whether teams build their own AI compute clusters or set up training environments on general-purpose container platforms, object storage, and monitoring and alerting services from cloud providers, these capabilities often matter more than spec-sheet figures in determining project success.

    5. Practical Recommendations and Outlook

    For teams planning large model training on Chinese compute platforms, the suggested path has three steps. First, validate the software stack’s functional completeness and numerical correctness with a medium-sized model. Second, build a fine-grained performance profiling system to identify bottlenecks in communication, memory, and operators. Third, scale out gradually, verifying scaling efficiency at the scale of several hundred cards before moving to larger clusters.

    Looking ahead, as open-source model sizes keep growing and domestic hardware and software stacks iterate quickly, the combination of open-source models and Chinese compute is expected to become an important pillar of the large model industry. The value of training adaptation work will also shift from single breakthroughs to systematic capabilities, providing a firm compute foundation for broader industry intelligence transformation.