Reproducing a Trillion-Parameter MoE Training Pipeline on a Chinese-Made GPU: A Practical Guide

    This article reviews the publicly disclosed validation of a two-node, 16-card training pipeline for a 2.8-trillion-parameter-class MoE native multimodal model on a Chinese-made GPU, which ran 400 consecutive steps without numerical overflow or interruption. It explains what this proves and what it does not. It then covers why such models are hard to train, how cropped configurations are designed, how to read the loss curves, and how to monitor gradients. It also provides a minimal executable checklist, a reproducibility checklist, a scalability checklist for moving toward full-scale pretraining, and an FAQ on diagnosing common failures. Readers will learn which log fields to record, which anomalies to watch for, and which engineering steps must be preserved when reproducing a trillion-parameter MoE training pipeline.

    This article is based on public disclosures, and the metrics follow the official figures. Public materials indicate that a lab at a Chinese GPU vendor verified a two-node, 16-card training pipeline for a 2.8-trillion-parameter-class MoE native multimodal model. The run lasted 400 consecutive steps without numerical overflow or interruption.

    Note that this was a training pipeline adaptation and correctness verification, not a full-scale pretraining run. The vendor, report name, release date and links should be confirmed against the official disclosures.

    1. The takeaway: what did this verification prove?

    The key result is not peak single-card compute. It is whether a Chinese-made GPU can run a state-of-the-art distributed training pipeline. That means running MoE routing, native multimodal fusion, dynamic sparse attention, parameter sharding, cross-node communication and loss convergence together in a single training loop without breaking.

    Item Publicly disclosed How to read it
    Full model scale A 2.8-trillion-parameter-class MoE native multimodal model The target model follows the frontier trillion-parameter route, but this does not mean the full model was instantiated and trained on the two nodes
    Actual trained parameter count after cropping No exact figure disclosed Do not estimate memory, communication or compute needs from the 2.8 trillion figure
    Language backbone 13 layers retained The key language-side structure is preserved to verify the language path
    Expert configuration 16 routed experts, Top-8 activation The focus is MoE routing, expert load balancing and gradient backpropagation
    Vision tower All 27 layers retained The vision branch takes part in training, not just the language side
    Data and initialization A visual question answering (VQA) image-text dataset; random initialization Starting from random weights makes it possible to see whether the loss genuinely drops
    Training scale Two nodes, 16 cards The focus is pipeline correctness, not large-scale scaling efficiency

    The question this article answers is not whether Chinese-made GPUs have caught up. It is whether they can provide a trillion-parameter multimodal training pipeline that is reproducible, debuggable and ready for further iteration.

    2. Why is it hard to train? Three bottlenecks

    1. MoE sparsity does not make the model simple

    A Mixture of Experts (MoE) architecture replaces the dense feed-forward layers with multiple expert subnetworks. A router selects a subset of experts for each token, such as 8 out of 16. The parameter count can be very large, but each forward pass activates only part of the experts.

    The problem is that all expert parameters, gradients and optimizer states still need to be organized, sharded and scheduled. Routing can also cause uneven loads, so auxiliary losses are needed to constrain how often each expert is used. Routing decisions are discrete, so gradients can only flow back along the selected paths. Small implementation mistakes can then lead to misaligned gradients, expert starvation or oscillating loss.

    2. Dynamic sparse attention makes memory harder to predict

    A native multimodal model processes language and visual inputs together. Dynamic sparse attention retains computation adaptively based on the content. This lowers theoretical complexity but produces irregular memory access patterns.

    Combined with the vision tower, the cross-modal projection modules and the multimodal fusion layers, peak memory can no longer be estimated with a simple fixed formula. When adapting to Chinese-made GPUs, stable memory management matters more than the theoretical speed of any single operator.

    3. Multi-card communication is the real systemic barrier

    A trillion-parameter model is hard to fit on a single card. Training usually requires a combination of tensor parallelism (TP), pipeline parallelism (PP), data parallelism (DP) and expert parallelism (EP).

    MoE expert parallelism in particular relies on frequent All-to-All communication to dispatch tokens between cards and gather the results. The communication libraries, interconnect bandwidth, correctness of collective operations and scheduling efficiency all affect training stability.

    The real adaptation challenge is therefore not getting one operator to run. It is closing the loop across operators, sharding, communication, monitoring and the training framework.

    3. Designing an effective cropped configuration

    This verification used a cropped configuration, a pragmatic engineering approach. Its goal was not to measure final model quality but to expose pipeline problems as quickly as possible.

    Setting Publicly disclosed Engineering rationale
    Full model parameters 2.8 trillion parameters (class) Target model scale
    Actual trained parameters after cropping No exact figure disclosed The full parameter count cannot explain 16-card memory usage or throughput
    Language layers 13 Preserves key structures of the language backbone
    Expert count 16 Verifies MoE routing and load balancing
    Top-K Top-8 Verifies the sparse activation logic
    Vision tower layers All 27 retained Verifies that the vision branch is actually updated
    Dataset A VQA image-text dataset Provides multimodal image-text samples
    Initialization Random Makes genuine learning signals in early training easier to observe
    Cards Two nodes, 16 cards Verifies the cross-node pipeline and sharding capability

    A caveat: a cropped configuration only proves that the pipeline works. You cannot use it to infer the efficiency, stability or final model quality of full-scale training. In other words, it shows that the road is drivable, not that a highway has been built.

    4. Reading the loss curves: do not just write “monotonically decreasing”

    According to the public disclosure:

    • The mean training loss over steps 21–70 was 8.9365, and the mean over the last 50 steps was 2.1802.
    • Validation loss dropped from 6.5297 to 4.6873.

    A more accurate description is that both losses trended downward overall. You should not use the averages alone to claim that the loss decreased monotonically at every step.

    Recommended reporting conventions:

    • Training loss: record it at each training step. The figures cited here are averages over steps 21–70 and over the final 50 steps.
    • Validation loss: evaluate on a fixed validation set. The exact frequency should follow the logs.
    • Smoothing: if the raw logs are noisy, use a moving average or percentiles to read the trend.
    • Peak memory: the publicly disclosed figure is about 44.8 GiB, but it is unclear whether this is a per-card peak or a cluster-wide total. When reproducing, record the per-card peak and the total cluster usage separately.
    Field Healthy behavior Troubleshooting direction
    step Increases continuously Skipped or repeated values may indicate logging or scheduling problems
    train_loss Trends down overall and may be noisy early on If it stops dropping, check the data, learning rate, routing and gradients
    val_loss Follows the same trend as train_loss Abnormal validation results call for checking data splits and evaluation frequency
    grad_norm Stable, or clipped near the threshold Spikes, NaN or Inf require checking operators, mixed precision and communication
    peak_mem Stable or controllable Sudden spikes may come from sequence length, the vision branch or broken sharding
    aux_loss Bounded and drives load balancing Values that are too high or too low hurt expert utilization and the main loss

    5. Gradient checks and a minimal executable checklist

    The pseudocode below is illustrative. It shows the key actions in the training loop; the actual APIs depend on your framework.

    1. # Illustrative pseudocode: distributed training + sharding + loss/gradient monitoring
    2. # Goal: not to show a specific framework's API, but to list the engineering actions
    3. # that must be preserved when reproducing the pipeline
    4. # 1. Initialize the distributed environment
    5. init_distributed(
    6. world_size=16,
    7. local_rank=local_rank,
    8. master_addr=MASTER_ADDR,
    9. master_port=MASTER_PORT,
    10. backend="eccl_or_nccl_compatible" # fill in according to the GPU vendor's communication library
    11. )
    12. # 2. Build the cropped MoE multimodal model
    13. model = build_moe_multimodal_model(
    14. lang_layers=13,
    15. visual_tower_layers=27,
    16. expert_count=16,
    17. router_topk=8,
    18. random_init=True
    19. )
    20. # 3. Fully shard parameters, gradients and optimizer states across cards
    21. model = fully_shard(model)
    22. optimizer = build_sharded_optimizer(model, shard=True)
    23. for step in range(max_steps):
    24. batch = dataloader.next() # image-text VQA samples
    25. loss, aux_loss = model(batch)
    26. total_loss = loss + balance_coeff * aux_loss
    27. total_loss.backward()
    28. # 4. Measure the gradient norm and clip
    29. grad_norm = clip_and_measure_grad_norm(model, max_norm=1.0)
    30. optimizer.step()
    31. optimizer.zero_grad()
    32. # 5. Log training and validation metrics
    33. if step % log_interval == 0:
    34. log_metrics(
    35. step=step,
    36. train_loss=loss.item(),
    37. val_loss=evaluate_if_needed(step),
    38. grad_norm=grad_norm,
    39. peak_mem=current_peak_memory(),
    40. aux_loss=aux_loss.item()
    41. )
    42. # 6. Abort immediately on numerical anomalies to make them easier to locate
    43. if not is_finite(grad_norm) or not is_finite(loss.item()):
    44. save_checkpoint_on_failure(step)
    45. raise NumericalError(f"Numerical anomaly at step {step}")

    Minimum executable checklist:

    Item What to record or confirm
    Framework dependencies PyTorch or a vendor-adapted framework, with its name and version
    Distributed initialization world_size=16, local_rank, master_addr, master_port and the communication backend
    Sharding strategy Whether parameters, gradients and optimizer states are sharded across cards, and whether communication overlap is enabled
    Parallelism configuration Whether TP, PP, DP and EP are used; the exact partitioning follows the official disclosure
    Monitoring fields loss, grad_norm, peak_mem, val_loss and aux_loss
    Anomaly thresholds Record the gradient clipping threshold (for example, max_norm=1.0). Abort on any NaN or Inf in loss or grad_norm.
    Abort actions Save a checkpoint of the failing step, output logs and terminate the process so errors do not propagate
    Log retention Save logs per rank and aggregate loss, grad_norm, memory usage and communication errors from all ranks

    6. Reproducibility: from disclosure to a reproduction checklist

    For third parties to have a chance of reproducing the run, public information should at least include the following:

    Reproduction element Details
    Configuration files Language layers, vision tower layers, expert count, Top-K, router structure, learning rate and optimizer
    Dataset version VQA dataset name, version, splits and preprocessing
    Random seeds Seeds for data shuffling, model initialization, dropout and other random sources
    Framework versions Training framework, communication library, drivers and operator libraries
    Parallelism configuration The TP/PP/DP/EP combination and communication backend used on two nodes with 16 cards
    Log fields step, train_loss, val_loss, grad_norm, peak_mem and aux_loss
    Artifact storage Log paths, checkpoint naming, failure recovery points and monitoring dashboard configuration

    Without this information, outsiders can understand what happened but cannot rigorously reproduce how it happened.

    7. From cropped verification to full-scale pretraining: a scalability checklist

    Getting the pipeline running on two nodes with 16 cards is only the start. Moving to full trillion-parameter pretraining requires checking the following scalability questions:

    Check 16-card verification Full-scale training
    Share of communication overhead Observable and possibly low Rises sharply with card count and becomes a core bottleneck
    Parallelism strategy A simple combination is enough to verify correctness Requires finer TP, PP, DP and EP partitioning and overlap
    Failure rate Negligible during a short run Card drops, timeouts and broken links become more likely over long runs
    Checkpoint resume Optional, but recommended Must support checkpoint recovery and locating failing steps
    Long-run monitoring Focus on trends over the first few hundred steps Needs loss, memory, communication, temperature and power monitoring over weeks or months
    Numerical anomaly recovery Aborting is enough to locate the problem Needs automatic capture of the failure state, rollback strategies and an expert-level debugging process

    In short, cropped verification answers whether the pipeline is correct, while full-scale training answers whether it can stay stable over the long term.

    8. FAQ

    1. How do you judge whether a Chinese GPU training pipeline verification is successful?

    Look for four signals:

    1. Training runs for a number of consecutive steps without abnormal interruptions.
    2. The loss decreases overall, rather than being judged from single-point fluctuations.
    3. The vision branch participates in parameter updates, and the multimodal fusion path stays intact.
    4. Peak memory, gradient norms and communication logs can be recorded and reviewed.

    The 400 steps with no overflow and no interruption show that the training pipeline has basic stability.

    2. What is the difference between cropped verification and full-scale pretraining?

    Cropped verification focuses on small-scale, fast checks of operator correctness, the sharding strategy, the communication path and loss convergence.

    Full-scale pretraining must address scaling efficiency across thousands or tens of thousands of cards, long-term stability, failure recovery, data quality, hyperparameter tuning and final model quality. These are goals at different stages.

    3. How do you locate common failures?

    • Loss not decreasing: check whether the data is correct, the learning rate is too low, routing is broken, or gradients are being clipped incorrectly.
    • Gradient spikes or NaN: check mixed precision, numerical implementations of operators, the auxiliary loss for expert routing, and communication reductions.
    • Sudden memory spikes: check the vision tower input size, sequence length, broken sharding and accumulating caches.
    • Vision branch not updating: check whether the multimodal loss is backpropagated, whether the projection modules are frozen, and whether the data contains valid image features.
    • Communication timeouts: check All-to-All, the collective communication library, the network topology, rank mapping and timeout settings.

    9. Conclusion

    The value of this Chinese-made GPU trillion-parameter MoE native multimodal pipeline verification is that it provides a starting point for discussion. That discussion covers whether the forward and backward passes of the operators are aligned, whether parameter sharding works, whether cross-node communication is stable, whether the loss converges overall, whether gradients can be monitored and whether logs can be reproduced.

    The work makes no claim of parity with leading hardware. Nor does it equate cropped verification with full-scale pretraining. Instead, it shows the key path by which Chinese compute adaptation moves from slogans to engineering verification.

    For developers, what matters is not any single result. What matters is whether the reproduction checklist, monitoring fields, debugging methods and scalability checklist gradually become standardized. The maturity of Chinese compute is built from reproducible, debuggable and cumulative engineering milestones like these.