Domestic GPUs Complete Trillion-Parameter Multimodal Model Training Pipeline Verification

    This article details the recent verification of a trillion-parameter multimodal Mixture-of-Experts (MoE) model training pipeline on domestically-produced GPUs. It covers the engineering strategies used for functional stress testing, including a trimmed configuration, FSDP2 sharding, and custom All-to-All communication libraries. The article analyzes loss convergence and memory metrics to demonstrate the system's stability and highlights the domestic AI compute ecosystem's shift from proving single-card capabilities to optimizing distributed cluster efficiency, while outlining future challenges for full-scale pre-training.

    As large models scale to the trillion-parameter level, their underlying compute support and distributed training engineering capabilities face unprecedented challenges. Recently, the successful verification of a large-scale multimodal model training pipeline on domestic GPUs has drawn industry attention. This verification not only tackles the highly complex MoE and multimodal fusion architectures but also reveals micro-level engineering details of the training process, marking a substantive step for the domestic AI compute ecosystem from being merely “usable” to being truly “effective.”

    1. Verification Background: Focusing on Trillion-Parameter MoE Multimodal Models

    Current advancements in large model technology show two significant trends: the continuous expansion of parameter scales (from hundreds of billions to trillions), and the deepening of modality fusion (unified representation of text, image, and video data). The core benchmark model for this adaptation verification is a native multimodal model with 2.8 trillion parameters utilizing a MoE architecture. This model features two distinct architectural designs.

    First is the dynamic sparse attention mechanism. Unlike traditional full attention computation, dynamic sparse attention focuses only on the context highly relevant to the current token. While drastically reducing computation, it causes dramatic shifts in memory access patterns, making the scheduling and management of KV Cache in distributed environments extremely complex. Second is the expert routing mechanism. In a MoE architecture, each token activates only a subset of expert networks, requiring the communication topology to have high dynamic adaptability. How to efficiently complete All-to-All communication in multi-card environments and avoid idle compute power due to routing imbalance is a core challenge for training stability.

    Choosing such a model to verify the training pipeline means directly confronting the extreme problems in current distributed training. For the domestic GPU ecosystem, which has long been in a catching-up position, this serves as both a litmus test for technical capability and an optimal way to identify its own shortcomings.

    2. Engineering Implementation: Systematic Verification Strategy via Trimmed Configurations

    Notably, this verification did not directly perform full-scale pre-training. Instead, it adopted a highly focused, trimmed configuration strategy to quickly verify training functionality and loss descent trends. This approach is representative in engineering: conducting a “stress test” and “functional checkup” of critical pipelines at minimum cost before full-scale production.

    1. The Design of the Trimmed Configuration

    According to public information, the test configuration truncated the model’s language backbone to 13 layers and utilized 16 expert networks (Top-8 activated) for verification, while retaining the complete 27-layer vision tower and cross-modal projection module. This trimmed design is logically rigorous: the depth of the language backbone determines the model’s ability to abstract complex semantics, while the deployment of expert routing directly tests multi-card communication and load balancing; retaining the complete vision tower checks the consistency of cross-modal alignment in gradient backpropagation and verifies the correctness of parameter updates in the vision branch during native multimodal training.

    This configuration avoids resource control issues caused by an oversized model while accurately covering the core pain points of training from pure text to multimodal fusion. The verification process was based on random initialization training using the MedPix-VQA image-text dataset, meaning the test relied on no pre-trained weights, verifying the trainer’s correctness and the optimizer’s convergence capabilities entirely from scratch.

    2. Key Engineering Points: From Single-Card Compute to Cluster Synergy

    The industry typically focuses on a GPU’s single-card peak compute power, but this adaptation verification did not limit itself to single-card performance. Instead, it emphasized systematically connecting the distributed training pipeline.

    Operator-level adaptation and FSDP2 sharding were the top priorities of this engineering verification. The R&D team completed the underlying operator implementations for the forward propagation and gradient calculation of hybrid attention and MoE operators. For memory management, relying on FSDP2 (Fully Sharded Data Parallel) technology, model parameters, gradients, and optimizer states (such as the first and second moments of Adam) were fully sharded. This design shifts memory usage from “full single-card capacity” to “cluster-level elastic synergy,” greatly reducing the limitation of the single-card memory wall.

    Cross-node communication was handled by a self-developed communication library (acting in a role similar to MCCL). In distributed training, All-to-All communication is often a performance bottleneck. Especially under the MoE architecture, tokens need to be dynamically routed to experts on different nodes, changing the communication pattern from regular “point-to-point” to dynamic “full-cross.” This communication library requires underlying collective communication primitive optimization for such dynamic sparse topologies to reduce latency and increase bandwidth utilization. Official data shows that this test completed 400 consecutive training steps on a dual-node, 16-card setup without numerical overflow or abnormal interruptions, directly verifying the stability of the underlying message passing mechanism under high pressure.

    3. Data Verification: The Technical Implications of Loss Convergence and Gradient Checks

    When engineers determine whether a training pipeline is successfully connected, they look beyond whether it “doesn’t crash” to whether the numerical behavior meets expectations. The disclosed loss curves and peak memory data reveal true engineering details.

    1. Rationality of Loss Descent Curve

    The training loss dropped from an average of 8.9365 (steps 21-70) to an average of 2.1802 (last 50 steps), and the validation loss decreased from 6.5297 to 4.6873. For a trimmed model starting from random initialization, the loss value exhibiting a “steep drop followed by stabilization” within 400 steps aligns with the normal convergence trajectory of SGD/Adam series optimizers. Notably, the validation loss descent trend remains consistent with the training set, indicating that this is not data memorization caused by overfitting, but rather the model genuinely learning image-text mapping relationships.

    2. Guiding Significance of Peak Memory

    Under the dual-node, 16-card configuration, the peak memory was controlled at 44.80GiB, indicating that the FSDP2 sharding strategy effectively managed single-card memory overhead. Under the trimmed configuration, this value sits at a healthy level, providing data support for future expansion on larger clusters or under single-card memory constraints (such as 24GB/32GB consumer-grade or enterprise-grade inference cards). Meanwhile, the conclusion that the vision branch participated in parameter updates also clarifies that this training pipeline fully possesses end-to-end gradient backpropagation capability, with no gradient blocking occurring across cross-modal modules.

    4. Ecosystem Review: The Macro Trend of Domestic Adaptation

    Looking beyond specific engineering details, this verification is a microcosm of the overall advancement of the domestic AI compute ecosystem. From an industry perspective, large model training adaptation is shifting from “single-point breakthroughs” to “scaled replication.”

    Data indicates that several large model enterprises have used domestic 1,000-card clusters to complete multimodal pre-training and reinforcement learning, with accuracy aligning with international mainstream products. Other chip vendors are continuously advancing adaptation on the training side for mainstream model series such as DeepSeek, Qwen, and Hunyuan, with application scenarios extending from single-machine multi-card setups to thousand-card and ten-thousand-card clusters. In the field of general computing, some domestic DCUs (Deep Learning Compute Units) have adapted to cover the vast majority of mainstream general large models. Additionally, domestic fully self-developed clusters have completed major training versions with an effective training rate as high as 97%.

    This information strongly signals that the domestic GPU training ecosystem has transitioned from “chasing single-card performance” to “polishing cluster efficiency.” The long-term stable uptime of large-scale clusters, fault recovery speeds, and the bandwidth utilization of communication libraries are now more critical to the actual operational costs of large model enterprises than pure theoretical compute power.

    5. Future Outlook: The Transition from Pipeline Verification to Scaled Pre-Production

    The completion of this adaptation verification is undoubtedly a milestone, but we must clearly recognize that it is only the “first step of a long journey.” Moving from trimmed configuration verification to the formal pre-training of the full 2.8-trillion-parameter model requires overcoming three major mountains.

    Compute scale and long-term stability reliability come first. A complete trillion-parameter model requires clusters of thousands or even tens of thousands of cards to run stably for weeks or even months. This places extremely high demands on hardware failure rates, the fault tolerance of communication libraries, and the maturity of mechanisms like checkpoint resumption. Furthermore, hybrid strategies for data parallelism and model parallelism require finer tuning. When the model scale exceeds the critical point of single-dimension scaling, balancing the resource allocation of compute, communication, and memory becomes a complex combinatorial optimization problem. Finally, the completeness of ecosystem tooling must keep pace. From debugging tools and performance profilers to visualization dashboards, a mature and user-friendly software stack is a key soft power for lowering developer barriers and improving training efficiency.

    In summary, the performance of domestic GPUs in this trillion-parameter multimodal model verification outlines a clear and feasible technical path. Although there is still a distance to go toward fully autonomous and controllable compute freedom, the steady progress in engineering verification is gradually turning the black box of large model training into a controllable white box. This is a necessary step for the entire domestic AI compute ecosystem to achieve maturity.