A Domestic GPU Completes the Training Pipeline Validation for a Trillion-Parameter Multimodal MoE Model
A domestic GPU vendor reports that its lab has adapted the training pipeline for a 2.8-trillion-parameter native multimodal large model built on a Mixture-of-Experts (MoE) architecture. On a 2-node, 16-GPU configuration, the pipeline ran 400 consecutive steps without numerical overflow or interruption. The company states the run used a trimmed configuration for functional and loss-trend validation only, with full-scale pretraining to follow separately. This article explains what "pipeline validation" actually means, why trillion-parameter multimodal MoE is a demanding test case, how to read the disclosed metrics such as the loss curve, gradient checks, and memory peak, and what remains before full-scale pretraining can be trusted.
A domestic GPU vendor recently announced that its lab has completed the training pipeline adaptation for a 2.8-trillion-parameter native multimodal large model using a Mixture-of-Experts (MoE) architecture. On a 2-node, 16-GPU configuration, the pipeline ran for 400 consecutive steps without observing numerical overflow or interruption.
The company also made clear that this validation used a trimmed configuration, intended only to verify training functionality and loss trends; full-scale pretraining will be conducted separately. The announcement carries limited information, but two points are worth developers’ attention:
- First, it explicitly separates “being able to run” from “being able to train well”;
- Second, it provides verifiable engineering metrics such as the loss curve, gradient checks, and memory peak.
For teams evaluating whether domestic GPUs can take on training workloads, the value of this kind of disclosure lies not in the conclusions themselves, but in the reproducible methodology it offers.
Note: The parameter scale, loss values, memory figures, and other data in this article all come from public disclosures. The analysis of these metrics follows common industry practice and does not represent a performance commitment for any related product.
1. Key Points: This Is a “Pipeline-Level” Validation
| Item | Public Information |
|---|---|
| Model | 2.8-trillion-parameter MoE architecture, native multimodal large model |
| Hardware scale | 2 nodes, 16 GPUs |
| Model configuration | Language backbone truncated to 13 layers, 16 routing experts, Top-8 activation; full 27-layer vision tower and cross-modal projection module retained |
| Training method | Random initialization, using a public image-text question-answering dataset |
| Run result | 400 consecutive steps, no numerical overflow, no abnormal interruption |
| Key metrics | Training loss 8.9365 → 2.1802; validation loss 6.5297 → 4.6873; memory peak 44.80 GiB |
| Nature of configuration | Trimmed configuration for pipeline and loss-trend validation, not equivalent to full-scale pretraining |
On the software stack, the vendor completed the forward and gradient implementations for the model’s hybrid attention and MoE operators. Sharding management of parameters, gradients, and optimizer states is handled by a sharded data parallel (FSDP-like) strategy, and cross-node communication is handled by a collective communication library.
The key to understanding this is the word “pipeline.” Training a large model requires five things to hold simultaneously:
- Operators compute correctly: forward outputs and gradients are numerically correct;
- Parallelism splits correctly: parameters, gradients, and optimizer states are sharded per the sharding strategy and correctly reassembled;
- Communication works: collective communication is stable and efficient across the multi-node topology;
- Numerics stay stable: no inf/NaN under mixed precision;
- State fits in memory: the memory peak is controllable.
Only when all these conditions hold together can we say the pipeline is connected. Fast single-card speed does not mean these conditions are all met. Nor does correct forward inference alone mean the backward gradient is correct. Pipeline validation is precisely about answering whether this training path can be executed completely and correctly.
2. Why Trillion-Parameter Multimodal MoE Is a High-Bar Scenario
2.1 Expert Routing: Gradients Must “Follow the Token”
An MoE model contains a large number of parameters, but each token activates only a small subset of experts (8 out of 16 in this configuration). The system must compute routing scores for each token, select the target experts, and dispatch the token to the compute device hosting the corresponding expert. A typical single-layer MoE front end proceeds as follows:
# Illustration: processing flow of a single-layer MoE front endscores = router(hidden) # routing scores of each token for every experttopk_val, topk_idx = topk(scores, k=8) # select the 8 highest-scoring expertsweights = softmax(topk_val, dim=-1) # normalize into combination weights# sort by target expert and group tokens per expert for batched computationorder, expert_id = sort_by_expert(topk_idx)tokens = dispatch(hidden[order], expert_id, group) # cross-device dispatch, corresponds to collective communication# compute each expert group, then combine weighted by routing weightsoutputs = combine(expert_forward(tokens), weights)
The main challenge of this mechanism for domestic compute lies in backpropagation:
- Routing gradient chain: The routing weights come from softmax, so gradients must flow back through “normalization → Top-k selection → scores.” If any step is implemented incompletely, the gradient becomes distorted.
- Cross-device backward communication: The forward token dispatch requires a backward gradient reduction, and the send/receive sizes change layer by layer. The communication library must support non-uniform send/receive loads, not just the case where every card handles an equal data volume.
- Load imbalance: Uneven expert popularity causes compute and communication waiting across devices. With strategies such as load-balancing loss, router jitter, and capacity factor, the backward path must also handle the gradient produced by “dropped tokens.”
In short, the difficulty of MoE is not just computing fast, but whether the gradient remains correct under a dynamic routing structure.
2.2 Dynamic Sparse Attention: The Memory Peak Is Hard to Predict
“Dynamic sparse” generally means the attention computation range changes with the input, for example:
- Adaptively adjusting the attention window based on content;
- Using gating or masking to skip the computation of some query–key/value pairs.
This brings two engineering problems:
- The computation path is not fixed: Kernels must support multiple modes or mask shapes, keeping numerical correctness across different shapes.
- Memory and backward overhead fluctuate with the input: The memory peak depends on the “heaviest” batch across the entire training process. Looking at memory usage for only the first few steps can easily lead to misjudging the remaining headroom.
2.3 Native Multimodal: Training More Than Just Language Parameters
“Native multimodal” emphasizes that the model handles modalities such as text and images in a unified way at the architecture level. The vision tower and cross-modal projection module are typically part of training. Compared with a pure language model, it introduces additional problems:
- The vision side’s tensor layout, normalization scheme, and numeric ranges differ from the language side;
- Image-text data varies greatly in resolution and token count, with noticeable fluctuation in sequence length;
- Preprocessing such as image-text alignment and data augmentation directly affects gradient quality.
2.4 Summary: Memory Pressure Is a Shared Constraint
The parameters, gradients, and optimizer states of a trillion-parameter model cannot fit on a single card, so they must be sharded and coordinated across cards and nodes. On top of that come activations, communication buffers, and memory fragmentation, making memory management a shared constraint across all stages.
3. How to Read the Design and Results of This Validation
3.1 Trimmed Configuration: Purpose and Tradeoffs
The validation used a language backbone of 13 layers, 16 experts, and Top-8 activation, while retaining the full 27-layer vision tower and cross-modal projection module. For this kind of model, this is a fairly pragmatic tradeoff.
MoE parameters are concentrated mainly in the expert matrices. With the number of experts and activations held constant, reducing the number of layers can dramatically shrink the overall scale while preserving the routing logic and hybrid attention structure. This means the code paths under test are essentially the same as those of the full model.
Keeping the full vision tower un-truncated ensures the vision branch genuinely participates in parameter updates, thereby validating the correctness of the multimodal data pipeline in backpropagation. If the vision tower were frozen, or only forward inference were performed, problems in the vision-side gradient implementation would not surface.
But the trimming also has boundaries:
- Fewer layers: The sharding pressure of pipeline parallelism and the depth of cross-stage gradient propagation both change accordingly.
- Limited scale: The real pressure of expert parallelism and tensor parallelism is not yet reflected, and the activation overhead of long multimodal sequences has not been fully stress-tested.
Therefore, a trimmed configuration is suitable for validating functional correctness, but is not sufficient to represent full-scale performance and convergence behavior.
3.2 Metric Interpretation
The public data shows:
- Training loss dropped from a mean of 8.9365 over steps 21–70 to a mean of 2.1802 over the last 50 steps;
- Validation loss dropped from 6.5297 to 4.6873;
- Memory peak of 44.80 GiB, with the vision branch participating in parameter updates.
The interpretation is as follows.
First, the loss curve comes from random-initialization training. When a language model starts from random initialization, the initial loss roughly corresponds to outputting the vocabulary with a uniform distribution, i.e., around ln(vocabulary size). The specific value depends on the vocabulary size and data difficulty, so the starting value cannot be used to compare different implementations side by side.
Second, use window means rather than single-step values to describe the trend. Steps 1–20 are often in a phase of learning-rate warmup, where optimizer states are not yet stable and the routing distribution is still adjusting, so single-step loss can fluctuate sharply. Skipping this segment and describing the trend with interval means is a more robust practice in engineering.
Third, validation loss and training loss drop in tandem. Training loss decreased by about 75.6% and validation loss by about 28.2%. The two decreasing in the same direction indicates the loss drop is not purely memorization of training samples. Under random initialization this mainly shows the optimization process is effective; it still cannot serve as a conclusion about model convergence quality.
Fourth, how to read the memory peak. A peak of 44.80 GiB means that if a single card has on the order of 80 GB of memory, there is still considerable headroom (this is an estimate based on the public figures; the actual headroom depends on the hardware configuration). At the same time, since the peak was stable and controllable throughout the process, it can be preliminarily judged that there is no obvious memory leak.
Fifth, gradient checks. The summary does not provide the specific check items and thresholds for gradient checks. The following explains, per common industry practice, what such checks typically focus on:
| Check dimension | Focus | Common practice |
|---|---|---|
| Correctness | Whether analytic and numeric gradients agree | Finite-difference comparison on small modules |
| Finiteness | Whether gradients contain inf/NaN | Per-tensor statistics after backward |
| Magnitude | Whether the gradient norm is in a reasonable range | Monitoring the global gradient norm curve |
| Effectiveness | Whether parameters actually update | Comparing parameter update magnitude with learning-rate magnitude |
| Shard consistency | Whether reassembled shard gradients match single-card gradients | Small-scale single-card/multi-card comparison |
The first four can be completed in the single-card pipeline validation stage. The fifth requires moving into the multi-card stage and is the most critical step for verifying the correctness of the parallel implementation.
3.3 Minimal Observable Code Example
The core of pipeline validation is making every training step “observable.” The following example gives the minimal set of metrics recommended for logging in a single iteration:
# Illustration code: single-step observation in training pipeline validationfor step, batch in enumerate(loader, start=1):loss = model(batch) # forward: hybrid attention + vision tower + MoE routingloss.backward() # backward: through routing and cross-modal projectiongrad_norm = clip_grad_norm_(model, max_norm=1.0) # also performs gradient clipping and norm statisticsoptimizer.step()optimizer.zero_grad(set_to_none=True)# record four signal categories each step: loss, gradient, memory, numerical healthlog(step,loss=loss.item(),grad_norm=grad_norm,grad_finite=all_finite(model), # alarm if any parameter gradient contains inf/NaNpeak_mem=peak_memory(), # process-level memory peakexpert_load=expert_load_stats(), # distribution of tokens assigned to each experttokens_seen=batch_token_count()) # effective token count, used to compute throughput
The corresponding decision rules can be summarized simply as:
- loss: Smoothly decreasing, or fluctuating slightly then continuing to drop; a sustained plateau or a spike requires investigating the data and routing state.
- grad_norm: Stable in magnitude; continuous growth signals training instability, while a sudden drop to zero often means the computation graph was accidentally severed.
- grad_finite: Should always be true; once false, locate the module where the first abnormal tensor appears.
- peak_mem: Rises early then stabilizes; if it keeps climbing, check for memory leaks or fragmentation.
- expert_load: The distribution should not be overly skewed; extreme skew means some experts are idle or overloaded for long periods.
4. From “Can Run” to “Can Train Well”: Four Levels of Domestic GPU Training Readiness
Placing this validation alongside other public industry progress, the adaptation between domestic compute and mainstream large models can be summarized into four progressive levels:
| Level | Core question | Validation method | Criteria |
|---|---|---|---|
| Operator | Whether a single operator computes correctly | Element-wise comparison against a reference implementation | Forward/backward error within tolerance |
| Model | Whether a full single-card model trains correctly | Small-model convergence test, gradient checks | Loss drops, gradients finite and reasonable in magnitude |
| Pipeline (multi-card) | Whether the distributed pipeline is connected | Small-scale multi-node continuous training | No interruption, no overflow, correct metric trends |
| Cluster | Whether it holds up at scale | Thousand-card-and-above long-duration training | Meets scaling efficiency, effective training rate, and fault recovery targets |
Viewed through this framework, this 400-step continuous run sits at the pipeline level, and uses a trimmed configuration. From the public disclosures, for a 2.8-trillion-parameter-class MoE multimodal model, cases that separately disclose the continuous step count, loss curve, and gradient checks remain uncommon.
The pace of adapting domestic GPUs to large models continues to accelerate, and different vendors emphasize different aspects:
- One domestic GPU vendor stated in its 2026 interim report that several large-model companies have used its thousand-card cluster to complete multimodal pretraining and reinforcement learning, with precision aligned to international mainstream products;
- One domestic AI chip vendor disclosed at its 2026 semi-annual results briefing that it is advancing the adaptation of several mainstream open-source model series on the training side, gradually extending toward thousand-card and ten-thousand-card cluster scenarios;
- Baidu announced at Create 2026 that a fully domestic cluster based on Kunlun chips has completed the training of an important version of the ERNIE large model, reaching an effective training rate of 97%;
- One domestic chip vendor disclosed in its 2026 semi-annual materials that its accelerator cards have been adapted to over 400 mainstream large models, covering roughly 99% of non-closed-source large models.
The scope and depth of these disclosures are not uniform; some emphasize precision alignment, some emphasize cluster scale, and some emphasize adaptation breadth. But together they show that domestic compute is moving from the inference-adaptation stage of “can the model run” toward the training-adaptation stage of “can the model train efficiently and stably.”
Among these, the “effective training rate” is a key metric for cluster-scale operation. It usually refers to the proportion of effective training time to total training time, where the time loss mainly comes from:
- Hardware failures and task restarts;
- Checkpoint saving and recovery;
- Slow nodes dragging down overall progress.
Baidu’s 97% means that about 3% of the time during training is consumed by various overheads. Looking only at whether the pipeline can run does not reveal whether a cluster is stable; only by incorporating time-dimension losses into the assessment can we judge whether a compute setup is suitable for long-cycle pretraining.
The market-side trend is likewise evident. According to a market research firm’s forecast, high-end AI chip shipments in the China market in 2026 will be about 5 million units, up 83% year over year, with domestic solutions holding a share close to 90% (including cloud vendors’ self-developed ASICs). After shipment volumes scale up, the focus of competition will shift from “whether it exists” to software ecosystem maturity, cluster engineering capability, and large-scale long-duration stable operation.
5. From 400 Steps to Full-Scale Pretraining: What’s Still Missing
5.1 Cluster Scale Expansion: Communication Overhead and Failure Rate Both Rise
As the cluster scales up, more parallelism dimensions stack together, such as data parallelism, tensor parallelism, pipeline parallelism, expert parallelism, and a distributed optimizer that further splits optimizer states. Possible problems include:
- Rising share of communication overhead: Gradient reduction, pipeline-parallel point-to-point communication, and cross-device dispatch for expert routing compete for bandwidth, reducing single-card compute utilization.
- Communication topology mismatch: Cross-machine bandwidth and latency are far lower than intra-node interconnect. If the parallelism dimensions do not match the topology, cross-machine communication volume expands sharply.
- Hardware failure frequency rising with scale: Even if the probability of a single machine running stably for thousands of hours is high, failures across tens of thousands of cards become the norm. Long-duration stable training without fault-tolerance mechanisms is hard to sustain.
5.2 Convergence Alignment: Not Crashing per Step Is Not the Same as Matching the Curve
A loss drop under a trimmed configuration does not mean the full model will yield a comparable convergence curve under the same hyperparameters. The common industry practice is to run a short-range controlled training on a reference platform with the same data and hyperparameters, progressively comparing the loss and gradient norms at each stage. Once a difference exceeds a reasonable range, investigate directions such as data ordering, random seeds, and optimizer implementation.
5.3 Numerics and Optimizer: “Hidden Risks” in Long-Duration Stable Training
Trillion-parameter training runs long, and common risks include:
- Optimizer state precision: One approach is to keep higher precision for optimizer states (such as first/second-order momentum) to reduce accumulated error over long periods.
- Loss spikes: In multimodal training, a batch of abnormal data or a sudden shift in routing state can trigger gradient explosion; this needs to be handled with gradient clipping, rolling back from a healthy checkpoint, and skipping abnormal data.
- Silent errors: The computation result of an individual card silently goes wrong without reporting an error or crashing. This can contaminate gradients and skew overall convergence, and usually requires periodic redundant verification to detect.
5.4 Observability: No Monitoring, No Long-Duration Stability
Long-cycle training is inseparable from thorough monitoring and alerting, including:
- Device temperature, power draw, and memory usage;
- Whether per-node throughput is consistent, used to identify slow nodes;
- Communication time and gradient norm trends;
- Whether the data-loading pipeline becomes a bottleneck.
These signals typically need to be collected into a unified logging service and monitoring/alerting system so that problems can be detected promptly.
6. Phased Validation Path: From Single Card to Cluster
| Stage | Recommended configuration | Key validation | Pass criteria |
|---|---|---|---|
| ① Operator level | Single card, single module | Forward and backward numeric comparison, gradient checks | Error within tolerance, gradients finite |
| ② Single-card pipeline | Single card, small model | Full forward/backward, memory peak, optimizer update | Loss drops stably, no overflow |
| ③ Multi-card pipeline | 2–8 cards | Reassembled shard gradient consistency, communication correctness, loss curve | Matches single-card baseline, no interruption |
| ④ Multi-node expansion | 16 cards and above | Scaling efficiency, communication share, slow-node identification | Scaling efficiency drop controlled as scale grows |
| ⑤ Long-duration drill | As close to target scale as possible | Fault injection, checkpoint resume, monitoring and alerting | Faults recover automatically, loss curve continuous |
| ⑥ Short-range controlled training | Full or near-full model | Per-step comparison of loss and gradient norms against a reference platform | Curve trends match, differences within reasonable range |
It is worth stressing that the “multi-card gradient consistency” in Stage ③ is the most easily overlooked. Memory not overflowing and loss decreasing does not equal correct gradients. For example, if gradients are averaged only locally without cross-machine reduction, the loss will still decrease, but the effective global batch becomes smaller and the optimization trajectory has already deviated from expectations.
The following is illustrative code for a multi-card gradient consistency check. It compares the single-card baseline gradient with the sharded training gradient on the same set of inputs:
# Illustration code: consistency check between sharded training gradient and single-card baselineref_model = load_module("cuda:0")ref_loss = ref_model(batch).lossref_loss.backward()ref_grad = flatten_grad(ref_model) # single-card baseline gradientshard_model = wrap_fsdp(model, group=world) # shard parameters and gradients per the sharding strategyfor micro in micro_batches(batch, world.size):(shard_model(micro).loss / world.size).backward()# after cross-card reduction, compare relative error element-wiseassert relative_error(gather(shard_grad), ref_grad) < 1e-3
If small synthetic data is used to make every card see exactly the same input, then in theory the “sharded training gradient” should equal the “single-card gradient × number of cards,” i.e., gradient reduction is equivalent to summing gradients. When comparing:
- If the difference is significant: first investigate the reduction operation (sum/mean), the backward scaling factor, and the shard reassembly logic;
- If only a few parameters differ significantly: first suspect the operator implementation of the corresponding module.
7. Conclusion
The 400-step continuous run and gradient check results provide a referenceable engineering milestone for the reproducibility of domestic GPUs on the training side. More commendable is that the vendor did not package a trimmed-configuration pipeline validation as a full-model training achievement; this clear delineation of boundaries is more valuable than any single metric.
From an engineering perspective, judging whether domestic compute can take on large-model training requires looking at at least four things:
- Whether the pipeline runs stably: operators, sharding, communication, and numerical stability all hold simultaneously;
- Whether the metrics evolve reasonably: loss, gradient norms, and memory peak behave as expected;
- Whether it scales effectively: communication overhead and fault recovery stay controllable;
- Whether the curve aligns with a reference platform: the convergence trajectory matches.
This validation answers the first two questions; the latter two still need to be tested in larger-scale, longer-duration training. For teams planning to adopt domestic compute for training, the pragmatic approach is to validate level by level along “operator → single card → multi-card → multi-node → long-duration,” replacing intuitive judgments about “whether it can run” with observable data.
