Domestic GPU Completes Training Pipeline Validation for Trillion-Parameter Multimodal MoE Model

    This article explores the recent engineering validation of a 2.8 trillion-parameter native multimodal Mixture of Experts (MoE) model on domestic GPUs. Conducted in a dual-node, 16-GPU configuration, the 400-step continuous training run successfully verified the training pipeline's integrity, operator correctness, FSDP2 memory optimization, and MCCL communication scheduling without numerical instability, setting a new benchmark for engineering reliability in domestic AI hardware.

    Background: Challenges of Ultra-Large Multimodal Models for GPU Infrastructure

    As AI model parameters continue to scale, large language models utilizing the Mixture of Experts (MoE) architecture have become the mainstream technical route. These models use sparse activation mechanisms to control inference computational overhead while maintaining capacity, but they impose far stricter requirements on the communication capabilities, memory management strategies, and operator implementation details of underlying GPU clusters than dense models.

    When model parameters reach the trillion scale and integrate multimodal inputs like vision and text, the complexity of the training pipeline grows exponentially. In a recent engineering practice, a laboratory adapted the training pipeline for a 2.8 trillion-parameter native multimodal MoE model. They completed a 400-step continuous training validation on a dual-node, 16-GPU configuration without any numerical overflow or abnormal interruptions. This achievement highlights the unique challenges of the MoE architecture in distributed environments—specifically, the demanding requirements of dynamic sparse attention mechanisms and expert routing on multi-GPU communication topologies and memory lifecycle management.

    From an industry-wide perspective, the adaptation of domestic GPU accelerators to large model training frameworks is accelerating. Multiple chip vendors have completed pre-training, fine-tuning, and reinforcement learning validations for mainstream large models on clusters of varying sizes, with some extending to thousand-GPU or even ten-thousand-GPU deployments. One recent disclosure indicated that a vendor’s AI accelerator has been adapted to over 400 mainstream large models, covering most open-source architectures. Another completed training a major new LLM version on a fully domestic cluster with an effective training rate of nearly 97%. These advancements indicate that domestic computing power is transitioning from “usable” to “highly efficient,” making the engineering details of this trillion-parameter multimodal model training validation particularly noteworthy.

    Training Pipeline Validation Under Trimmed Configuration: Core Objectives and Methodology

    It is important to clarify that this validation was not a full-scale pre-training. The test used a trimmed configuration: the language backbone was truncated to 13 layers with 16 routing experts enabled (activating Top-8), while the complete 27-layer vision encoding tower and cross-modal projection module were retained. The data side used an image-text paired dataset for random initialization training. This design reflects key engineering wisdom: prioritizing the integrity and correctness of the training pipeline under resource constraints rather than blindly pursuing scale.

    Training metrics showed steady convergence: the training loss decreased from an initial 8.9365 (mean of steps 21-70) to 2.1802 (mean of the last 50 steps), and the validation loss dropped from 6.5297 to 4.6873. The peak memory was controlled at 44.80GiB, and the vision branch participated in parameter updates throughout the process. These metrics demonstrate that the model exhibited normal gradient propagation and parameter update behaviors under the trimmed configuration, with a healthy downward trend in the loss curve and no obvious numerical stability defects.

    Using a trimmed configuration for validation was not a shortcut, but a rigorous engineering logic:

    • Operator Correctness Validation: Locating numerical anomalies in forward and backward propagation is easier at a smaller scale, avoiding the high cost of troubleshooting on large clusters.
    • Communication Pattern Validation: The expert parallel communication patterns of the MoE architecture can be effectively simulated within a dual-node, 16-GPU range, verifying the performance of the collective communication library across different message granularities.
    • Memory Management Validation: Using FSDP2 (Fully Sharded Data Parallel) to shard parameters, gradients, and optimizer states confirms the model’s sustainable training capability under constrained memory.

    Key Technical Analysis: Operator Implementation, Memory Optimization, and Communication Scheduling

    Forward and Backward Implementation of Hybrid Attention and MoE Operators

    GenAttention’s hybrid attention mechanism—combining local sparse attention and global attention—requires highly optimized kernel implementations from the GPU operator library. In this adaptation, the R&D team completed all operators required for the model’s forward and backward propagation, performing instruction-level optimization tailored to the domestic GPU’s instruction set architecture. The accuracy of backward propagation was verified through gradient checking, a necessary prerequisite to ensure that long-term training does not suffer from gradient explosion or vanishing.

    Deep Application of FSDP2 Sharding Strategy

    Memory management is a core bottleneck in ultra-large model training. FSDP2 finely shards the model’s parameters, gradients, and optimizer states, utilizing CPU-GPU data scheduling to load and train ultra-large models. Specifically:

    • Parameter Sharding: Each GPU holds only 1/N of the model parameters (where N is the number of GPUs). Full parameters are fetched from other devices via all-gather operations when needed.
    • Gradient and Optimizer State Sharding: Reduces per-GPU memory usage while leveraging gradient accumulation to achieve a larger equivalent batch size.
    • Communication-Computation Overlap: Maximizes device utilization by overlapping sharded communication and computation.

    The peak memory of 44.80GiB in this validation proves the effectiveness of these strategies on domestic hardware, providing baseline data for future large-scale cluster expansion.

    MCCL Communication Library Scheduling in MoE Routing Scenarios

    The expert routing mechanism in MoE models generates significant dynamic communication traffic—each token must be distributed to the device hosting the corresponding expert based on routing results, and attention calculation requires global information exchange. The domestic GPU’s collective communication library (MCCL) plays a crucial role here, handling two typical communication patterns:

    1. All-to-All Communication: The data transfer of token distribution to different experts. The communication pattern changes dynamically with routing choices, making it prone to performance jitter.
    2. All-Reduce/All-Gather: Used for gradient synchronization and parameter aggregation, with communication volume growing linearly with model parameter size.

    During the 400-step continuous training validation, the stability of cross-node communication was thoroughly tested. No communication timeouts or deadlocks occurred, and the long-term training loss convergence trend verified the reliability of the communication scheduling.

    Engineering Standards and Reproducibility: Benchmark for Domestic GPU Training Capabilities

    The industry currently pays close attention to the reproducibility and engineering maturity of domestic GPUs on the training side. A comprehensive adaptation validation should cover the following dimensions:

    Evaluation Dimension Key Metrics Performance in This Validation
    Functionality Operator coverage completeness, forward/backward correctness Gradient checking passed, no NaN/Inf
    Stability Continuity of long-term training, no abnormal interruptions 400-step continuous run without interruption
    Convergence Training loss trend, validation loss performance Loss dropped from 8.94 to 2.18, validation loss decreased synchronously
    Resource Efficiency Peak memory, compute utilization Peak 44.8GiB, vision branch participated in training
    Scalability Communication efficiency, cluster linear speedup To be further validated in full-scale pre-training

    From industry disclosures, cases detailing loss curves and gradient checks for a 2.8 trillion-parameter MoE multimodal model are rare. Most vendors tend to only release cluster scales and training throughput data, lacking transparent descriptions of numerical stability metrics and internal engineering details. This disclosure establishes a referenceable engineering benchmark for the industry, enabling horizontal comparisons for future validation work.

    From Trimmed Validation to Full-Scale Training: Remaining Challenges and Feasible Paths

    Despite the positive results from the trimmed configuration, evolving from the current stage to full-scale pre-training of the trillion-parameter model requires overcoming the following key obstacles:

    Communication Challenges of Cluster Scaling: When scaling from 16 GPUs to thousands or tens of thousands, the physical network occupation by All-to-All communication grows non-linearly. This requires fine-grained topology-aware task scheduling and network congestion control strategies. The high communication density of MoE models makes network bandwidth the primary constraint for system scaling.

    System Reliability for Long-Term Operation: Full-scale pre-training typically lasts weeks or even months; any hardware failure or communication anomaly can interrupt training. Checkpoint save-and-restore mechanisms and automatic fault detection and isolation capabilities will become system metrics as important as computational performance.

    Balancing the Data Loading and Processing Pipeline: The training throughput of a trillion-parameter model highly depends on the continuous data supply capability of the data pipeline. Data preprocessing (format conversion, tokenization, sample packing, shuffle caching) must be deeply adapted to GPU computing power to avoid data starvation bottlenecks.

    Regarding market trends, analysts expect domestic high-end AI chip shipments in China to achieve over 80% year-over-year growth by 2026, with local solutions capturing nearly 90% market share. This supply-side growth creates favorable conditions for building large-scale domestic clusters, and this training pipeline validation provides the industry chain with valuable engineering experience.

    Conclusion and Outlook

    Moore Threads’ trimmed configuration training pipeline validation for the 2.8 trillion-parameter MoE multimodal model, though limited in scale, confirmed the feasibility of the entire technical route across multiple dimensions: operator completeness, sharding strategies, communication scheduling, and numerical stability. From a broader perspective, the public disclosure of such fine-grained engineering information marks a new stage of “engineering reliability” competition for domestic AI computing power, beyond mere performance comparisons.

    For developers and AI infrastructure planners, the focus should be on the methodology during validation rather than single numerical metrics—how to systematically verify the correctness, stability, and scalability of ultra-large model training pipelines under limited computing power is the most valuable experience to draw from current engineering practices. As more vendors provide reproducible engineering milestones on the training side, the overall maturity of domestic large model training infrastructure will accelerate.