Engineering Breakdown: Training a Trillion-Parameter Multimodal MoE Model on Domestic GPUs

    A domestic GPU lab recently validated the full training pipeline for a 2.8-trillion-parameter native multimodal MoE model, completing 400 consecutive training steps on a 16-GPU dual-node setup without numerical overflow or interruptions. This article breaks down the validation setup, key metrics, and the three-layer engineering effort behind it—operators, memory management via FSDP2, and collective communication—while examining the broader progress of domestic AI training compute and the challenges that remain before full-scale pretraining becomes feasible.

    Background: Domestic GPUs Move Into Large-Model Training

    A domestic GPU vendor’s lab recently announced that it has completed training pipeline adaptation for a natively multimodal large model with 2.8 trillion parameters using a Mixture-of-Experts (MoE) architecture. On a dual-node, 16-GPU configuration, the model completed 400 consecutive training steps without any numerical overflow or abnormal interruption. The significance here is that domestic GPUs are no longer limited to inference-side adaptation—they are pushing into training, particularly distributed training for ultra-large-scale models.

    From an architectural standpoint, trillion-parameter MoE multimodal models place extreme demands on the underlying compute infrastructure. The dynamic sparse attention mechanism makes compute loads highly uneven across sequence positions, while the expert routing mechanism means only a subset of experts is activated in each training step, requiring tokens to be constantly dispatched and gathered across GPUs and nodes via all-to-all communication. Together, these two characteristics set a high bar for multi-GPU communication topology, memory management strategy, and operator coverage.

    Validation Setup and Key Metrics

    It is important to clarify that this validation used a trimmed configuration rather than full-scale pretraining of the complete model. Specifically:

    • Language backbone: 13 layers were extracted, with routed experts reduced to 16 (Top-8 activation), significantly cutting parameter count while preserving the core MoE computation paradigm.
    • Vision branch: The full 27-layer vision tower and cross-modal projection module were retained, ensuring the multimodal training pipeline was validated end to end.
    • Data and initialization: Training used a public image-text QA dataset with random initialization.

    Under this setup, training loss converged from 8.9365 (average over steps 21–70) to 2.1802 (average over the final 50 steps), validation loss dropped from 6.5297 to 4.6873, peak memory usage was 44.80 GiB, and vision-branch parameters were confirmed to participate in gradient updates. These metrics send two important signals:

    1. Healthy loss curves: Training and validation loss declined in tandem, showing that the complete loop of forward computation, backward gradients, and optimizer updates is numerically stable on the hardware.
    2. A functional multimodal pipeline: The vision tower and cross-modal projection trained normally, proving that both the image and text data paths are supported in the domestic GPU software stack.

    System-Level Enablement of the Distributed Training Pipeline

    The engineering focus of this adaptation was not single-GPU peak performance, but end-to-end enablement of the distributed training pipeline, which can be broken down into three layers:

    1. Operator Layer: Completing Forward and Gradient Implementations for Key Operators

    Hybrid attention (e.g., mixing sliding-window and full attention) and MoE expert routing were the two difficult operator categories in this adaptation. The former involves variable-length attention computation patterns; the latter involves discrete routing decisions and load balancing under expert parallelism. Completing the forward and backward implementations of these operators was a prerequisite for stable training.

    2. Memory Layer: Fully Sharded Management Based on FSDP2

    The validation adopted the FSDP2 approach, sharding model parameters, gradients, and optimizer states. Compared with traditional data parallelism, where every GPU holds a full model replica, full sharding distributes these three types of states across all devices, substantially reducing per-GPU memory usage—a key technique for training trillion-parameter models within limited memory. Conceptually:

    1. # FSDP sharding: parameters/gradients/optimizer states are all sharded
    2. # Parameters are all-gathered on demand before forward and released after backward
    3. with fsdp_shard(model, optimizer):
    4. loss = model(input_ids, pixel_values).loss
    5. loss.backward() # gradients are reduce-scattered, then shards are released

    3. Communication Layer: Cross-Node Collective Communication

    Cross-node communication is handled by the vendor’s in-house collective communication library, which manages all-gather, reduce-scatter, and the all-to-all operations specific to MoE. The degree to which communication overlaps with computation directly determines effective training throughput at multi-node scale.

    Industry Perspective: The Pace of the Domestic Training Compute Ecosystem

    In a broader industry context, adaptation between domestic GPUs and large models is clearly accelerating. Multiple domestic chip vendors have in recent years disclosed multimodal pretraining and reinforcement learning practices on thousand- to ten-thousand-GPU clusters, with precision aligned to mainstream international products. Some cloud providers have also announced that their self-developed AI chip clusters completed training of major versions of flagship large models, reporting a 97% effective training rate. Third-party consultancies forecast that shipments of high-end AI chips in the Chinese market will continue growing rapidly, with domestic solutions approaching a 90% share (including cloud vendors’ self-developed ASICs).

    One noteworthy point is the difference in disclosure practices: most vendors emphasize cluster scale and the number of models covered, whereas this validation separately disclosed consecutive training step counts, loss curves, and gradient-check details—offering a referenceable engineering milestone for the reproducibility of training on domestic GPUs. This kind of verifiable, reproducible disclosure has real value in building confidence among developers and buyers.

    From Trimmed Validation to Full-Scale Training: Remaining Challenges

    It is important to be objective: this was still a pipeline validation under a trimmed configuration, not equivalent to full-scale pretraining. Moving from a 400-step functional validation to complete pretraining of a trillion-parameter model requires clearing at least three hurdles:

    1. Cluster scalability: Scaling from 16 GPUs to thousands or tens of thousands amplifies communication overhead, failure rates, and load-balancing problems nonlinearly; the balance design of expert routing is especially critical.
    2. Long-term stability: Full-scale pretraining typically requires weeks or even months of continuous operation, making checkpoint-based resume training, automatic failure recovery, and slow-node eviction indispensable systems-engineering capabilities.
    3. Data and training strategy: Full multimodal pretraining involves complex processes such as data mixing ratios, curriculum learning, and reinforcement learning post-training—a longer-term test of software-stack stability.

    Conclusion

    The validation of domestic GPUs on a trillion-parameter MoE multimodal training pipeline marks an evolution from “capable of inference” to “capable of training,” and from “running” to “running stably.” Although full-scale pretraining still has a long road ahead, the public disclosure of engineering details is making the domestic training ecosystem measurable and trustworthy. For developers and enterprise users, tracking reproducible engineering milestones like this one is far more practically valuable than chasing peak compute specifications alone.