Domestic GPU Completes Training Pipeline Verification for Trillion-Parameter Multimodal Models

    This article explores the recent milestone where a domestic GPU vendor successfully verified the training pipeline for a 2.8-trillion-parameter Mixture of Experts (MoE) multimodal model. It details the verification methodology, including the use of a trimmed configuration, FSDP2 memory management, and custom collective communication. The article also analyzes key training metrics such as loss convergence and highlights the remaining challenges in scaling domestic AI compute for large-scale model training.

    1. Background: Domestic Compute Advancing Toward Trillion-Parameter Training Pipelines

    Recently, a domestic GPU vendor’s laboratory announced the successful adaptation of a training pipeline for a native multimodal large model with 2.8 trillion parameters based on the Mixture of Experts (MoE) architecture. The verification was conducted on a dual-node, 16-GPU configuration, completing 400 continuous training steps without numerical overflow or unexpected interruptions. This milestone is noteworthy not merely because another domestic GPU ran a large model, but due to the depth of verification disclosed: providing continuous training steps, loss curves, and gradient checks. This offers a reproducible reference point for domestic training compute.

    From the model perspective, verifying such a configuration is highly challenging. A 2.8-trillion-parameter MoE multimodal model typically exhibits two characteristics that are unfriendly to infrastructure:

    1. Dynamic Sparse Attention: The attention calculation scope changes dynamically with input, leading to uncertain operator execution paths. This makes it difficult to fully utilize graph compilation optimizations and causes fluctuations in memory reservation.
    2. Expert Routing Mechanism: Tokens are dynamically assigned to different experts across layers, inevitably generating large-scale All-to-All communication in multi-GPU scenarios. Load imbalance amplifies long-tail waiting, reducing the cluster’s effective utilization.

    Furthermore, multimodal models simultaneously include a visual tower, a language backbone, and a cross-modal projection module. The significant differences in parameter scale, activation distribution, and update rhythm pose a systematic challenge to mixed precision strategies and memory management.

    2. Verification Configuration: Trimmed Setup for Pipeline Validation

    It is important to note that this verification used a trimmed configuration rather than a full-scale trillion-parameter pre-training. Disclosed details include:

    • The language backbone was truncated to 13 layers, retaining 16 routing experts with a Top-8 activation sparse structure.
    • The 27-layer visual tower and cross-modal projection module were fully retained to ensure the integrity of the multimodal data flow.
    • Training was randomly initialized using an image-text QA dataset, aiming to verify training functionality and loss convergence trends rather than reproducing model quality.

    From an engineering methodology perspective, this “trimmed configuration first” approach is a reasonable standard path in heterogeneous compute adaptation. Conducting full-scale training directly on the complete model makes troubleshooting extremely costly if precision anomalies or communication deadlocks occur. Verifying three categories of issues first—operator correctness, gradient consistency, and communication topology stability—before gradually scaling up the configuration is the lowest-risk progression method in distributed training systems engineering. The trimmed configuration retains the two most difficult parts: MoE routing and cross-modal structure. Therefore, its verification conclusions remain valuable references for full-scale training.

    3. Key Technical Insights

    Operator Layer: Completing Forward and Gradient Implementations for Mixed Attention and MoE

    The first hurdle in training pipeline verification is operator completeness. Mixed attention involves variants like sparse masks and dynamic windows, while MoE involves routing calculations, expert dispatch, and merging. The adaptation team had to complete the forward calculation and backward gradient implementations for these operators and confirm correctness through gradient checks (typically numerical comparison against reference implementations). This is the foundation for all subsequent verification—if a single operator’s gradient is biased, the anomaly in the loss curve cannot be properly attributed.

    Memory Layer: FSDP2 Fully Sharded Data Parallel

    Facing the trillion-parameter scale, even the trimmed configuration cannot be accommodated by data parallelism alone. This verification utilized the industry-standard FSDP2 (Fully Sharded Data Parallel 2) approach to shard parameters, gradients, and optimizer states. Each GPU temporarily restores the complete shard through collective communication only when needed. In mixed precision training, for example, the memory footprint of a single parameter includes FP16 parameters, FP32 master weights, gradients, and optimizer momentum copies. Full sharding compresses static memory overhead approximately to a single-GPU share, which is key to keeping the peak memory under 45GiB in this verification.

    Communication Layer: Cross-Node Collective Communication

    A dual-node, 16-GPU setup means training spans across single-node boundaries. MoE’s All-to-All communication, along with FSDP’s parameter aggregation and gradient reduction, overlaid on cross-node links, demands high bandwidth utilization and overlapping scheduling capabilities from the communication library. The adaptation team completed cross-node coordination relying on a self-developed collective communication library. In the domestic GPU ecosystem, this is a necessary self-built component—the deep binding of the communication stack to hardware topology is exactly what differentiates the domestic compute stack from general-purpose solutions.

    4. Training Metrics: Convergence Trend Over Absolute Values

    According to the disclosed data, the training loss converged from an average of 8.9365 (steps 21-70) to an average of 2.1802 (last 50 steps), and validation loss dropped from 6.5297 to 4.6873, with visual branch parameters participating in updates. In a scenario with random initialization and limited data volume, absolute loss values are not horizontally comparable. What truly matters are three points:

    • Monotonic and smooth loss decrease: Indicates that the forward, backward, and optimizer update chain is end-to-end correct.
    • Synchronous decrease in validation loss: Shows no severe train-validation divergence, meaning the data pipeline and gradient update direction are trustworthy.
    • No numerical overflow or unexpected interruptions: Demonstrates that the mixed precision scaling strategy and communication stability are reliable under continuous operation.

    5. Industry Perspective: Accelerating Training-Side Adaptation

    Across the industry, the pace of adapting domestic training compute has visibly accelerated. Vendors have completed multimodal pre-training and reinforcement learning on 1,000-GPU clusters with aligned precision; AI chip companies have expanded adaptation to multiple mainstream open-source model series, extending toward 10,000-GPU clusters; cloud providers have announced completing major versions of self-developed large models on fully domestic clusters with an effective training rate of 97%. General computing acceleration cards from other vendors have adapted to hundreds of mainstream large models, covering the vast majority of non-closed-source models. Based on third-party research forecasts, shipments of high-end AI chips in the Chinese market are expected to reach about 5 million units by 2026, a year-on-year increase of 83%, with local solutions capturing nearly 90% of the share (including cloud providers’ self-developed accelerators).

    Against this backdrop, the differentiated value of this verification lies in the granularity of disclosure: reproducible engineering details like continuous training steps, loss curves, peak memory, and gradient checks remain rare at the trillion-parameter MoE multimodal scale. Reproducibility is key to building developer trust in domestic compute. Only when external teams can reproduce similar results based on public configurations can “can run” translate into “reliable.”

    6. Remaining Challenges and Outlook

    Between the trimmed configuration and full-scale trillion-parameter pre-training, at least two hurdles remain:

    1. Cluster Scale Expansion: Scaling from 16 GPUs to thousands or tens of thousands introduces non-linear growth in All-to-All communication overhead and fault recovery costs. This requires solving topology-aware scheduling, hierarchical communication, and elastic fault tolerance.
    2. Long-Term Stability: Multi-week continuous training requires hardware failure rates, communication jitter, and memory fragmentation to be kept at extremely low levels, necessitating continuous validation through large-scale real-world training.

    For developers, the core signal from this practice is that domestic GPUs have moved from “can run inference” to “can verify training pipelines” on the large model training side. Methodologically, it employs a complete tech stack of operator completion, fully sharded parallelism, and self-developed communication stacks. The next critical step is to use larger-scale, publicly verifiable results to translate engineering milestones into ecosystem confidence.