Validating Trillion-Parameter Multimodal MoE Training on a Domestic Chinese GPU: Distributed Engineering Practices

    A Chinese GPU vendor's lab reports completing training pipeline validation for a 2.8-trillion-parameter native multimodal model with a Mixture-of-Experts (MoE) architecture. This article explains what the trimmed configuration covered, what the reported loss and gradient results show, and which distributed engineering challenges remain before full-scale training.

    From “Can It Run” to “Runs Reliably”

    Recently, a Chinese GPU vendor’s lab announced that it had completed training pipeline adaptation for a native multimodal large model with 2.8 trillion parameters and a MoE architecture. Running on two machines with 16 accelerator cards in total, the team completed 400 consecutive training steps without numerical overflow or interruption. The lab also published its loss curves and gradient checks.

    This was not a full-scale pretraining run. It was a validation of the training pipeline under a trimmed configuration. Even so, the result matters for the industry. Previous adaptation work for domestic AI compute often stopped at inference or at smoke tests on small models. Public cases that disclose loss convergence and gradient health for trillion-parameter MoE multimodal models remain rare. This result gives domestic GPU training reproducibility a concrete engineering reference point.

    Other industry disclosures point the same way. Some vendors have completed multimodal pretraining and reinforcement learning on clusters of a thousand cards, with aligned accuracy. Others are extending their work to thousand-card and ten-thousand-card clusters. One vendor reported that a fully domestic cluster completed training of an important large model version with a high effective training rate. Another said its general-purpose accelerator cards have been adapted to hundreds of mainstream large models. Together, these signals suggest that domestic GPUs are moving from “usable” to “practical to use,” and from inference to training.

    Why Trillion-Parameter MoE Multimodal Models Are Hard

    To understand the difficulty of this validation, start with the architecture of the model.

    1. Communication pressure from the sparse MoE structure

    MoE models use many expert subnetworks and a router, so each forward pass activates only part of the parameters. This balances parameter count against compute. The cost is routing. Tokens must be dynamically dispatched to different experts, and the results must be gathered back. In multi-card parallel training, this often makes All-to-All collective communication the performance bottleneck. The communication volume depends heavily on how balanced the expert load is. When some experts are overloaded, the devices hosting them become the weak link and slow down the whole pipeline.

    2. Memory and kernel challenges from dynamic sparse attention

    Compared with standard attention, dynamic sparse attention has irregular access patterns and unstable compute density. This places higher demands on memory management. Engineers must implement its forward and backward operators efficiently. They also need to control peak memory on long sequences and multimodal inputs, and avoid fragmentation that leads to out-of-memory (OOM) errors.

    3. Heterogeneous branches from multimodal inputs

    The model keeps a complete 27-layer vision tower and a cross-modal projection module. The vision branch and the language backbone differ significantly in parameter scale, activation distribution, and gradient magnitude. When both update parameters together, they need careful initialization, loss weighting, and gradient clipping. Without these, training can become unstable early on.

    Breaking Down the Validation Setup: How the Trimmed Configuration Keeps the Key Paths

    The team did not simply shrink the model. It applied a targeted slimming strategy:

    • Language backbone: 13 layers, 16 routed experts, and top-8 activation. This keeps the core MoE routing and sparse activation path.
    • Vision branch: The full 27-layer vision tower and cross-modal projection module are kept, so the multimodal data path is fully exercised.
    • Data and training: The model was randomly initialized and trained on public image-text question-answering datasets. The vision branch actively updated its parameters.

    The trimming reduced depth and parameter count. It did not remove any functional part of the training pipeline. MoE routing, cross-modal projection, sparse attention, optimizer updates, and cross-node communication are all fully covered. These paths are prone to problems, so covering them matters.

    According to the disclosed data, training loss fell from an average of 8.9365 over steps 21 to 70 to an average of 2.1802 over the last 50 steps. Validation loss dropped from 6.5297 to 4.6873. Peak memory was about 44.8 GiB. The loss curve decreased monotonically with no numerical anomalies. For a randomly initialized, jointly trained cross-modal model, this convergence shape suggests that gradient backpropagation is correct, numerical precision is stable, and the learning rate and initialization are reasonable.

    Key Engineering Steps in Distributed Implementation

    This adaptation focused less on peak single-card compute and more on making the full distributed training pipeline work end to end. The work breaks down into three layers.

    1. Operator layer: forward and gradient implementations of key operators

    Hybrid attention and MoE-related operators account for most of the adaptation work. MoE involves more than routing. It also includes Top-K selection, expert capacity limits, and auxiliary load-balancing losses. Its backward pass is far more complex than that of dense layers. A numerical flaw in any operator’s gradient would appear as an inflection point or oscillation in the loss curve. Gradient checks passed and the loss decreased smoothly in this validation, which indicates that the operator implementations held up in practice.

    2. Parallelism layer: fully sharded data parallelism for memory

    The training setup shards parameters, gradients, and optimizer states. This approach resembles the Fully Sharded Data Parallel (FSDP) approach common in the industry. For trillion-parameter models under mixed-precision training, optimizer states are typically several times the size of the parameters. Full sharding is the main way to keep peak memory within a manageable range. Sharding adds communication overhead, so it must be designed together with communication optimization.

    3. Communication layer: a custom collective communication library for cross-node coordination

    The vendor’s in-house collective communication library handles cross-node communication, including key operations such as All-to-All and All-Reduce. With two machines and 16 cards, the bandwidth efficiency of All-to-All and how well it overlaps with computation directly determine MoE training throughput. The 400 steps without interruption also indirectly confirm that the communication path was stable.

    A conceptual sketch of the sharding logic looks like this:

    1. # Conceptual sketch: parameter management under fully sharded data parallelism
    2. for param in model.parameters():
    3. shard(param) # shard parameters across devices
    4. register_grad_shard() # synchronize gradient shards
    5. manage_optimizer_state( # shard optimizer states
    6. optimizer, sharded=True
    7. )
    8. # In the forward pass, all-gather restores full parameters on demand.
    9. # They are released after the backward pass.

    The gap between a trimmed link validation and full trillion-parameter pretraining is still significant:

    1. Cluster scale-up: Moving from two machines with 16 cards to thousand-card or ten-thousand-card clusters requires redesigning the communication topology, fault recovery, checkpoint strategy, and debugging and observability systems. Each order-of-magnitude increase in scale amplifies the risk of long-running instability.
    2. Long-duration stability: Large model pretraining often runs for weeks or months. Hardware failures, slow nodes, communication jitter, and accumulated memory fragmentation only appear over long runs. A 400-step validation cannot cover these conditions.
    3. Data and training strategy: Full pretraining involves data engineering at the trillion-token scale, curriculum design, annealing strategies, and alignment stages. Its complexity far exceeds that of small-scale validation.
    4. Effective training rate: The