# A 2.8T-Parameter Multimodal MoE Training Pipeline on a Domestic GPU: Breaking Down a 400-Step Validation Run

    A recent lab demonstration from a Chinese GPU vendor put a 2.8-trillion-parameter, natively multimodal MoE model through a 400-step training run on two nodes with 16 cards, with no numerical overflow and no abnormal interruptions. This article breaks down why that result matters more for its granularity than for its parameter count: the disclosed cut-down configuration, the loss and peak-memory numbers, the engineering layers behind MoE routing, dynamic sparse attention, and cross-modal backpropagation, and the clear boundary between pipeline validation and full-scale pretraining. It closes with a reusable checklist for anyone validating an accelerator's training stack.

    1. Background: Trillion-Scale Multimodal MoE as a Test Bed for Domestic Compute

    A lab at one Chinese GPU vendor has announced that it completed training-pipeline adaptation for a 2.8-trillion-parameter MoE model that is natively multimodal. On a two-node, 16-card configuration, the pipeline ran 400 consecutive training steps with no numerical overflow and no abnormal interruption.

    The interesting part is not the parameter count itself but the granularity of what was disclosed. The vendor published the starting and ending values of training and validation loss, peak memory usage, and gradient check results. That is a much stronger signal than a blanket claim of “adapted” or “precision aligned”: process data of this kind reflects how deep the adaptation actually goes, and it lets peers reproduce and cross-check the work.

    Against the wider industry backdrop, the adaptation of domestic AI chips to mainstream large models and frameworks is shifting from isolated experiments to a routine process:

    • One domestic GPU vendor has stated publicly that several large-model companies have used its thousand-card clusters for multimodal pretraining and reinforcement learning, with precision aligned to international mainstream products.
    • Another domestic AI chip vendor told an earnings call that it is adapting multiple mainstream model families on the training side, extending toward thousand-card and ten-thousand-card clusters.
    • A third vendor says its deep computing unit (DCU)-class accelerators have been adapted to more than 400 mainstream large models, covering 99% of non-closed-source models.
    • One vendor disclosed that an all-domestic cluster trained a major release of its own flagship model, at an effective training rate of roughly 97%.

    TrendForce forecasts about 5 million high-end AI chips shipped into the Chinese market in 2026, up 83% year over year, with local solutions close to 90% share (including in-house ASICs from cloud vendors). Once supply scales up, the ability to sustain large-scale, long-duration training matters more than single-card peak numbers on a spec sheet.

    2. Why This Is Hard: MoE, Dynamic Sparse Attention, and Native Multimodality at Once

    The model in question is described as an MoE architecture that is natively multimodal. In other words, multimodal fusion is not an adapter bolted on afterwards; it is built into a unified sparse backbone from the start. Three layers of difficulty stack on top of each other.

    Expert routing creates communication and load-balancing problems. MoE replaces the feed-forward sublayer with multiple “experts,” and a gating network selects only a few experts per token (Top-k). The benefit is a large increase in parameter count with roughly unchanged per-token compute. The cost comes in three parts:

    • Experts are typically spread across different accelerators, which requires frequent All-to-All exchanges.
    • Gating is inherently unbalanced, so popular experts saturate while unpopular ones sit idle.
    • Some sequence-shaped operators are sensitive to load balance and tend to exhibit a “weakest link” effect.

    The implementation also has to add gating, expert forward and backward passes, and training techniques such as capacity factors, token dropping, and auxiliary load-balancing loss. Missing any one of these typically does not raise an error; it shows up as abnormal loss behavior or gradients that fail to converge.

    Dynamic sparse attention raises the bar for operators and memory management. Because the token count per request and the attention connection pattern are both variable, a general dense matrix multiply cannot cover the workload. Dedicated fused operators are needed to handle variable lengths, masking, and sparse patterns. Fluctuating sequence lengths also make memory usage swing from batch to batch, accumulate fragmentation, and force operators to switch between a fast path and a generic fallback.

    Native multimodal fusion amplifies the variance. Images are turned into visual tokens by a vision encoder, then projected into the language backbone by a cross-modal projection module, where they share the same sequence with text tokens for both attention and routing. That creates three problems:

    • Image-text samples vary widely in length, so padding ratios inside a batch are high.
    • The vision branch is compute-intensive while the MoE portion of the language backbone is communication-intensive, leaving the two load profiles mismatched.
    • On a single card, “waiting for data” and “idle spinning during communication” are hard to eliminate completely.

    Stacked together, these mean a vendor cannot simply get a general-purpose framework to “run.” It has to complete model definitions, custom operators, parallel partitioning, and communication scheduling at the same time. That combination is where the real engineering effort of domestic GPU adaptation lies.

    3. The Cut-Down Configuration: Coverage Over Scale

    The vendor was explicit that this test used a cut-down configuration:

    • The language backbone was truncated to 13 layers, with 16 routed experts and Top-8 activation.
    • The full 27-layer vision tower and the cross-modal projection module were retained.
    • The public MedPix-VQA medical image-text question answering dataset was used, with randomly initialized parameters.

    Reading the design intent item by item:

    1. Keep the shape, cut the volume. What was reduced was depth, width, and expert count; no structural module was removed. Sparse routing, hybrid attention, vision encoding, and cross-modal projection are all on the real compute path, so operator coverage is complete. What is being validated is that the math is right, not that it is fast.
    2. Keep the vision tower whole to validate the joint backward pass. The vendor specifically highlighted that the vision branch participates in parameter updates. Many multimodal adaptation efforts freeze the vision tower to simplify the problem, which sidesteps exactly the cross-modal backward propagation that fails most easily. Gradients reaching the vision tower mean the whole computation graph is closed and that vision-side operators, mixed precision, and gradient accumulation all work.
    3. Random initialization with a small dataset removes weight-loading variables. Using a small public image-text QA dataset with random initialization rules out weight loading and weight conversion, so the loss curve can be attributed cleanly to the training pipeline itself.
    4. Two nodes and 16 cards cover cross-node communication. The scale stops at two nodes, but it is already outside a single machine and into cross-node collective communication. Patterns like All-Reduce and All-to-All only surface NIC, communication-library, and topology problems in a multi-node setting.
    Configuration item What it verifies Risk not covered
    13-layer language backbone, 16 experts (Top-8) Sparse routing forward/backward, gating gradients Memory fragmentation and insufficient compute-communication overlap at greater depth
    Full 27-layer vision tower + cross-modal projection Joint backward pass vision → projection → language Intra-batch load skew from multimodal variable lengths
    Random initialization + small public dataset Removes weight-conversion noise; loss curve is attributable Large-scale data pipeline throughput, data quality, data mixture
    Two nodes, 16 cards Correctness of cross-node collectives Communication congestion and fault recovery above a hundred cards

    4. Reading the Loss Curve and Peak Memory Correctly

    The key figures disclosed this time:

    • Training loss fell from a mean of 8.9365 over steps 21–70 to a mean of 2.1802 over the final 50 steps.
    • Validation loss fell from 6.5297 to 4.6873.
    • Peak memory was 44.80 GiB.
    • The vision branch participated in parameter updates.

    Four details matter when reading these curves, and the endpoint is not the only one.

    Whether the starting point makes sense. With random initialization the model has almost no preference among candidate answers, so the initial loss should be close to the natural log of the vocabulary size. At roughly 150,000 tokens, ln(150000) ≈ 11.9. A starting loss that is noticeably lower should raise suspicion of validation-set leakage or misaligned labels. Using the steps 21–70 mean as the baseline also avoids the sharp swings of the first few dozen steps, when the learning rate is warming up.

    The endpoint is an interval mean. A mean over the last 50 steps is more robust than “the final step.” Training loss dropped by about 6.72 and validation loss by about 1.84. With random initialization, only a few hundred steps, and a small dataset, training loss sitting below validation loss is within normal fluctuation and says nothing about generalization. What deserves attention is whether the curve is monotonic, whether there are step-like jumps, and whether there are long plateaus.

    Loss is necessary but not sufficient evidence. A falling loss only shows that the forward pass, backward pass, optimizer update, and data labeling are broadly correct. Confirming gradient health needs three more signals:

    • Gradient norms should stay in a reasonable band, neither pinned against the clipping threshold nor spiking frequently.
    • The auxiliary load-balancing loss should be stable, so that balancing does not sacrifice convergence of the main task.
    • The distribution of tokens received per expert should not become overly concentrated.

    This run’s “gradient check” most likely included a scan of gradients for inf/NaN.

    Peak memory has to be read alongside the parallelization strategy. The vendor used FSDP (Fully Sharded Data Parallel), where parameters, gradients, and optimizer states are sharded across cards. On two nodes and 16 cards, each card only holds roughly 1/16 of the model state, so the 44.80 GiB peak comes mainly from intermediate activations and communication buffers.

    • The vendor said cross-node communication is handled by MCCL (Moore Threads Collective Communication Library), its own collective communication library for its hardware, with a role similar to NCCL in the wider industry.
    • A 2.8-trillion-parameter model stored as BF16 parameters plus FP32 master weights and FP32 first- and second-order moments would need roughly 35 TB for model state alone. Two nodes and 16 cards come nowhere near that, which is precisely why the configuration had to be cut down.

    If you run a similar validation yourself, it is worth pinning these metrics in your logs:

    1. # Illustrative pseudocode: custom checks and logging, to be implemented against your framework's APIs
    2. metrics = {
    3. "train_loss": train_losses[-50:].mean(), # mean of the last 50 steps, to avoid single-step noise
    4. "val_loss": validate(), # fixed validation set, evaluated every N steps
    5. "grad_norm": clip_grad_norm_(model.parameters(), 1.0),
    6. "grad_finite": all(torch.isfinite(g).all() for g in grads if g is not None),
    7. "aux_loss": router_aux_loss, # load-balancing auxiliary loss
    8. "expert_load": tokens_per_expert, # token count per expert, to spot skewed routing
    9. "mem_peak_gib": torch.cuda.max_memory_allocated() / 2**30,
    10. "tokens_per_sec": global_tokens / elapsed, # throughput, for comparison and scale extrapolation
    11. }
    12. if not metrics["grad_finite"]:
    13. raise RuntimeError("inf/NaN detected in gradients; locate the first offending operator")

    5. Engineering: Three Layers That Had to Work Together

    The emphasis here is not single-card peak performance but making the distributed training pipeline work end to end. It breaks into three layers.

    1. Operator layer: forward and backward completed as pairs. The vendor filled in forward and backward implementations for the hybrid attention and MoE operators. The classic trap with custom operators is “forward correct, backward wrong” — a missing softmax normalization term, inconsistent masking, or an All-to-All whose gradient has no corresponding reverse All-to-All. None of these raise errors; they just make convergence slow or divergent.
    2. Parallel layer: fully sharded data parallelism to cut per-card pressure. FSDP’s native sharding (similar to what the industry often calls FSDP2) partitions at parameter granularity: the forward pass All-Gathers parameter shards on demand, and the backward pass Reduce-Scatters gradient shards. Each card updates only the shard it owns, then shards are re-aggregated layer by layer, so per-card memory falls roughly linearly with card count.
      • The difficulty is how communication is scheduled and overlapped when sharding is combined with expert parallelism, pipeline parallelism, and sequence/context parallelism.
      • On a trillion-parameter model no single parallelism strategy is enough; several must be combined, and their conflicting constraints on batch size and sequence partitioning must be reconciled.
    3. Communication layer: stable and reliable cross-node collectives. MCCL handles cross-node traffic and has to work with high-speed intra-node interconnect and host networking, including ring versus tree algorithm selection, flow control, and timeout and retry handling. If the communication library does not match the framework’s tensor layout or parallel group partitioning, the typical symptom is “runs on one machine, hangs on multiple.”

    The whole pipeline abstracts to:

    1. [data loading] → [vision encoding] → [cross-modal projection] → [language backbone: attention / routing / experts] → [loss + auxiliary loss]
    2. ↑ ↓
    3. [checkpoint save/restore] ← [optimizer (FSDP shards)] ← [gradients: Reduce-Scatter / All-Reduce]

    From data loading through model compute, gradient backpropagation, optimizer updates, and checkpoint save and restore, a break at any point fails the validation. In essence, pipeline validation is an end-to-end integration test of the entire software stack.

    6. Scope: Pipeline Validation Is Not Full-Scale Pretraining

    The vendor stressed that this run only checks training functionality and loss trends; full-scale pretraining is a separate effort. The two differ in three ways:

    • Objective. Pipeline validation answers “does it run, are the numbers right, does the trend look normal.” Full-scale pretraining answers “can we train a model with the expected capabilities within the target data volume and compute budget.”
    • Cost and duration. Pipeline validation is measured in hours. Full pretraining of a trillion-scale model typically takes weeks to months, spanning multiple clusters and several rounds of continued training.
    • Constraints. Full-scale training must fit model and optimizer states of tens to hundreds of terabytes into limited memory and communication bandwidth, while handling data throughput on the order of trillions of tokens.

    Moving from a cut-down configuration to full scale therefore means clearing at least three more hurdles:

    1. Parallelism composition and scaling.
      • How expert, tensor, pipeline, sequence, and fully sharded data parallelism combine;
      • How routing communication avoids congestion as scale grows;
      • Whether overall throughput efficiency holds above a thousand cards.
    2. Long-run stability and fault tolerance.
      • Thousands of cards running for weeks will almost certainly hit hardware failures;
      • Frequent checkpointing, automatic fault detection, node isolation, and elastic recovery are needed to keep the effective training rate high.
    3. Precision alignment and capability evaluation.
      • Comparing outputs and gradients layer by layer against a reference implementation of the same architecture or against international mainstream hardware;
      • Evaluating intermediate checkpoints on standard benchmarks;
      • Turning “the loss went down” into “capability targets were met.”

    The common pattern for this kind of work on a cloud platform is to spin up an elastic training cluster in containers, keep datasets and checkpoints in object storage, track training metrics continuously through logging and alerting services, and manage a unified image so driver and software stack versions stay reproducible. Baidu AI Cloud, for example, is positioned to carry workloads spanning training, inference, and agent applications; validations like this one typically run on AI compute clusters, with object storage, logging, and monitoring providing observability and traceability.

    7. Takeaways: A Reusable Methodology for Adaptation Validation

    Taken together, this disclosure is a useful reference case for domestic GPU adaptation:

    • Concrete, reproducible engineering milestones instead of vague conclusions. 400 consecutive steps plus gradient check results give the community a reference baseline for reproducibility on the training side.
    • A validation pattern of “shape-preserving cuts + random initialization + a small public dataset.” It can be reproduced at low cost and makes cross-hardware, cross-software-stack comparison straightforward.
    • Failure signals disclosed alongside success. By making “no numerical overflow and no abnormal interruption” one of the headline conclusions, the vendor addressed the most expensive cost in large-scale training: rolling back a failed run.

    For teams and companies, this distills into an adaptation validation checklist:

    1. Set clear goals. Complete the functional, numerical, performance, and scale layers in order; do not skip levels.
    2. Preserve the shape. Keep every structural module and reduce only depth, width, and expert count.
    3. Control variables. Random initialization, a small public dataset, and fixed random seeds, so the curve is both attributable and reproducible.
    4. Cover communication. Include at least one cross-node configuration exercising patterns such as All-Reduce and All-to-All.
    5. Leave memory headroom. Record the peak, reserve room for scaling, and watch for fragmentation.
    6. Watch numerical stability. Monitor mixed precision, gradient clipping, auxiliary loss, and expert load together.
    7. Rehearse fault tolerance. Intermediate checkpoints should save and restore cleanly, with loss continuous after recovery.
    8. Pin the environment. Put driver, runtime, operator, and communication library versions under version control so results reproduce across machines.

    Closing Thoughts

    400 consecutive steps with no overflow and no interruption, a smoothly converging loss, and a vision branch that took part in the updates: together these show that a domestic GPU has got the training pipeline working on an architecture as complex as a trillion-scale multimodal MoE. It also signals that the competition in domestic AI compute is moving from “can it run” to “can it finish training efficiently, stably, and at scale.” As the vendor itself noted, this remains pipeline validation under a cut-down configuration. Scaling the cluster, sustaining long training runs, and aligning precision with international mainstream hardware are the thresholds still to be cleared, one at a time.