Training Trillion-Parameter MoE Multimodal Models on Domestic Chinese GPUs: Engineering Practices and Challenges
A technical deep dive into what it takes to run a full training pipeline for a 2.8-trillion-parameter MoE multimodal model on domestic GPUs. This article breaks down operator correctness, FSDP-style sharding, all-to-all communication, and validation methodology, offering practical lessons for engineering teams evaluating large-scale training on non-NVIDIA hardware.
From “It Runs” to “It Runs Reliably”
Since 2025, domestic Chinese GPUs have visibly accelerated their adaptation work on the training side of large models. One telling signal: several domestic compute vendors are no longer content with “completing inference deployment” or “running small-scale fine-tuning,” but are instead targeting full training pipeline validation for trillion-parameter native multimodal models. A set of engineering data recently disclosed by one domestic GPU vendor is representative — its lab completed a 400-step continuous training run of a 2.8-trillion-parameter MoE-architecture native multimodal model on a two-node, sixteen-GPU configuration, with no numerical overflow or abnormal interruption throughout.
The significance of this needs to be understood in a broader industry context: getting the training pipeline working means the domestic chips can not only “compute,” but can do so correctly and sustainably within a complex distributed training system. Using this case as a starting point, this article breaks down the engineering factors that truly determine success in adapting ultra-large-scale training pipelines.
Why Trillion-Parameter MoE Multimodal Models Are the Litmus Test
Three Pressure Points from the Architecture
Today’s mainstream ultra-large models typically combine three techniques: Mixture-of-Experts (MoE), dynamic sparse attention, and a native multimodal backbone. Together, they place demands on the underlying hardware platform far beyond those of dense models.
First, the communication pressure of expert routing. In MoE models, each token activates only a small number of experts (e.g., Top-8 routing), but experts are distributed across different GPUs, producing the notorious “all-to-all” communication pattern. This traffic follows no regular topology, is highly bursty, and is poorly balanced — a severe test of the collective communication library’s implementation quality and fault tolerance. On domestic GPU platforms, the communication library often needs deep optimization against the inter-chip interconnect topology just to bring all-to-all bandwidth utilization to a usable level.
Second, the difficulty of implementing dynamic sparse attention operators. Compared with standard attention, attention mixed with sparsification mechanisms is more complex in both forward computation and backward gradient derivation. Kernels must handle irregular computation graphs and dynamic shapes, which requires the software stack to rapidly develop, verify, and optimize custom operators.
Third, the memory pressure of multimodal structure. Native multimodal models typically comprise a vision encoder tower, a cross-modal projection module, and a language backbone — large in total parameters, heterogeneous across modules, and with wildly varying activation shapes. Peak memory management is far trickier than for a pure language model.
What the Validation Metrics Mean
Take the disclosed engineering data: training loss converged from roughly 8.94 early on to about 2.18, validation loss dropped from about 6.53 to 4.69, peak memory stayed around 44.8 GiB, and the vision branch was confirmed to participate in parameter updates. The value of these numbers is that they provide multi-dimensional evidence that “training is proceeding correctly” — a smooth descending loss curve, synchronized validation loss decline ruling out overfitting or data leakage, and memory peak data showing resource estimates are under control.
In the past, vendors often made vague claims like “completed adaptation for model X” without process-level details such as loss curves or gradient checks. Process details are far more verifiable, and their appearance reflects a gradual professionalization of how domestic compute vendors disclose their progress.
Anatomy of the Training Pipeline Stack
Operator Layer: Completing Forward and Gradient Implementations
The essential difference between training and inference is backpropagation. For a model to be trainable, every operator must not only compute correct forward values but also have correct and efficient gradient implementations. For composite operators like MoE routing and sparse attention, gradients often involve complex scatter and reduction operations — a single indexing error can silently degrade training.
A common verification approach:
# General idea of gradient checking: numerical vs. analytical gradientsdef numerical_grad(f, x, eps=1e-5):g = torch.zeros_like(x)for i in x.view(-1).nonzero():...# Perturb element by element, approximate with central differences# Require relative error on the order of < 1e-3 (precision-dependent)
In real training, operator correctness is also indirectly confirmed by monitoring gradient norms, parameter update magnitudes, and the frequency of loss spikes.
Parallelism Layer: FSDP-Style Full Sharding
This case adopted a Fully Sharded Data Parallel (FSDP) approach, applying three-way sharding to parameters, gradients, and optimizer states — currently the mainstream solution to memory bottlenecks in large-model training. Its core benefits:
- Parameter sharding: each GPU holds only 1/N of the full parameters, with on-demand all-gather during forward passes;
- Gradient sharding: immediate reduce-scatter after backprop, avoiding full gradients residing on each device;
- Optimizer state sharding: Adam-family optimizers keep momentum and second-moment states that typically occupy several times the parameter memory, so sharding yields the biggest savings here.
For MoE multimodal models, FSDP must also be combined with expert parallelism and pipeline parallelism to form 3D or even 4D parallelism. This demands that the training framework precisely schedule communication at sharding boundaries — otherwise communication overhead will consume the compute advantage.
Communication Layer: The Role of the In-House Collective Communication Library
Cross-node communication is handled by a domestically developed collective communication library. Its key metrics go beyond peak bandwidth:
- Small-message latency: all-to-all involves many modestly sized messages where latency dominates performance;
- Multi-stream concurrency: overlapping computation and communication requires independent communication streams;
- Fault recovery: transient node failures are inevitable in long-running training, and the library’s reconnection and degradation capabilities directly affect effective training time.
Data and Validation Design
The validation used an image-text QA dataset with randomly initialized weights — meaning the goal was “pipeline functional correctness,” not model capability. This trimmed-down validation approach is worth learning from: truncate some language layers while keeping the full vision tower and cross-modal projection, and expose end-to-end issues with a minimal viable configuration. It costs far less than full-scale pretraining while covering most engineering risks.
Industry Perspective: The Overall Pace of Domestic Hardware Adaptation
Based on public disclosures, the adaptation of domestic GPUs to mainstream large models shows three trends:
- From inference to training. Multiple vendors have made training adaptation a priority; some training clusters already cover multimodal pretraining and reinforcement learning scenarios, with claimed precision aligned to international products.
- From single machines to thousand- and ten-thousand-GPU clusters. Eight-GPU single-node and sixteen-GPU two-node validation is only the starting point. Scaling to thousands of GPUs will make failure rates, communication efficiency, and fault-tolerant design the new battlegrounds.
- From point fixes to systematic coverage. One vendor reports its accelerator cards have been adapted to hundreds of mainstream large models, covering the vast majority of non-proprietary models — indicating adaptation work is becoming platformized and batch-oriented.
That said, a sober view is warranted: pipeline validation on a trimmed configuration is not the same as full-scale pretraining. Full-scale pretraining also involves trillion-token-scale data pipelines, months of continuous operation, and checkpoint-based resumption — a much longer chain of challenges. Equating “pipeline validation passed” directly with “pretraining capability” misreads the actual technical state.
Four Takeaways for Engineering Teams
- When evaluating domestic compute platforms, look at process metrics rather than conclusive claims. Loss curves, gradient check records, memory peaks, and effective training rates say far more than the four words “adaptation completed.”
- Smoke testing with trimmed configurations is a cost-effective practice. Truncating layers and reducing expert counts while keeping key heterogeneous modules exposes communication and memory problems early.
- For MoE models, the bottleneck is communication, not compute. When selecting hardware, focus on all-to-all throughput, topology-aware routing, and multi-stream concurrency.
- Build a “multi-dimensional evidence chain” for training pipeline validation. Training loss, validation loss, gradient norms, memory curves, and throughput statistics should corroborate one another — no single metric is sufficient to judge training correctness.
Conclusion
Successful pipeline validation of a trillion-parameter MoE multimodal model on domestic GPUs is a milestone marker for the maturity of the domestic software stack. It shows that the “hard bones” — operator coverage, parallel frameworks, communication libraries — are being tackled one by one, but there remains a considerable distance to stable ten-thousand-GPU-scale pretraining. For engineering teams, understanding every link in this chain — operator correctness, sharding strategy, communication efficiency, multi-dimensional validation — is more valuable than fixating on any single headline result. The co-evolution of domestic compute and large models will ultimately be decided by these solid engineering details.
