A Chinese GPU Completes Training-Link Validation for a Trillion-Parameter Multimodal MoE Model
This article examines a newly announced training-link adaptation in which a Chinese GPU vendor ran a 2.8-trillion-parameter native multimodal MoE model on a dual-node, 16-card setup for 400 continuous steps without numerical overflow. It explains why trillion-scale MoE multimodal models are hard to train, covering dynamic sparse attention, expert routing, multimodal alignment, and coupled memory/parallelism trade-offs. It then walks through the trimmed-configuration validation method and acceptance criteria, engineering practices for operator alignment, sharded data parallelism, numerical stability, and communication optimization, and an interpretation of the disclosed loss and memory metrics. Finally, it outlines the remaining hurdles to full-scale pretraining and a layered operator-to-cluster validation approach, offering a practical, reproducible reference for training adaptation on domestic compute.
1. Overview: Another Step Forward in Training-Side Adaptation for Domestic GPUs
On November 17, a domestic GPU vendor announced that its lab had completed the training-link adaptation for a trillion-parameter native multimodal large model based on a Mixture of Experts (MoE) architecture (hereafter the “target model”). The test ran on a dual-node, 16-card configuration, with the model training continuously for 400 steps without numerical overflow or abnormal interruption.
Architecturally, the target model has roughly 2.8 trillion total parameters and uses a Mixture of Experts (MoE) structure with native support for combined image-and-text multimodal input. Its dynamic sparse attention and expert-routing mechanisms place heavy demands on multi-card communication and memory management.
The vendor also stressed that this validation used a trimmed configuration. The goal was to confirm that the training path is functional and that the loss trend is reasonable—not to conduct a full-scale pretraining run.
For R&D teams, this distinction matters. Between “it runs” and “it can efficiently and stably complete full-scale training over trillions of tokens” sit several engineering gates: operator coverage, parallelism strategy, communication efficiency, and fault-tolerant recovery. This article uses that gap as its starting point and systematically reviews the methods and practical considerations for training trillion-scale MoE multimodal models on domestic compute.
2. Technical Background: What Makes Trillion-Scale MoE Multimodal Models Hard
2.1 Dynamic Sparse Attention: Compute Patterns That Vary with Input
In a conventional Transformer, attention complexity grows quadratically with sequence length, and in multimodal tasks the visual tokens produced from images lengthen the sequence further. Sparse attention reduces cost by computing only a subset of attention connections, but its sparsity pattern is often determined dynamically by the input content.
This creates three challenges for operator implementation:
- Kernels must efficiently handle irregular, block-level, or windowed access patterns;
- Both forward and backward passes must stay numerically stable, avoiding overflow or underflow at steps such as softmax;
- Inputs of varying shapes must automatically select the correct execution path, keeping the compute graph and gradient chain consistent.
2.2 Expert Routing: Communication Patterns That Depend on Data Content
MoE splits the feed-forward layer into multiple parallel “expert” subnetworks. A routing network selects the top-k experts for each token, carrying a very large parameter count while keeping per-token activation low. But in distributed training:
- Different devices host different expert IDs, requiring frequent All-to-All communication to dispatch tokens to the devices where their assigned experts reside, then aggregate results back to the original device;
- Routing outcomes depend on data content, so expert load is easily imbalanced, making individual devices a “long-tail” bottleneck;
- Gradients typically include not only the task loss but also an auxiliary load-balancing loss; an omission here can indirectly cause training to collapse;
- The backward implementation of the routing layer’s Tiny module, capacity limits, and token-dropping logic are all common sources of accuracy and convergence risk.
2.3 Multimodal Alignment: Two Backbones That Must Update Together
A native multimodal model typically consists of a vision encoder, a cross-modal projection module, and a language backbone. Visual features are aligned through projection and then concatenated with text tokens as input. Joint training must account for:
- Variable-length sequences and load imbalance caused by differences in tile counts and image-to-text ratios;
- Different gradient scales between the vision and language branches, requiring coordinated learning-rate and warmup strategies;
- Vision-side operators (convolutional, normalization, attention, and so on) that often mature later than language-side ones in coverage and accuracy, easily becoming the weakest link in adaptation.
2.4 Memory and Parallelism: Multiple Sharding Schemes Coupled Together
Take bfloat16 (BF16) training as an example, where each parameter requires storing the parameter, gradient, and first- and second-order optimizer states. A rough estimate:
- Model states alone require about 16 bytes per parameter, so a 2.8-trillion-parameter model needs roughly 44.8 TB of memory;
- Assuming an average sequence length of 8192, about 64 Transformer layers, and a hidden dimension of about 8192, with all per-layer activations retained, the self-contained activations excluding attention are roughly 34 × 8192 × 8192 × 2B ≈ 4.3 GiB—before counting the attention matrix, expert intermediate activations, multimodal data, and temporary buffers;
- If the attention matrix is fully retained, each layer needs about 16 × 8192² × 2B ≈ 2 GiB, accumulating to over 128 GiB across 64 layers.
Therefore, real training must combine data parallelism, tensor parallelism, pipeline parallelism, expert parallelism, sequence/context parallelism, and activation recomputation. These sharding dimensions are coupled, and any error in a memory or communication estimate can be amplified into a bottleneck at scale.
3. Link Validation Under a Trimmed Configuration: Method and Acceptance Criteria
3.1 Key Points of This Validation
According to the vendor’s disclosure, the validation made the following trade-offs:
| Configuration dimension | Setting | Design intent |
|---|---|---|
| Parallelism and scale | Dual-node, 16 cards | Covers cross-node communication while controlling resource cost |
| Language backbone | Truncated to 13 layers, 16 routed experts, Top-8 activation | Preserves the full MoE routing and sparse-compute path |
| Vision side | Full 27-layer vision tower and cross-modal projection module | Covers multimodal-specific operators and alignment logic |
| Data and initialization | Image-text QA dataset, random initialization | Removes data as a factor, focusing on training functionality and loss trend |
The internal logic of these trade-offs is “keep the structural difficulties, compress the runtime cost”: the number of language-backbone layers can be reduced, but the MoE routing path, cross-modal projection, and multi-card communication—the error-prone parts—must be preserved.
3.2 Acceptance Criteria for Link Validation
To judge whether the link is genuinely functional, consider these five dimensions:
- Numerical safety: loss, gradients, and activations show no NaN/Inf; gradient norms stay within a reasonable range; optimizer states (first- and second-order momentum) update normally.
- Effective convergence: training loss decreases continuously and validation loss decreases in step, indicating the gradient direction is correct rather than overflow being merely “masked” by loss scaling.
- Complete coverage: the vision branch participates in parameter updates, and consistency checks using checksums of tensors and optimizer states confirm that parameters across all ranks align fully after synchronization.
- Controllable resources: peak memory leaves room for scaling; throughput is stable, and communication-wait proportion stays within an acceptable range.
- Operational stability: hundreds of continuous steps run without interruption or precision drift, providing a foundation for longer training runs.
4. Engineering Implementation
4.1 Operator Alignment: Forward and Backward Are Both Essential
The forward and gradient implementations of hybrid attention and MoE operators form the basis of adaptation. A domestic GPU software stack usually needs custom kernels built on top of general-purpose operators, with common issues including:
- Incorrect backward formulas or missing boundary conditions (variable-length sequences, masks, capacity truncation);
- Insufficient accumulation precision, where summation error over long sequences is amplified under BF16;
- Operator semantics that differ from the reference implementation (such as normalization approach or routing-score computation).
It is advisable to establish a two-layer verification of “operator-level comparison + model-level gradient check”:
- Operator level: run the same input through both the domestic kernel and the reference implementation, setting tolerances by data type;
- Model level: compare against a known convergence curve on a small model, and use numerical gradients to verify the backward implementation of key modules.
Illustrative code:
# Operator-level precision comparison (illustrative)import torchdef check_op(golden_fn, kernel_fn, make_input, num_iters=100,rtol=1e-2, atol=1e-2):for i in range(num_iters):x = make_input(i)y_ref, g_ref = golden_fn(x) # reference implementation and its gradientsy_out = kernel_fn(x)torch.testing.assert_close(y_out, y_ref, rtol=rtol, atol=atol)g_out, = torch.autograd.grad(kernel_fn(x).sum(), x)torch.testing.assert_close(g_out, g_ref, rtol=rtol, atol=atol)
For stages with discrete selection such as MoE routing (for example, argmax or top-k), numerical gradients do not apply. Use forward-and-backward comparison under fixed inputs instead, and separately verify whether the gradient of the load-balancing auxiliary loss propagates back to the routing layer.
4.2 Sharding and Parallelism: Controlling Memory and Communication
This adaptation uses sharded data parallelism: parameters, gradients, and optimizer states are sharded and stored by rank, with each rank holding only part of the full state. During the forward pass, parameters are All-Gathered layer by layer; during the backward pass, gradients are Reduce-Scattered layer by layer, with communication overlapped with computation. A sketch:
# Sharded data-parallel training step (not a specific framework API)for batch in loader:loss = model(batch) # forward: layer-by-layer All-Gather of parameters, overlapped with the next layer's computeloss.backward() # backward: layer-by-layer Reduce-Scatter of gradientsclip_grad_norm_(model, 1.0) # the global norm must be reduced across ranksoptimizer.step() # each rank updates only its local shard
Three engineering points matter here:
- Communication-compute overlap: shard granularity, prefetch depth, and compute-graph partitioning jointly determine the overlap. Shards that are too fine increase the number of communication calls; shards that are too coarse raise the peak memory.
- Load balancing: set a reasonable capacity factor for MoE and combine it with sequence/context parallelism to spread visual tokens, avoiding long-tail devices that slow the whole.
- Combined strategy: when model size exceeds a single card’s capacity, introduce tensor parallelism to split intra-layer computation and pipeline parallelism to split across layers, together with activation recomputation to trade memory for compute.
4.3 Numerical Stability: Guarding Against Overflow and Loss Spikes
Mixed-precision training should preserve FP32 “islands of computation” within BF16 computation, for example softmax, normalization, loss reduction, and gradient accumulation.
If FP16 must be used, it needs loss scaling. The principle of loss scaling is to multiply the loss by a scaling factor during backpropagation, moving small gradients out of the underflow range, then divide by that factor before the update:
# Dynamic loss scaling for FP16 training (illustrative)loss = compute_loss(model, batch)optimizer.zero_grad()scaler.scale(loss).backward() # backward with scaling to avoid underflow of small gradientsscaler.unscale_(optimizer) # restore gradient scale before clippingtorch.nn.utils.clip_grad_norm_(model.parameters(), 1.0)scaler.step(optimizer) # skip this update automatically when Inf/NaN appearsscaler.update() # shrink the factor on consecutive overflow, grow moderately when stable
In addition, apply global gradient clipping, protect the numerical range of attention logits, and keep FP32 master weights for sensitive modules such as embeddings and the output layer. On the monitoring side, treat loss spikes, sudden jumps in gradient norm, and per-step latency outliers as early-warning signals.
4.4 Communication Optimization: Making the Most of Cross-Node Bandwidth
Cross-node communication is handled by the collective communication library, with optimization focused on:
- Communication-compute overlap: stagger the forward/backward communication of sharded parallelism against the point-to-point communication of tensor and pipeline parallelism;
- Topology awareness: keep expert-parallel groups within a node’s high-speed interconnect domain, and prefer cross-node links for data-parallel-type communication;
- Batch aggregation: merge multiple small tensors before communication to reduce fixed latency overhead;
- Observability: collect the timing and bandwidth utilization of each collective primitive to locate long-tail devices and slow links.
5. Reading the Key Metrics: What This Data Shows
| Metric | Result | Interpretation |
|---|---|---|
| Parallelism and scale | Dual-node, 16 cards, 400 continuous steps | Covers cross-node communication; link functionality validated |
| Training loss | 8.9365 (mean of steps 21–70) → 2.1802 (mean of last 50 steps) | Roughly a 75.6% drop; effective gradient direction |
| Validation loss | 6.5297 → 4.6873 | Decreases in step, indicating the drop is not overfitting-style |
| Peak memory | 44.80 GiB | Leaves headroom for scaling under the trimmed configuration |
| Vision branch | Participates in parameter updates | Full multimodal joint-training path |
By the disclosure standard, most vendors, when announcing adaptation progress, tend to give outcome metrics such as cluster scale, model version, and effective training rate, and disclose loss curves and gradient-check details far less often. This time, disclosing step count, loss ranges, and peak memory for a trillion-scale MoE multimodal model provides a referenceable, reproducible engineering sample.
Interpretation also requires care:
- Mean-based reporting: reporting interval means rather than single-point values weakens the misleading effect of single-step jitter;
- Random initialization: the starting loss is relatively high, and a rapid drop is expected; the key is whether the curve is smooth and whether the validation set decreases in step;
- Absolute loss value: the combination of random initialization, trimmed layer count, and a specific dataset means this number cannot be directly compared with public data from same-scale full pretraining.
6. From Link Validation to Full-Scale Pretraining: Hurdles Still to Clear
- Scaling up: going from trimmed to full requires simultaneously scaling layers, expert count, sequence length, and parallelism degree. As expert parallelism scales, All-to-All communication volume and long-tail effects grow significantly, requiring a fresh parallelism-strategy search and memory estimate.
- Long-term stability: as cluster size grows, the probability of hardware failure rises, and long training runs must rely on a checkpoint mechanism to periodically save state and support automatic recovery from the latest checkpoint. BF16, random initialization, and a low learning rate can easily “mask” precision problems, so longer training and a learning-rate annealing phase are needed to expose potential defects.
- Performance efficiency: the effective training rate (the share of effective compute time in total runtime) is the true yardstick at scale; communication waits, data loading, and load imbalance all erode it.
- Ecosystem maturity: the completeness of operator coverage, framework compatibility, and the fault-localization and tuning toolchain determines how quickly a team can locate and resolve problems.
At the industry level, the pace of adaptation between domestic GPUs and mainstream large models is accelerating:
- A domestic GPU vendor disclosed that several large-model companies have completed multimodal pretraining and reinforcement learning on its thousand-card cluster, with accuracy aligned to international mainstream products;
- A domestic AI chip vendor disclosed that it has advanced adaptation for several mainstream open-source model series on the training side and is extending toward thousand-card and ten-thousand-card cluster scenarios;
- A domestic cloud vendor announced that a cluster built entirely on domestic chips has completed the training of an important version of its in-house large model, with an effective training rate of 97%;
- A domestic AI chip vendor disclosed that its accelerator cards have adapted over 400 mainstream large models, covering roughly 99% of non-closed-source models.
On the market side, an industry research firm forecasts that high-end AI chip shipments in the China market will reach about 5 million units in 2026, up 83% year over year, with domestic solutions holding close to 90% share (including cloud vendors’ in-house ASICs).
7. Practical Recommendations: A Layered Validation Method for Training Adaptation on Domestic Compute
It is advisable to validate progressively across four layers—“operator → model → link → cluster”—with clear entry and exit conditions at each layer:
| Layer | Goal | Key methods | Exit condition |
|---|---|---|---|
| Operator | Correct forward/backward numerics | Compare with reference implementation across multiple shapes and dtypes | All cases pass tolerance checks |
| Model | Trainable and convergent on a single card | Short training on a small model, compared against a reference convergence curve | Training/validation loss decrease in step, no overflow |
| Link | Complete multi-card training functionality | Trimmed configuration, random initialization, hundreds of continuous steps | No interruption or overflow; vision branch participates in updates |
| Cluster | Full-scale, long-term, and efficient | Parallelism-strategy search, elastic fault tolerance, performance profiling | Target effective training rate reached; long runs without manual intervention |
At the platform level, this kind of training typically combines containerized cluster scheduling, a shared file system or object storage, monitoring and alerting, and logging services as foundational capabilities. Taking Baidu AI Cloud as an example, enterprises can build a training environment on general capabilities such as elastic compute, high-speed interconnect networks, object storage, and logging with monitoring and alerting. They can also accumulate reproducible experiments through pipeline orchestration and offline replay mechanisms, and use unified model evaluation and inference services to accelerate the validation loop.
8. Conclusion
The 400 continuous training steps and gradient checks completed by the domestic GPU vendor provide a referenceable engineering milestone for the reproducibility of domestic GPUs on the training side. But moving from a trimmed configuration to full-scale training of a complete trillion-parameter model still faces tests of cluster-scale expansion, long-term stability, and performance-efficiency optimization.
For technical teams, the more pragmatic path is to build link validation into a standardized adaptation workflow:
- Replace qualitative descriptions with reproducible metrics;
- Control risk with layered validation;
- Lower engineering cost with platform capabilities.
Only then can domestic compute make the leap from “usable” to “well usable” in large-model training scenarios.
