Validating Domestic AI Infrastructure for a 2.8-Trillion-Parameter MoE Multimodal Training Pipeline

    This article examines the engineering challenges and validation results of running a 2.8-trillion-parameter Mixture-of-Experts (MoE) native multimodal model on a domestic AI computing platform. It covers dynamic sparse attention, expert routing, multimodal synchronization, FSDP-based memory management, distributed communication, and training metrics from a 16-GPU, two-node validation run.

    As large language models continue to evolve, model sizes are approaching the trillion-parameter scale, while Mixture-of-Experts (MoE) architectures and native multimodal capabilities are becoming mainstream. These extremely large parameter counts and complex network structures create unprecedented challenges for the underlying computing infrastructure.

    The domestic AI computing ecosystem has recently made significant progress in supporting advanced large models. Multiple vendors have reported training and adaptation results on clusters ranging from hundreds to thousands of GPUs. This article examines a case in which a domestic AI computing provider completed training-pipeline validation for a 2.8-trillion-parameter MoE native multimodal model, focusing on the engineering challenges and implementation practices involved.

    1. Engineering Challenges in Training Trillion-Parameter MoE Multimodal Models

    A native multimodal model at the 2.8-trillion-parameter level typically contains multiple key components, including a language backbone, a vision tower, and cross-modal projection layers. These architectural characteristics make distributed training highly complex. The main challenges fall into three areas.

    1.1 Dynamic Sparse Attention

    The computational complexity of conventional full attention grows quadratically with sequence length. Dynamic sparse attention reduces this cost by selectively focusing on important tokens. However, this requires the underlying operators to efficiently handle irregular memory access and dynamic tensor computation.

    As a result, the approach places demanding requirements on single-GPU memory bandwidth as well as communication scheduling across multiple GPUs.

    1.2 Expert Routing

    MoE models decouple the total parameter count from computation by activating only a subset of expert networks for each input. Under a Top-K routing strategy, tokens must be dynamically transferred to experts distributed across different GPUs.

    This All-to-All communication pattern places significant pressure on inter-node bandwidth and the low-latency scheduling capabilities of communication libraries. MoE models can also suffer from load imbalance, potentially causing memory overflow on individual devices.

    1.3 Synchronizing Heterogeneous Multimodal Data

    The vision and language branches typically differ substantially in feature dimensions and computational graphs. Cross-modal projection layers must align representations across these different feature spaces.

    In a distributed environment, coordinating forward and backward propagation across modalities while maintaining consistent gradient-update timing is a major systems challenge.

    2. Training-Pipeline Validation with a Reduced Configuration

    To validate the complete training workflow and confirm that the loss trend was reasonable at a controlled cost, the project used a reduced configuration rather than conducting full-scale pretraining.

    2.1 Model Structure Reduction

    The language backbone was reduced to 13 layers, while 16 routing experts were retained with a Top-8 activation strategy. This preserved the core MoE routing logic while reducing the computational load per training step.

    To validate multimodal integration, the 27-layer vision tower and the cross-modal projection module were retained in full. This strategy—reducing the language backbone while preserving the complete multimodal components—enabled focused testing of cross-modal feature alignment.

    2.2 Distributed System Architecture

    The primary objective of the adaptation was not to maximize peak single-GPU performance, but to establish a complete distributed training pipeline. The engineering team implemented the forward and backward computations required by the hybrid attention and MoE operators.

    For memory management, Fully Sharded Data Parallel (FSDP) was used to shard model parameters, gradients, and optimizer states at a fine-grained level. FSDP distributes model states across computing nodes and gathers them only when required for computation, significantly reducing memory pressure on individual GPUs.

    Cross-node communication was handled by a high-performance collective communication component, enabling efficient cross-GPU token dispatch for Top-K routing.

    2.3 Dataset and Initialization

    Training used a mainstream visual question answering (VQA) dataset with random initialization. The objective was to verify whether multimodal feature alignment could be established from scratch and whether the vision branch could effectively participate in parameter updates and backpropagation.

    3. Training Results and Metric Analysis

    With a two-node, 16-GPU configuration, the validation run completed 400 consecutive training steps without numerical overflow or unexpected interruption. This demonstrated the stability of the underlying training pipeline.

    3.1 Loss Convergence

    During the early stage of training, the average training loss over steps 21–70 was 8.9365. As training progressed, the average loss over the final 50 steps decreased to 2.1802, showing a clear downward trend.

    The validation loss also declined steadily, from 6.5297 to 4.6873. The smooth convergence curves indicate that the underlying operator implementations maintained reliable numerical accuracy and that neither the MoE routing strategy nor the multimodal alignment logic introduced apparent mathematical deviations.

    3.2 Memory and Computation Status

    Under the reduced configuration, peak memory usage remained at approximately 44.80 GiB. This result indicates that the FSDP sharding strategy balanced the workload effectively and avoided a single-GPU memory bottleneck caused by uneven expert routing.

    Log inspection also confirmed that parameters in the vision branch were updated effectively during backpropagation. This verified that the multimodal joint-training pipeline was fully connected.

    From a broader industry perspective, domestic GPU adaptation for large-model training is accelerating. The focus is expanding from individual functional tests to deployments involving clusters with thousands or even tens of thousands of GPUs.

    Several domestic computing vendors have disclosed adaptation progress for their chips or clusters on mainstream open-source large models, including large language models and multimodal models. Some vendors have completed multimodal pretraining and reinforcement learning on thousand-GPU clusters, with accuracy gradually approaching that of leading international products. Other vendors have adapted heterogeneous computing units to hundreds of mainstream large models, covering most of the non-closed-source model ecosystem.

    Computing infrastructure providers such as Baidu AI Cloud are also playing an important role in this development. Using fully domestic computing clusters built on self-developed AI chips, Baidu AI Cloud has achieved an effective training rate of up to 97% when supporting training workloads for important versions of the ERNIE large model.

    Effective training rate is a key measure of large-scale cluster stability and communication efficiency. This result indicates that domestic AI infrastructure has reached a mature and usable level in areas such as hardware-software co-optimization and fault-tolerant scheduling, providing a more reliable computing foundation for large-model research and development.

    5. Conclusion and Outlook

    The training-pipeline validation of a 2.8-trillion-parameter MoE multimodal model represents a valuable engineering exploration. Although the work was conducted with a reduced configuration for functional validation rather than full-scale pretraining, the disclosed training-step count, loss curves, and gradient checks provide useful insight into how large MoE models operate on domestic AI computing infrastructure.

    The future of large-model training will be determined not only by chip processes and raw computing power, but also by the overall maturity of distributed software stacks, communication-library optimization, and cluster fault-tolerant scheduling.

    As platforms such as Baidu AI Cloud continue to develop their computing foundations and domestic AI vendors further complete distributed training pipelines, the prospect of fully supporting trillion-parameter multimodal model pretraining with domestic infrastructure is becoming increasingly realistic.